IRS Mileage Deduction Calculator
Legal basis: IRC §162(a) (ordinary and necessary business expenses); IRC §170 (charitable miles); Rev. Proc. / IRS annual standard mileage notices; Publication 463 · checked 2026-10-04 · Rates and limits change — verify the current figures.
If you use your car for deductible purposes, the IRS lets you choose between two methods. The standard mileage rate multiplies your business miles by a cents-per-mile rate the IRS sets each year — sometimes adjusting it mid-year — while the actual expense method tracks every dollar spent on gas, insurance, repairs, lease payments, and depreciation and multiplies the total by your business-use percentage. For most people with mixed personal and business use, the standard rate is dramatically simpler, and for modest mileage it is often the better number too.
The rates differ by purpose, which is the part people most often get wrong. Business miles use the standard business rate. Miles driven for medical care or for a qualifying move (moving miles are deductible only for active-duty members of the Armed Forces under post-2017 law) use a lower, roughly medical-related rate. Charitable miles driven for a qualified organization use a rate set directly by statute in IRC §170 and changed only by Congress — it has sat at 14 cents for many years. Commuting from home to a regular workplace is never deductible under any rate.
The deduction follows the character of its purpose: business mileage lands on Schedule C (or the business return) where it reduces both income tax and self-employment tax, medical mileage is part of the itemized medical deduction subject to the AGI floor on Schedule A, and charitable mileage is an itemized charitable deduction. A contemporaneous mileage log — date, destination, purpose, and odometer or miles — is the documentation the IRS expects if your return is examined.
This calculator applies editable rates to your business, medical, and charitable miles so you can see each piece and the total. Because the rates are announced in IRS notices that change annually (and occasionally mid-year), enter the current figures from the IRS standard mileage rates page for the year you are computing. The result is an educational estimate — not tax advice — to confirm with Publication 463 or a CPA.
Calculate
How the math works
- Deduction = business miles × business rate + medical miles × medical rate + charitable miles × charitable rate.
- Each rate is set for a purpose: the business rate covers the full cost of operating the vehicle, the medical/moving rate covers fuel and variable costs, and the charitable rate is fixed by statute.
- The standard rate replaces actual expenses — you cannot deduct both the mileage rate and gas, repairs, or insurance for the same miles.
- Verify each rate in the IRS standard mileage rate notice for the year; rates change annually and occasionally mid-year.
Frequently asked questions
What is the current IRS mileage rate?
Is commuting mileage deductible?
Standard mileage or actual expenses — which is better?
Are moving miles deductible?
What records do I need?
Can I deduct miles for volunteering?
Do personal miles mixed into a trip count?
This calculator is an educational estimate, not tax advice. The standard mileage rates are announced annually by IRS notice and change frequently, and eligibility rules (moving, medical floor, charitable status) depend on your facts. Verify the current-year rates with IRS Publication 463 or a CPA.