IRS Mileage Deduction Calculator

Calculate your IRS mileage deduction for 2025. Enter your business, medical, or charity miles to see your tax savings using current IRS standard rates.

Tax season doesn't have to be a guessing game—especially when it comes to mileage deductions.

This IRS mileage deduction calculator helps you estimate your tax savings for business, medical, and charitable driving. Whether you're a freelancer tracking client visits, a gig worker logging deliveries, or someone making regular trips to medical appointments, this tool shows you exactly how much you can deduct using the current 2025 IRS standard mileage rates.

Just enter your miles for each category, and you'll see your total deduction instantly. No spreadsheets, no formulas to remember, no digging through IRS publications.

2025 IRS Standard Mileage Rates

The IRS updates mileage rates each year to reflect changes in vehicle operating costs. Here's some good news: the 2025 business rate increased to 70 cents per mile, up from 67 cents in 2024. That extra 3 cents adds up fast if you drive a lot for work.

Purpose

Rate per Mile

Typical Uses

Business

70 cents ($0.70)

Client visits, work errands, business travel

Medical

21 cents ($0.21)

Trips to doctors, hospitals, treatment centers

Charity

14 cents ($0.14)

Volunteer driving, delivering donations

Why are the rates so different? The business rate accounts for everything—gas, insurance, depreciation, maintenance, tires, the works. Medical and charity rates only cover your direct out-of-pocket costs like gas and oil, not the full cost of owning and operating your vehicle.

One quirk worth knowing: the charity rate is set by Congress, not the IRS, which is why it barely budges. It's been 14 cents since 1998. The business and medical rates, on the other hand, get recalculated annually based on actual driving cost studies.

What Miles Qualify for a Tax Deduction?

Here's where many people either leave money on the table or get themselves into trouble with the IRS. Not every mile counts—and the rules aren't always intuitive.

Business Miles (The Big One)

Miles you can deduct:

  • Traveling between work locations (your office to a client site)
  • Visiting clients or customers
  • Running work errands (bank deposits, supply runs, post office trips)
  • Driving to business meetings, conferences, or networking events
  • Traveling to temporary work locations

The commute trap: Your daily drive from home to your regular workplace? Not deductible. The IRS calls this commuting, and it's considered personal driving—even if you take work calls the whole way there.

But here's the exception most people miss: If you have a legitimate home office that qualifies as your principal place of business, the rules flip. Suddenly, your drive from home to a client site or temporary work location becomes a deductible business trip, not a commute. This single distinction saves home-based freelancers and business owners thousands of dollars.

Medical Miles

You can deduct miles driven to get medical care, including:

  • Doctor and dentist appointments
  • Hospital visits and ongoing treatments
  • Physical therapy, mental health appointments, lab work
  • Picking up prescriptions (the pharmacy trip counts)
  • Traveling to see specialists

The catch: Medical mileage only helps if you itemize deductions on Schedule A, and only medical expenses exceeding 7.5% of your adjusted gross income are deductible. For a lot of people, the standard deduction ends up being the better deal. But if you have significant medical expenses—ongoing treatment, a chronic condition, a tough year health-wise—these miles can push you over that threshold.

Charitable Miles

Driving while volunteering for a qualified 501(c)(3) nonprofit? Those miles count:

  • Delivering meals for Meals on Wheels or similar programs
  • Driving to and from volunteer shifts
  • Transporting supplies or donations for charitable events
  • Shuttling people for church mission trips (if the organization qualifies)

What doesn't work: Driving to attend religious services isn't deductible, even if you consider it charitable. And if the driving primarily benefits you—say, a volunteer gig that's really just networking—the IRS won't see it as charity.

Standard Mileage Rate vs. Actual Expenses: Which Saves You More?

You've got two ways to calculate your vehicle deduction, and picking the wrong one can cost you. Most people default to standard mileage without checking, which is usually fine—but not always.

The Standard Mileage Method

Multiply your deductible miles by the IRS rate. Done.

Best for:

  • Anyone who doesn't want to save every gas receipt
  • Newer cars that don't need much repair work
  • High-mileage drivers with average vehicle costs

The appeal: It's dead simple. One number times another number equals your deduction. No categorizing expenses, no depreciation calculations, no wondering if that car wash counts.

The Actual Expense Method

Track every vehicle-related cost—gas, oil changes, new tires, insurance, registration, repairs, lease payments, depreciation—then multiply the total by your business-use percentage.

