Business (67¢ / mile)
Medical or Moving (21¢ / mile)
Charitable Organizations (14¢ / mile)
Custom / Other Rate
Total Miles:0
Applied Rate:$0.67
Reimbursement Value:$0.00
function updateRateInput() {
var purpose = document.getElementById('mileagePurpose').value;
var rateInput = document.getElementById('ratePerMile');
// 2024 IRS Standard Mileage Rates
// Business: 67 cents
// Medical/Moving (Active Duty): 21 cents
// Charitable: 14 cents
if (purpose === 'business') {
rateInput.value = 0.67;
rateInput.readOnly = false; // Allow override if needed but suggest default
} else if (purpose === 'medical') {
rateInput.value = 0.21;
} else if (purpose === 'charity') {
rateInput.value = 0.14;
} else {
// Custom
rateInput.value = ";
rateInput.placeholder = 'Enter rate (e.g. 0.50)';
}
}
function calculateReimbursement() {
// Get Input Values
var milesStr = document.getElementById('totalMiles').value;
var rateStr = document.getElementById('ratePerMile').value;
// Parse Values
var miles = parseFloat(milesStr);
var rate = parseFloat(rateStr);
// Validation
if (isNaN(miles) || miles < 0) {
alert("Please enter a valid number of miles.");
return;
}
if (isNaN(rate) || rate < 0) {
alert("Please enter a valid mileage rate.");
return;
}
// Calculation
var totalValue = miles * rate;
// Display Results
document.getElementById('displayMiles').innerHTML = miles.toLocaleString() + " miles";
document.getElementById('displayRate').innerHTML = "$" + rate.toFixed(2) + " / mile";
document.getElementById('displayTotal').innerHTML = "$" + totalValue.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});
// Show result box
document.getElementById('results').style.display = 'block';
}
Guide to the 2024 IRS Mileage Rates
Effective January 1, 2024, the Internal Revenue Service (IRS) updated the optional standard mileage rates used to calculate the deductible costs of operating an automobile for business, charitable, medical, or moving purposes. This Mileage Rate Calculator 2024 is designed to help freelancers, employees, and volunteers estimate their potential tax deduction or reimbursement amount based on these new figures.
What are the Official 2024 Rates?
The IRS adjusted the rates to account for inflation and fuel costs. The standard mileage rates for 2024 are as follows:
Category
2024 Rate
Change from 2023
Business Use
67 cents per mile
Increase of 1.5 cents
Medical & Moving
21 cents per mile
Decrease of 1 cent
Charitable Organizations
14 cents per mile
Unchanged (Set by Statute)
How to Use This Calculator
Calculating your mileage deduction or reimbursement is straightforward:
Select the Purpose: Choose whether your trip was for business, medical/moving (specifically for active-duty military), or charity. The calculator will automatically fill in the standard IRS rate for 2024.
Verify the Rate: If your employer pays a different rate than the IRS standard, you can select "Custom" or manually edit the "Rate per Mile" field.
Enter Miles: Input the total distance driven for the specific category.
Calculate: Click the button to see the total monetary value associated with that mileage.
Business vs. Commuting Miles
It is crucial to distinguish between deductible business miles and non-deductible commuting miles. Commuting miles—driving from your home to your regular place of work—are generally not tax-deductible. However, driving from your office to a client site, or from your home office (if it qualifies as your principal place of business) to a client site, typically counts as business mileage.
Record Keeping Requirements
To claim a mileage deduction on your tax return, the IRS requires timely and accurate records. Your mileage log should include:
The date of the trip.
The starting point and destination.
The business purpose of the trip.
The total miles driven.
Total odometer readings at the start and end of the year.
Frequently Asked Questions
Can I use the standard mileage rate if I lease my car?
Yes, you can use the standard mileage rate for leased vehicles. However, if you choose the standard rate in the first year of the lease, you must use it for the entire lease period.
Do these rates apply to motorcycles?
Yes, the standard mileage rates apply to cars, vans, pickups, and panel trucks, as well as motorcycles.
Disclaimer: This calculator is for informational purposes only and does not constitute tax advice. Please consult with a qualified tax professional regarding your specific situation.