Vehicle Mileage Deduction Calculator

Calculate tax deductions for business, medical, and charitable driving

Educational purposes only. This calculator is for informational purposes and should not be considered financial, tax, or legal advice. Consult a qualified professional for personalized guidance.

Try an example:

Annual Miles Driven

miles

@ $0.67/mile

miles

@ $0.21/mile

miles

@ $0.14/mile

Enter your annual miles to calculate deductions

How This Tool Works

Vehicle Mileage Deduction Calculator

Maximizing Tax Deductions for Business, Medical, and Charitable Driving

If you use your personal vehicle for business purposes, medical appointments, or volunteer work, you're entitled to tax deductions that can add up to thousands of dollars annually. Yet many eligible taxpayers leave money on the table by not tracking their mileage or understanding the rules that govern these deductions.

The IRS offers two methods for calculating vehicle deductions: the standard mileage rate (a flat per-mile amount) and actual expenses (tracking all vehicle costs). For most people, the standard mileage method is simpler and often more beneficial. But which method is best depends on your specific situation, vehicle, and usage patterns.

This calculator computes your potential deductions under the standard mileage method for business, medical, and charitable driving. It shows your total deduction and estimated tax savings, helping you understand the value of tracking every qualifying mile.

2024 IRS Standard Mileage Rates

The IRS sets standard mileage rates annually based on fixed and variable vehicle operating costs:

PurposeRate per MileWhat It Covers
Business$0.67Gas, depreciation, insurance, repairs, maintenance
Medical/Moving$0.21Variable costs only (gas, maintenance)
Charitable$0.14Gas and oil only (set by statute)

These rates are designed to approximate actual costs. The business rate is highest because it includes vehicle depreciation and fixed costs; the charitable rate is lowest because it's set by law rather than calculated from actual costs.

How to Use This Calculator

Step 1: Enter Business Miles

Input the total miles you drove for business purposes during the tax year. Include client visits, traveling between work locations, business errands, and trips to temporary work sites.

Step 2: Enter Medical/Moving Miles

Input miles driven for medical purposes: doctor appointments, hospital visits, picking up prescriptions, and traveling to medical treatments. Moving miles (for job relocation) are deductible only for active-duty military.

Step 3: Enter Charitable Miles

Input miles driven while serving a qualified charitable organization. This includes volunteer transportation, delivering meals for food banks, or driving to volunteer sites.

Step 4: Select Your Tax Bracket

Choose your marginal federal tax rate to estimate actual tax savings. Your marginal rate determines how much each dollar of deduction reduces your tax bill.

Step 5: Optional - Enter Actual Expenses

For comparison, you can expand the "Actual Expenses" section to enter your total vehicle costs (gas, maintenance, insurance, depreciation) and total miles driven. This shows whether the standard mileage method or actual expense method produces a larger deduction.

Understanding Your Results

Total Mileage Deduction

The sum of your deductions across all categories. This amount reduces your taxable income if you itemize deductions (for medical/charitable) or claim business expenses (for self-employed).

Tax Savings

Your estimated federal tax reduction, calculated as: Deduction Amount x Your Marginal Tax Rate. This represents actual money saved, not just paper deductions.

Deduction Breakdown

Shows each category separately with the calculation: miles driven times the applicable rate. This breakdown helps you identify which driving purpose contributes most to your deduction.

Method Comparison

If you entered actual expenses, this section shows whether the standard mileage rate or actual expense method produces a larger deduction. A green "Best" badge marks the superior option. The difference might be substantial for expensive vehicles with low mileage (favoring actual expenses) or inexpensive vehicles with high mileage (favoring standard rate).

Practical Examples

Example 1: Self-Employed Sales Representative

Miles driven:

  • Business: 15,000 miles
  • Medical: 200 miles
  • Charitable: 100 miles

At a 24% marginal tax rate:

  • Business deduction: 15,000 x $0.67 = $10,050
  • Medical deduction: 200 x $0.21 = $42
  • Charitable deduction: 100 x $0.14 = $14
  • Total deduction: $10,106
  • Tax savings: $2,425

For this high-mileage business driver, the mileage deduction provides substantial tax relief, equivalent to getting nearly $1,000 back for every 6,000 business miles driven.

Example 2: Rideshare Driver

