How fuel cost per mile is calculated from MPG
MPG tells you how far a gallon goes. It does not tell you what a year of driving costs, and it hides how unevenly the savings add up. This page converts MPG into the three numbers that matter: gallons per year, dollars per year, and cents per mile.
1. Start with gallons, not dollars
Every fuel calculation begins with a division. Annual miles divided by MPG gives the gallons you will burn in a year. Dollars come after that, by multiplying gallons by the price per gallon. Doing it in the other order, guessing a weekly fuel bill and working backwards, hides the two variables you can actually change: miles driven and MPG.
Gallons per year = annual miles ÷ MPG Annual fuel cost = gallons per year × price per gallon
For a driver covering 12,000 miles a year at 28 MPG, the yearly burn is 12,000 ÷ 28 = 428.6 gallons. At $3.45 a gallon that is $1,478.57, or about $123 a month. Neither number is unusual: the average US driver covers roughly 13,500 miles a year, and a mid-size sedan returns 28 to 32 MPG in mixed driving.
Use US gallons throughout. One US gallon is 3.785 liters. Imperial gallons are 20% larger, so a UK figure of 40 MPG is about 33 MPG in US terms.
2. Cost per mile is the number you can compare
Dividing the price of a gallon by MPG gives the fuel cost of a single mile. It is the cleanest way to compare a commute, a delivery route or two cars, because it does not depend on how much you drive.
Cost per mile = price per gallon ÷ MPG Cost per 100 miles = cost per mile × 100
At $3.45 a gallon, a 28 MPG car costs 3.45 ÷ 28 = $0.123 per mile, or $12.32 per 100 miles. A 40 MPG car costs $0.086 per mile. The gap looks small per mile, but over 12,000 miles it is $443 a year, which is roughly one set of tires.
3. The savings curve is not linear
This is the part most people get wrong. Going from 15 MPG to 20 MPG cuts fuel use by 25%. Going from 45 MPG to 50 MPG cuts it by only 10%, even though both moves are five MPG. What matters is the change in gallons, and gallons are proportional to one divided by MPG.
| MPG change | Gallons at 12,000 mi | Gallons saved | Percent less fuel |
|---|---|---|---|
| 15 to 20 | 800 to 600 | 200 | 25% |
| 20 to 25 | 600 to 480 | 120 | 20% |
| 25 to 30 | 480 to 400 | 80 | 17% |
| 35 to 40 | 343 to 300 | 43 | 13% |
| 45 to 50 | 267 to 240 | 27 | 10% |
The practical lesson: replacing a 15 MPG truck with a 20 MPG truck saves more fuel than replacing a 45 MPG hybrid with a 50 MPG hybrid. If the goal is cutting fuel spend, the biggest gains sit at the low end of the scale.
4. Worked example: 12,000 miles, 28 MPG, $3.45
A driver covers 12,000 miles a year. The car returns 28 MPG combined, and regular gasoline costs $3.45 a gallon. They are considering a 40 MPG sedan.
| Step | Calculation | Result |
|---|---|---|
| Gallons per year | 12,000 ÷ 28 | 429 gal |
| Annual fuel cost | 429 × $3.45 | $1,479 |
| Monthly fuel cost | $1,479 ÷ 12 | $123 |
| Cost per mile | $3.45 ÷ 28 | $0.123 |
| Cost per 100 miles | $0.123 × 100 | $12.32 |
| Gallons at 40 MPG | 12,000 ÷ 40 | 300 gal |
| Gallons saved | 429 − 300 | 129 gal |
| Dollars saved | 129 × $3.45 | $444 |
The $444 annual saving is real, but compare it with the price difference between the two cars. A $3,000 premium takes nearly seven years to repay at this mileage and price. Fuel savings alone rarely justify a new car purchase.
5. What moves your real MPG
The EPA test cycle is repeatable; your commute is not. Four factors explain most of the gap between the sticker and the pump.
- Speed: aerodynamic drag rises with the square of speed. Going from 65 to 75 mph typically costs 10% to 15% in MPG.
- Temperature: cold starts and winter fuel blends cut economy by 10% to 20% in northern states.
- Idling: a modern engine burns 0.2 to 0.5 gallons an hour at idle and returns zero miles per gallon while doing it.
- Load and tires: a roof rack, under-inflated tires or a trunk full of tools each take 1% to 5%.
A useful habit is to track two or three fill-ups by hand. Divide miles driven by gallons added, then average the results. That number, not the window sticker, is the one to enter in a fuel budget.
6. Fuel is not the whole cost of driving
Fuel is the visible cost, which is why it gets the attention. Over five years, depreciation usually costs more. A $32,000 car that retains 45% of its value after five years has lost $17,600, roughly $3,500 a year, against about $1,500 a year in fuel at 12,000 miles. Insurance, maintenance, tires and registration add another $12,000 or more over the same period.
Use the fuel figure for budgeting and for comparing efficient cars. Use a total cost of ownership calculation before deciding which car to buy.
7. What this calculator leaves out
The result covers fuel only. It does not include insurance, maintenance, tires, registration, depreciation, tolls or parking. It also assumes a constant price per gallon and a constant MPG across the year, which no real driver achieves.
For a household with two cars, calculate each separately. The car with the lower MPG is usually the one that should absorb the commute miles, not the newer car.