Divide the price of a gallon by your miles per gallon.
$4.17 ÷ 28 MPG = $0.149 per mileThat is the whole formula. If you can remember your MPG and glance at the sign as you pull in, you can work out your cost per mile before the pump starts.
A shortcut you can do in your head
Exact decimals don’t matter here. Round the gas price to the nearest easy number, and do the sum in cents.
- $4.20 is 420 cents. At 30 MPG, that’s 14 cents a mile.
- At 20 MPG, it’s 21 cents.
- At 40 MPG, it’s about 10 cents.
Once you know your number, you can price anything. A 30-mile detour at 15 cents a mile is $4.50.
What moves it
Your rate goes up in step with the gas price. If gas rises 10%, so does your cost per mile.
It’s less tidy with MPG, and that’s because you’re dividing by it. Losing 5 MPG from 20 adds 7 cents a mile at $4.17, while losing 5 MPG from 40 adds only about 1.5 cents. Poor economy gets expensive quickly, which is why towing or a roof box hurts more on a truck than the raw percentage suggests.
Where the number is useful
Comparing routes. Is the toll road worth it? If the free route adds 25 miles at 15 cents a mile, it costs $3.75 in gas, before you count your time.
Seeing if a trip is worth making. A special trip for a cheap bulk buy across town may not save what it seems to.
Splitting costs. If a friend joins for part of a trip, the miles they rode multiplied by your rate is a fair share of the fuel.
The same sum in litres
Outside the US, the sum runs the other way round, because economy is quoted as fuel per distance. Multiply your L/100 km by the price per litre, then divide by 100.
8 L/100 km × C$1.99 ÷ 100 = C$0.159 per kmIn the UK, you’ll need one more step, since fuel is sold in litres but economy is quoted in miles per UK gallon. Divide 4.546 by your MPG to get the litres used per mile, then multiply by the pump price. At 42 UK MPG and £1.74 a litre, that’s 18.8p a mile.
Keep the rate up to date
Your rate isn’t fixed. It moves with the seasons and with the price at the pump. Winter driving in a cold climate can push a car’s consumption up noticeably, and that feeds straight through to cost per mile. Recalculate every few months, or whenever gas moves by more than about 25 cents. It takes a few seconds, and a stale rate is the most common reason a budget slowly goes wrong.
Where it isn’t enough
Gas is only part of what a mile costs. If you’re charging someone for mileage, or working out whether gig driving pays, the gas figure will understate your cost by a lot. Read our guide to the IRS mileage rate to see how large the gap is.
Cost Per Mile CalculatorUse your own numbers
Sources