Business (67 cents per mile)
Medical or Moving (21 cents per mile)
Charitable Service (14 cents per mile)
Estimated Tax Deduction / Reimbursement
$0.00
Understanding the 2024 Standard Mileage Rates
The IRS has officially announced the optional standard mileage rates for 2024. These rates are used to calculate the deductible costs of operating an automobile for business, charitable, medical, or moving purposes. For 2024, the rates have seen a slight increase compared to the final half of 2023.
Category
2024 Rate (per mile)
Business Use
67.0 cents
Medical/Moving (Military)
21.0 cents
Charitable Organization
14.0 cents
How to Use the 2024 Mileage Calculator
To use this calculator, simply enter the total number of miles driven for a specific trip or period. Select the category that matches your trip's purpose. The calculator applies the specific 2024 IRS rate to provide your total estimated deduction or reimbursement value.
Example Calculation
If you drove 500 business miles in 2024, the calculation would be:
500 miles × $0.67 = $335.00
Important Record-Keeping Tips
To satisfy IRS requirements for mileage deductions, taxpayers should maintain a daily log. Your records should include:
The date of the trip.
The total distance (odometer readings are recommended).
The destination and business purpose.
Receipts for any additional costs like parking fees or tolls (which are often deductible separately from the mileage rate).
function calculateMileageReimbursement() {
var miles = document.getElementById("tripMiles").value;
var rate = document.getElementById("tripType").value;
var resultBox = document.getElementById("reimbursementResult");
var resultDisplay = document.getElementById("resultValue");
var detailDisplay = document.getElementById("resultDetails");
if (miles === "" || isNaN(miles) || parseFloat(miles) <= 0) {
alert("Please enter a valid number of miles.");
return;
}
var totalMiles = parseFloat(miles);
var currentRate = parseFloat(rate);
var totalReimbursement = totalMiles * currentRate;
// Format as currency
var formattedResult = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
}).format(totalReimbursement);
resultDisplay.innerHTML = formattedResult;
var categoryName = "";
if (currentRate == 0.67) categoryName = "Business";
else if (currentRate == 0.21) categoryName = "Medical/Moving";
else if (currentRate == 0.14) categoryName = "Charitable";
detailDisplay.innerHTML = "Based on " + totalMiles.toLocaleString() + " miles at the " + categoryName + " rate of $" + currentRate.toFixed(2) + "/mile.";
resultBox.style.display = "block";
// Scroll to result smoothly
resultBox.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}