Gas Mileage Tracker

Cost per mile calculator

Fuel is about a quarter of what a mile costs you. This works out the other three quarters and gives you a number you can quote, bill or deduct.

Cost per mile calculator

Fuel is about a quarter of what a mile costs. Put in the rest and you get the number you can actually quote or deduct.

mi

A year works best. A month is fine if you have the receipts.

What you spent in that period

$
$
$
$
$
$

Leave a box empty and it counts as zero.

All-in cost per mile

--

everything included

Fuel only
--
Everything except fuel
--
Total spent
--
Cost of a 100 mile day
--

Against the IRS standard business rate

Enter your miles and costs to compare.

Rate used: $0.70 a mile. Check irs.gov for the rate that applies to your tax year.

Updated September 2026

Fuel is the number you notice, not the number that matters

Fuel is the only cost you pay in public, standing next to a display that counts up. Everything else arrives as an annual premium, an unexpected repair, or a resale value you never see as a transaction. So fuel feels like the cost of driving, and for an ordinary car it is closer to a quarter of it.

That matters the moment you are quoting a delivery, billing a client for travel, choosing between two cars, or deciding whether a job forty miles away is worth taking.

What belongs in the total

CostInclude it?Where to find it
FuelAlwaysYour fill-up log, or bank statement search for the stations
Maintenance and repairsAlwaysService invoices for the year
TyresAlwaysSet price divided by the years you expect them to last
InsuranceAlwaysAnnual premium
Registration, tax, inspectionAlwaysAnnual paperwork
DepreciationBusiness: yesValue at the start of the year minus value at the end
Loan or lease paymentsInstead of depreciationTwelve monthly payments
Parking and tollsOnly if routineMonthly parking, regular commute tolls

Do not count depreciation and loan payments. They are two ways of measuring the same thing, and adding both roughly doubles the largest line in the calculation.

A worked example

A paid-off 2019 sedan, 12,000 miles in the year, averaging 29 MPG.

LineYearPer mile
Fuel (414 gal at $3.29)$1,362$0.114
Maintenance and repairs$700$0.058
Tyres$220$0.018
Insurance$1,400$0.117
Registration and inspection$180$0.015
Depreciation$1,900$0.158
Total$5,762$0.480

Fuel is 24 percent of that total. Insurance costs slightly more than the fuel does, and depreciation costs more than both. Anyone budgeting on fuel alone is out by a factor of four.

Put a new car with a $480 monthly payment in place of the depreciation line and the same 12,000 miles land near 80 cents a mile. The driving did not change. The vehicle did.

Standard rate against actual expenses

If you deduct vehicle costs for work in the US, you pick one of two methods and you should pick the one that gives you more money.

  • Standard mileage rate. A flat rate per business mile. You keep a mileage log and nothing else. Easy, and usually better for an efficient, cheap-to-run car with high annual mileage.
  • Actual expenses. The real costs, times the share of miles that were business. More paperwork, and usually better for an expensive vehicle, a heavy depreciation year, or low annual mileage.

The calculator above shows both sides of that decision. Verify the current year's rate on irs.gov before you file, because it changes most Januarys, and note that switching methods after the first year has rules attached. This is a calculator, not tax advice.

Questions people actually ask

How do you calculate cost per mile? +
Add up everything the vehicle cost you over a period, then divide by the miles you drove in that period. Fuel, maintenance, tyres, insurance, registration and either depreciation or your loan payments all belong in the total.
Should depreciation be included? +
For a business or a freight rate, yes. The vehicle is worth less at the end of the year than at the start and that loss is a real cost of the miles. For a personal budget, plenty of people leave it out and just track the money that left their account.
What is a normal cost per mile for a car? +
For an ordinary private car in the US, roughly 55 to 80 cents a mile all in, with fuel making up a fifth to a quarter of it. The spread is wide because depreciation on a new car dwarfs everything else, while a paid-off ten-year-old car can come in under 40 cents.
Should I claim the IRS standard rate or my actual expenses? +
Work out both and claim the larger one, which is what the comparison in the calculator is for. The standard rate tends to win for efficient, cheap-to-run cars driven a lot. Actual expenses tend to win for expensive vehicles, heavy depreciation, or low annual mileage.
What is cost per mile for a truck? +
Owner-operators in the US typically land between $1.50 and $2.20 a mile once fuel, maintenance, insurance, permits and the truck payment are counted. Fuel alone is usually 30 to 40 percent of it, which is why fuel logging is standard practice in freight and optional everywhere else.

Keep going

The calculator is the one-off. The app is the habit.

A calculator tells you what one tank did. Log every fill-up and you get the trend: the month your MPG dropped, the station that is quietly more expensive, and what the car really costs you per mile.

  • Odometer, gallons, price. That is the whole form.
  • MPG per tank and a running average, calculated the tank-to-tank way
  • Charts for MPG, monthly spend and the price you have been paying per gallon
  • Several vehicles, and a CSV export when the accountant asks
Download Gas Mileage Tracker

Free on the App Store. Android version in the works.

Last tank

28.4 MPG

Average

26.9

Cost per mile

$0.13

This month

$187

Fill-ups

42