Home / Cost Per Mile Calculator

Cost Per Mile Calculator

Once you know what one mile costs, you can price anything in your head: the detour, the cheaper gas station across town, the delivery you were asked to do.

Your car and fuel

$per gallon

The one-line version

Price per gallon ÷ MPG = fuel cost per mile

At $4.17 and 28 MPG, each mile costs 14.9 cents. Good enough to call it 15. A 40-mile detour is then about $6, and a thousand miles is about $150.

With litres it runs the other way: L/100 km × price per litre ÷ 100. At 8 L/100 km and A$2.33 a litre, each kilometre costs 18.6 cents.

What the numbers look like by vehicle

These use the EPA combined rating for each 2025 model and gas at $4.17. Your own figure will differ, but the gaps between them hold up.

Fuel cost per mile at $4.17 a gallon
VehicleEPA combinedPer milePer 10,000 miles
Toyota Prius57 MPG7.3¢$732
Honda Civic34 MPG12.3¢$1,226
Toyota RAV430 MPG13.9¢$1,390
Toyota Tacoma 2WD23 MPG18.1¢$1,813
Ford F-150 2WD20 MPG20.9¢$2,085

Fuel is only part of a mile

The IRS business rate for the second half of 2026 is 76 cents a mile, and it’s designed to cover the whole cost of running a car. At 15 cents a mile, fuel is about a fifth of that. In the UK, HMRC’s approved rate is 45p a mile for the first 10,000 business miles. So if someone offers to pay you “gas money” for work driving, that covers only part of what the trip costs you. We look at the difference in what the IRS rate really covers.

Three things to use it for

Side jobs. Delivering food or giving a neighbor a paid lift feels like profit until you take out the driving. Fuel is the part you see, but it is only one part of the cost, so treat this rate as the floor and not the true figure.

Checking an allowance. If your employer pays a set amount per mile, this shows how much of it goes on fuel and how much is left for wear.

Bargain hunting. Cheaper gas across town, a shop further out, a longer route that skips a toll. Each one is a quick sum once you know your rate.

Questions people ask

Is cost per mile the same as the IRS mileage rate?

No. This is fuel only. The IRS rate also allows for depreciation, insurance, repairs and tires, which is why it is several times higher.

Does the distance change my cost per mile?

No. If economy and price stay the same, the rate stays the same on a two-mile hop or a two-thousand-mile trip.

Is it worth driving to cheaper gas?

Work it out. If a station 5 miles away saves 20 cents a gallon on a 12-gallon fill, you save $2.40. At 15 cents a mile, the 10-mile round trip costs $1.50, leaving 90 cents for your time. Usually it is not worth it.

Keep going