Business (Standard Rate)
Medical or Moving (Active Military)
Charitable Service
Current Rate applied: $0.67 per mile
Mileage Value:$0.00
Parking & Tolls:$0.00
Total Tax Deduction:$0.00
// Define 2025 Rates (Using latest 2024 baseline for logic, typically adjusted annually)
// Business: 67 cents
// Medical/Moving: 21 cents
// Charity: 14 cents
var rates = {
business: 0.67,
medical: 0.21,
charity: 0.14
};
function updateRateDisplay() {
var category = document.getElementById("mileageCategory").value;
var currentRate = rates[category];
document.getElementById("rateDisplay").innerText = "Current Rate applied: $" + currentRate.toFixed(2) + " per mile";
}
function calculateDeduction() {
// Get Inputs
var milesInput = document.getElementById("totalMiles").value;
var tollsInput = document.getElementById("parkingTolls").value;
var category = document.getElementById("mileageCategory").value;
// Validation
if (milesInput === "") {
alert("Please enter the total miles driven.");
return;
}
// Parse Values
var miles = parseFloat(milesInput);
var tolls = parseFloat(tollsInput);
if (isNaN(miles) || miles < 0) miles = 0;
if (isNaN(tolls) || tolls < 0) tolls = 0;
// Get Rate
var rate = rates[category];
// Calculation
var mileageValue = miles * rate;
var totalDeduction = mileageValue + tolls;
// Display Results
document.getElementById("mileageValueResult").innerText = "$" + mileageValue.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
document.getElementById("tollsResult").innerText = "$" + tolls.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
document.getElementById("totalDeductionResult").innerText = "$" + totalDeduction.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
document.getElementById("resultBox").style.display = "block";
}
Understanding the 2025 IRS Mileage Rates
Calculating your vehicle deductions accurately is essential for maximizing your tax return. The IRS Standard Mileage Rate provides a simplified method for taxpayers to deduct costs associated with operating an automobile for business, charitable, medical, or moving purposes.
What are the Mileage Rate Categories?
The IRS typically sets different rates for different types of travel. When using the US Mileage Rate 2025 Calculator, it is important to select the correct category:
Business: This is the most common deduction. It covers travel to client meetings, temporary work locations, and business errands. It does not cover your regular commute to your main office.
Medical & Moving: This rate applies to miles driven for medical care (e.g., to doctors or hospitals) and for moving purposes for active-duty members of the Armed Forces.
Charitable: This rate is set by statute and is used for miles driven in service of a charitable organization.
How the Deduction is Calculated
The formula for the standard mileage deduction is straightforward:
(Total Miles Driven × Standard Mileage Rate) + Parking Fees + Tolls = Total Deduction
For example, if you drove 1,000 miles for business purposes at a rate of 67 cents per mile, your base deduction would be $670. If you spent an additional $50 on parking, your total claimable amount would be $720.
Record Keeping Requirements
To successfully claim this deduction, 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
Total miles driven
Odometer readings (start and end)
While this calculator helps you estimate your deduction, always maintain a detailed logbook (digital or physical) to substantiate your claims in case of an audit.
Disclaimer: This calculator uses standard mileage rate projections. IRS rates are subject to change annually. Always verify the official IRS publication for the specific tax year before filing. This tool provides estimates for planning purposes only and does not constitute professional tax advice.