How to Calculate Mileage for Tax Purposes

Bobby Jul 15, 2026

Understanding how to calculate mileage for tax purposes is crucial for businesses and self-employed individuals to maximize deductions and stay compliant with IRS regulations. The IRS allows a tax deduction of 58.5 cents per mile driven for business in 2021, but calculating your mileage involves more than just multiplying this rate by the number of miles traveled.

How To Track Miles For Tax Purposes - 4 Hats and Frugal
How To Track Miles For Tax Purposes - 4 Hats and Frugal

Anauthorized business travel, client visits, and deliveries can all be deductible expenses, but you must keep accurate records to substantiate them. This article will guide you through the process of calculating mileage for tax purposes, ensuring you're getting the most out of your deductions while staying on the right side of the IRS.

How to Easily Deduct Mileage on Your Taxes
How to Easily Deduct Mileage on Your Taxes

Understanding the Mileage Rate

The IRS sets a standard mileage rate each year, which is used to calculate the deductible cost of operating your vehicle for business purposes. This rate takes into account factors such as gas, maintenance, depreciation, and insurance.

Mileage Log Sheet Template - 10 Free PDF Printables | Printablee
Mileage Log Sheet Template - 10 Free PDF Printables | Printablee

For example, in 2021, the IRS standard mileage rate was 58.5 cents per mile. However, you can also calculate your mileage deduction using either the actual expense method or the simplified method.

The Standard Mileage Rate Method

How to Get a Business Mileage Tax Deduction - Small Business Sarah
How to Get a Business Mileage Tax Deduction - Small Business Sarah

The standard mileage rate method is the simplest and most common way to calculate your mileage deduction. To use this method, follow these steps:

1. Keep a detailed log of all business miles driven throughout the year.
2. Multiply the total business miles by the IRS's standard mileage rate for the year.
3. Enter the result on your tax return as a deduction.

The Actual Expense Method

How To Track Miles For Tax Purposes - 4 Hats and Frugal
How To Track Miles For Tax Purposes - 4 Hats and Frugal

The actual expense method involves tracking and deducting all actual expenses related to your vehicle's operation. This can include gas, maintenance, insurance, depreciation, and more. To use this method:

1. Keep meticulous records of all business-related expenses and miles driven.
2. Calculate the percentage of total miles driven for business purposes.
3. Apply this percentage to each of your actual expenses, then enter the totals on your tax return.

Maximizing Your Mileage Deduction

Maximize Your Tax Savings with These Mileage Deduction Tips
Maximize Your Tax Savings with These Mileage Deduction Tips

To ensure you're getting the most out of your mileage deduction, there are several best practices to follow:

Keep Accurate Records

How to Get a Business Mileage Tax Deduction - Small Business Sarah
How to Get a Business Mileage Tax Deduction - Small Business Sarah
You'll Never Forget To Use This Simple Mileage Log
You'll Never Forget To Use This Simple Mileage Log
Top Mileage Tracking Apps and Why They Matter for Taxes
Top Mileage Tracking Apps and Why They Matter for Taxes
🚗 Driving your own vehicle for work?
🚗 Driving your own vehicle for work?
Printable Mileage Log Template for Tax Deductions
Printable Mileage Log Template for Tax Deductions
Taxes From A To Z (2018): M Is For Mileage
Taxes From A To Z (2018): M Is For Mileage
Maximize Your Tax Savings: Mileage Deduction Tips for Creative Business Owners
Maximize Your Tax Savings: Mileage Deduction Tips for Creative Business Owners
Small Business Mileage Log | Auto-Calculating Tax Deduction Spreadsheet (Digital Download)
Small Business Mileage Log | Auto-Calculating Tax Deduction Spreadsheet (Digital Download)
Standard Mileage Rate Tax 101 & How To Deduct Mileage | Intuit TurboTax Blog
Standard Mileage Rate Tax 101 & How To Deduct Mileage | Intuit TurboTax Blog

Keep a detailed log of all business miles driven, including the date, mileage, destination, and purpose of each trip. This will help you substantiate your deductions and prepare for an IRS audit.

Use a mileage tracker app or spreadsheet to keep organized, and update your records regularly to avoid forgetting any trips or expenses.

Understand What You Can Deduct

You can deduct miles driven for business-related activities, but not for personal errands or commuting to and from your primary place of work. This can sometimes lead to 'commute misconceptions,' so it's essential to be aware of IRS regulations.

Driving to a temporary work location, attending client meetings, or making deliveries can all qualify for deductions. If you use your vehicle for multiple purposes, keep separate logs for each to maintain accuracy.

Remember, the goal is to minimize your tax liability while remaining compliant with IRS regulations. Understanding how to calculate mileage for tax purposes is an excellent first step in achieving this objective. By keeping accurate records, utilizing the appropriate method for your situation, and maximizing your deductions, you can save money—and perhaps even invest it back into your business.