How To Calculate Mileage Deductions on Your Tax Return

Delivery driver using GPS with packages in passenger seat
Photo:

Luiz Alvarez / Getty Images

If you use your vehicle for business or certain other activities, like traveling for medical treatment or charitable work, you may be able to deduct your costs for tax purposes, but the Internal Revenue Service (IRS) rules for doing so are strict.

Learn the IRS rules for deducting your mileage on your tax return, including how to choose a mileage method, what records you need, and how to claim the deduction at tax time.

Key Takeaways

  • For business driving, you can choose between using the standard mileage rate or your actual costs when entering your deduction on Schedule C of your Form 1040.
  • When calculating the deduction for miles driven for moving, you must be active-duty military transferring to a new permanent post.
  • To deduct your expenses for driving to receive medical care, you can choose between standard mileage rates or actual costs.
  • To claim mileage for traveling for volunteering work, you can use the standard mileage rate for charity work or you can deduct the cost of oil, gas, tolls, and parking fees.

Mileage Rates for 2022 and 2023

Standard Mileage Deduction Rates
Purpose 2022 (tax return due in 2023) 2023 (tax return due in 2024)
Business mileage 58.5 cents per mile 65.5 cents per mile
Medical and moving mileage 18 cents per mile 22 cents per mile
Charitable mileage 14 cents per mile 14 cents per mile

The chart above shows the standard IRS mileage rates for tax years 2022 and 2023. The standard mileage rate is the amount you can deduct based on miles driven rather than your actual vehicle expenses.

Businesses often use these rates to reimburse employees for using their personal vehicles for job-related travel. If you’re self-employed, you can use them to determine your own deduction.

How To Calculate Mileage for Taxes

There are two ways to calculate your mileage for your tax return: using the standard mileage rate or calculating your actual costs.

Standard Mileage

The standard mileage rate is a simplified way of deducting your mileage. It is based on the number of miles driven instead of your actual costs. You keep track of your miles driven for IRS-approved purposes (business, medical activity, moving, or charitable work). Then, you multiply them by the correct mileage rate.

For example, if you drove your vehicle 1,000 miles for IRS-approved business purposes in 2022, multiply 1,000 miles x $0.58 per mile. You’ll be able to deduct $580.

To use the standard mileage rate for a car you own, you need to choose this method for the first year you use the car for business. You can then choose between deductions based on the standard mileage rate or actual costs in subsequent years. If you choose the standard mileage rate for a vehicle you’re leasing, you’ll need to stick with that method for the entire lease.

If you choose this method, you’ll need to log your miles to calculate your deduction at the end of the year. Keep a written mileage log in your vehicle, or download a mileage app to keep track.

Actual Costs

You can choose to deduct the actual costs of using your vehicle instead of deducting your mileage. If you’re using a vehicle for both business and personal reasons, you can deduct only the costs for business use. You can include the following expenses:

  • Gas
  • Oil, tires, and repairs
  • Insurance
  • License and registration fees
  • Depreciation of the vehicle or lease payments due to the percentage of miles you drive it for business purposes

You’ll need to keep records, such as receipts, to document your vehicle expenses. They will allow you to support your deduction in case you're audited. You should keep old tax records for at least three years after you’ve filed your return.

Note

If you qualify for both mileage methods, try calculating both to see which results in a bigger deduction.

Who Can Deduct Mileage for Business?

You can’t claim business mileage deductions for your commuting expenses between your home and your regular place of work. Your employer may reimburse you for some job-related travel, such as if you drive from your primary work location to meet with clients.

However, you aren’t allowed to deduct mileage that your employer doesn’t reimburse you for. The only exceptions are for:

  • Military reservists
  • State and local employees paid on a fee basis
  • People who have job expenses related to an impairment
  • Some performing artists

The rules are different if you’re self-employed, though. You still can’t deduct your mileage if you commute from your home to your primary business, but you can if you’re traveling from your business to meet with clients or visit a project site, even if your business is based out of your home.

The tax rules for ride-share drivers are similar. Ride-share drivers can deduct mileage according to the standard IRS rate or their actual costs. 

Who Can Deduct Mileage for Moving?

You can deduct your mileage when moving only if you’re active-duty military and you’ve been ordered to a permanent change of station. Otherwise, this mileage deduction isn’t allowed.

Who Can Deduct Mileage for Medical Reasons?

You can take a medical tax expense deduction only if your overall unreimbursed medical costs exceed 7.5% of your adjusted gross income (AGI). You can deduct your mileage at the standard rate of 18 cents per mile for 2022 and 22 cents per mile for 2023, or you can deduct your actual costs of gas and oil. Deducting parking costs and tolls is also allowed.

You’re allowed to deduct mileage for your own treatment. You can also claim this deduction if you’re transporting a child to receive treatment or visiting a mentally ill dependent as part of a recommended treatment.

Who Can Deduct Mileage for Charitable Reasons?

If you travel to perform volunteer work, you can deduct the standard amount for the year. Alternatively, you can deduct your costs of oil and gas but not other vehicle expenses like depreciation, maintenance, insurance, and fees.

Note

You can also deduct your costs for parking and tolls while volunteering, no matter which deduction method you choose. 

How To Claim Mileage on Your Taxes

If you’re claiming a deduction for business mileage, you’ll report it using Schedule C on Form 1040. To claim mileage deductions for moving, medical treatment, or charitable deductions, you’ll need to itemize on your return. You’ll do so using Schedule A on your Form 1040.

No matter what type of mileage you’re deducting, be sure to keep thorough records. Keep a mileage log if you use the IRS standard mileage rate, or hold onto receipts if you’re deducting your actual costs. Be sure to store them with your other tax records so you’ll be covered in the event of an audit.

Frequently Asked Questions (FAQs)

Is mileage for taxes round-trip or one-way?

If you are using the standard mileage rate, multiply it by the total, round-trip mileage that you drove for business, moving, medical, or charitable reasons.

How can I keep track of mileage for taxes?

If you are keeping a written log for a mileage deduction, you should include the date, destination, purpose, and miles driven for each trip.

Was this page helpful?
Sources
The Balance uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. IRS. "IRS Issues Standard Mileage Rates for 2023; Business Use Increases 3 Cents Per Mile."

  2. IRS. "Topic No. 510 Business Use of Car."

  3. IRS. "Moving Expense to and From the United States."

  4. IRS. "Here's Who Qualified for the Employee Business Expense Deduction."

  5. IRS. "Publication 463 (2022), Travel, Gift, and Car Expenses."

  6. IRS. “Publication 502, Medical and Dental Expenses.”

  7. IRS. "Publication 526: Charitable Contributions," Page 6.

Related Articles