Best for:

  • Luxury or high-end vehicles (bigger depreciation = bigger deduction)
  • Older cars with mounting repair bills
  • Anyone whose actual costs significantly exceed 70 cents per mile

The trade-off: You'll need meticulous records. Every receipt, every expense, documented and organized. For some people, the extra deduction is worth the hassle. For others, it's not even close.

Let's Run the Numbers

Say you drove 10,000 business miles this year. Your total vehicle costs (gas, insurance, maintenance, depreciation) came to $8,500. You use your car 60% for business.

  • Standard mileage: 10,000 × $0.70 = $7,000 deduction
  • Actual expenses: $8,500 × 60% = $5,100 deduction

Standard mileage wins by almost $2,000. Easy choice.

But flip the scenario. Same 10,000 business miles, but you drive a pricier vehicle and your costs hit $14,000:

  • Standard mileage: 10,000 × $0.70 = $7,000 deduction
  • Actual expenses: $14,000 × 60% = $8,400 deduction

Now actual expenses wins by $1,400. Worth the extra record-keeping? Only you can decide.

One rule to know: If you want the flexibility to use standard mileage, you need to choose it in the first year you use your car for business. Start with actual expenses (especially if you claim depreciation), and you might be locked into that method for that vehicle permanently.

Most people stick with standard mileage because it's simpler. Honestly? That's usually the right call.

How to Use This Calculator

Three steps, thirty seconds:

Step 1: Check the Mileage Rates The calculator defaults to 2025 IRS rates. If you're calculating for a prior year or your employer reimburses at a different rate, adjust accordingly.