A full-time rideshare driver logs 25,000 business miles annually with a 22% marginal rate:

  • Business deduction: 25,000 x $0.67 = $16,750
  • Tax savings: $3,685

This driver saves over $300 monthly in taxes, which effectively increases their hourly rate. Without proper mileage tracking, this significant deduction would be lost.

Example 3: Consultant with Mixed Driving

A consultant drives 8,000 business miles, makes several medical trips (500 miles), and volunteers regularly (300 miles):

  • Business deduction: 8,000 x $0.67 = $5,360
  • Medical deduction: 500 x $0.21 = $105 (subject to 7.5% AGI threshold)
  • Charitable deduction: 300 x $0.14 = $42
  • Total potential deduction: $5,507
  • At 32% tax rate, tax savings: $1,762

What Counts as Deductible Miles

Business Miles (Deductible)

  • Traveling to meet clients or customers
  • Driving between multiple work locations
  • Trips to temporary work sites
  • Business errands (bank deposits, supply runs)
  • Travel to business-related education

Business Miles (NOT Deductible)

  • Daily commute to your regular workplace
  • Personal errands combined with business trips (only the business portion counts)
  • Travel that's primarily personal with incidental business

Medical Miles (Deductible)

  • Transportation to and from medical appointments
  • Trips to pharmacies for prescriptions
  • Visiting a patient in the hospital (if medically necessary)
  • Addiction treatment transportation

Charitable Miles (Deductible)

  • Driving to volunteer activities
  • Transporting items for charitable organizations
  • Using your vehicle for charity-sponsored events
  • Delivering meals for food programs

Tips and Best Practices

Track Every Mile

Small trips add up. A quick run to the office supply store (5 miles round trip) at $0.67/mile is $3.35. Do that weekly, and it's $174 annually. Use a mileage tracking app for automatic logging.

Maintain a Mileage Log

The IRS requires records showing: date of travel, destination, business purpose, and miles driven. Digital apps satisfy these requirements and protect you in an audit.

Don't Forget Parking and Tolls

Parking fees and tolls for business purposes are deductible separately from mileage. These costs don't need to be part of your mileage calculation; they're additional deductions.

Compare Both Methods

The first year you use a vehicle for business, you can choose either method. After that, switching has restrictions. Calculate both ways before committing to one approach.

Consider Vehicle Costs

If you drive an expensive vehicle with high depreciation, the actual expense method might produce larger deductions. For older, efficient vehicles, the standard rate usually wins.

Document the Business Purpose

For each trip, note why it was business-related. "Client meeting with ABC Corp" is better than just "downtown." Specific documentation supports your deduction if questioned.

Separate Personal and Business Use

If you use one vehicle for both personal and business driving, only the business portion is deductible. Track odometer readings to establish your business use percentage.

Frequently Asked Questions

Can employees deduct business mileage?

Since the 2017 Tax Cuts and Jobs Act, employees can no longer deduct unreimbursed business expenses including mileage. Only self-employed individuals, independent contractors, and business owners can claim the mileage deduction. If you're an employee, ask your employer about mileage reimbursement programs.

Do I need receipts for the standard mileage deduction?

You don't need gas receipts when using the standard mileage rate; the rate is designed to cover those costs. However, you do need a mileage log documenting your trips. Keep receipts for parking and tolls, which are deducted separately.

Can I switch between standard mileage and actual expenses?

It depends on when you started using the vehicle for business. If you used standard mileage in the first year, you can switch to actual expenses in later years (with some depreciation limitations). If you started with actual expenses, you generally can't switch to standard mileage.

Is commuting ever deductible?

Regular commuting from home to your primary workplace is never deductible. However, if you have a home office that qualifies as your principal place of business, travel from that home office to other work locations becomes deductible business travel.

What about electric vehicles?

The standard mileage rate applies to all vehicles, including electric. Since EVs have lower fuel costs but potentially higher depreciation, compare actual expenses to the standard rate to see which benefits you more.


Every mile you drive for business, medical appointments, or charitable work has tax value. At $0.67 per business mile, a self-employed person driving 12,000 business miles annually earns an $8,040 deduction, translating to $1,900+ in tax savings at a 24% rate. Track your miles consistently, maintain proper records, and claim every dollar you're entitled to. The effort takes minutes; the savings are substantial.