Step 2: Enter Your Miles Plug in your total miles for each category:

  • Business miles (self-employment, freelance, gig work)
  • Medical miles (if you're itemizing deductions)
  • Charity miles (qualified volunteer driving)

Step 3: See Your Deduction The calculator shows your total deduction instantly. This is the amount you can claim—your actual tax savings depend on your bracket. A $5,000 deduction saves someone in the 22% bracket about $1,100 in federal taxes.

Real-World Examples

Numbers on a page only go so far. Here's how this actually plays out for different people:

Example 1: Freelance Graphic Designer

Marcus runs a design studio from his home office (his principal place of business). In 2025, he drove 8,500 miles—client meetings, photo shoots at various locations, picking up equipment.

His calculation: 8,500 miles × $0.70 = $5,950 deduction

In the 24% tax bracket, that's roughly $1,428 back in his pocket. Not bad for miles he was driving anyway.

Example 2: Gig Economy Driver

Aisha drives for DoorDash evenings and weekends while working a day job. She tracked 14,200 delivery miles in 2025.

Her calculation: 14,200 miles × $0.70 = $9,940 deduction

This wipes out a huge chunk of her gig income for tax purposes. Between federal income tax and the 15.3% self-employment tax, she's saving over $3,000. The mileage deduction is the single biggest tax break most gig workers have—and too many don't track their miles properly to claim it.

Example 3: Cancer Treatment Travel

Robert was diagnosed last year and has been driving 45 miles each way to a cancer center for treatment. In 2025, he made 32 round trips for chemotherapy.

His calculation: 2,880 miles × $0.21 = $604.80 deduction

Combined with his other medical expenses, this helped push his total over the 7.5% AGI threshold—making all those costs deductible. When you're dealing with serious illness, every bit of tax relief helps.

Example 4: Community Volunteer

Patricia spends two mornings a week delivering meals for a local nonprofit. She logged 1,400 volunteer miles in 2025.

Her calculation: 1,400 miles × $0.14 = $196 deduction

It's not a huge number, but she's not doing it for the tax break anyway. Still, why leave money on the table?

Example 5: The Multi-Category Driver

James is self-employed and also drives for medical appointments and volunteer work.

Category

Miles

Rate

Deduction

Business

6,200

$0.70

$4,340.00

Medical

380

$0.21

$79.80

Charity

520

$0.14

$72.80

Total

7,100

$4,492.60

Different rates, different purposes, one calculator. He'd need to report business miles on Schedule C and medical/charity on Schedule A (if itemizing), but the math is straightforward.

Record-Keeping: What the IRS Actually Expects

Here's the uncomfortable truth: claiming mileage deductions without proper documentation is one of the easiest ways to lose an audit. The IRS doesn't just want to know how many miles you drove—they want proof you tracked them as you went.

The Magic Word: Contemporaneous

That's IRS-speak for "recorded at the time it happened." A mileage log created in April for miles you drove in January? That's reconstructed, not contemporaneous, and the IRS knows the difference. They've denied deductions over this exact issue.

What to Record for Each Trip

  • Date of the drive
  • Where you went (destination or route)
  • Why (business purpose: "Client meeting with ABC Corp" beats "work stuff")
  • Miles driven

You don't need to document personal trips—just the deductible ones.

How to Track (Pick What You'll Actually Use)

  • Mileage apps like MileIQ, Everlance, or Hurdlr — they use GPS to log trips automatically. Easiest option by far.
  • Paper log book — old school, but it works. Keep it in your car.
  • Spreadsheet — fine if you're disciplined about updating it

The best system is the one you'll actually use consistently. A fancy app doesn't help if you forget to categorize trips for three months.

How Long to Keep Records

At minimum, three years after filing. But the IRS can look back six years if they suspect significant underreporting—so longer is safer. Storage is cheap. Audits aren't.

Starting Late?

If you haven't been tracking and it's already mid-year, start now. Some deduction is better than none. Going forward, you'll have solid records; for the months you missed, you may be able to reconstruct from calendar appointments, but it's not ideal. Lesson learned.

Important Disclaimer

This calculator provides estimates based on IRS standard mileage rates and is for informational purposes only. Your actual tax situation depends on your filing status, total income, other deductions, and circumstances specific to you.

This isn't tax advice. If you've got a complicated situation—multiple businesses, vehicle depreciation questions, mixed-use vehicles with employees driving them—talk to a CPA or tax professional who can look at your full picture.

Frequently Asked Questions

What is the IRS mileage rate for 2025?

The 2025 standard mileage rates are:

  • Business: 70 cents per mile (up from 67 cents in 2024)
  • Medical: 21 cents per mile
  • Charity: 14 cents per mile

These rates apply to miles driven on or after January 1, 2025.

Does the IRS mileage rate include gas?

Yes—and a lot more. The business rate covers gas, oil, insurance, registration, depreciation, repairs, and general wear and tear. That's the whole point: one simple rate instead of tracking a dozen expense categories. The medical and charity rates are more limited—they basically cover gas and oil only.

Can I deduct my commute to work?

Nope. Your regular commute from home to your workplace is personal driving in the IRS's eyes, no matter how far it is or how work-related it feels. The exception: if your home qualifies as your principal place of business, then trips from home to clients or temporary work sites become deductible business travel.

What's the difference between mileage reimbursement and mileage deduction?

Reimbursement = your employer pays you back for using your personal car for work. Deduction = you claim a tax write-off for business, medical, or charitable driving.

If your employer reimburses you at the IRS rate (or higher), you can't also deduct those same miles. That would be double-dipping.

Can W-2 employees deduct mileage?

Unfortunately, no—at least not on your federal return. The Tax Cuts and Jobs Act of 2017 eliminated the unreimbursed employee expense deduction through 2025. If your employer doesn't reimburse you for work-related driving, you're stuck. Self-employed individuals and business owners can still deduct mileage; employees generally can't. (A few states still allow it on state returns—worth checking if you're in one of them.)

What qualifies as medical mileage?

Driving to receive medical care: doctor visits, hospital trips, physical therapy, lab work, picking up prescriptions, seeing specialists. What doesn't count: driving to the gym (even if your doctor recommended exercise) or general wellness trips. The destination needs to be healthcare, not health-adjacent.

Can I switch between standard mileage and actual expenses?

It depends on what you chose first. If you use standard mileage in year one, you can generally switch to actual expenses later. But if you start with actual expenses—especially if you claimed depreciation—you may be stuck with that method for the life of the vehicle. The rules here get technical, so if you're thinking of switching, a quick chat with a tax professional is worth it.

How far back can I claim missed mileage deductions?

You can amend returns for the past three years (from your original filing date). If you have mileage records from 2022, 2023, or 2024 that you didn't claim, filing an amended return might put some money back in your pocket. No records? Unfortunately, there's not much you can do retroactively.

Do I need receipts for mileage deductions?

Not gas receipts—your mileage log is the documentation. For the standard mileage rate, you just need a record of each trip: date, destination, purpose, miles. That log is your "receipt." If you use the actual expense method, you'll need receipts for everything—gas, repairs, insurance, all of it.

What if I use my car for both personal and business?

That's normal—most people do. You only deduct the business portion. If you drove 18,000 miles total and 11,000 were for business, you deduct the 11,000 business miles. The other 7,000 personal miles aren't deductible, and that's fine. Just keep your log accurate so you can show exactly which miles were for what.