Fuel Cost per Mile Calculator
What fuel costs you per mile and per year from how far you drive…
What fuel costs you per mile and per year from how far you drive, for a gas car and an electric one side by side, and what the gap adds up to over five years.
UK unleaded: GOV.UK, Department for Energy Security and Net Zero average, Nov 9, 2026. Change it to yours.
Electric car to compare
From the window sticker or a review: EPA sticker figures are measured at the wall, charging losses included.
UK price cap: Ofgem average, 1 October to 31 December 2026. Change it to yours.
More optionsCharging losses
Leave at 0 for a sticker figure. Add your own losses only if the efficiency came from the car’s display, which counts energy into the battery.
Example15,000 km a year
£1,664.42a year in gas
11.1p a km. The electric car would cost £710.64, £953.78 less: £4,768.91 over five years.
Enter yours to see your result.
- Gas car£1,664.42
11.1p a km
- Electric£710.64
2,700 kWh, 4.7p a km
Prices as of Oct 1, 2026; check the provider for current rates. Home charging at one price; public chargers set their own prices, often higher than at home. Terms
How this works: 7 sources,
How this works
Method
Yearly fuel = distance a year × fuel per mile (or km) × price. Cost per mile is the same sum for one mile: price per gallon ÷ MPG, or price per kWh × kWh per mile. Full method
Sources
- Weekly road fuel prices (GOV.UK, Department for Energy Security and Net Zero, 2026)
- Gasoline and Diesel Fuel Update (weekly retail prices) (US Energy Information Administration, 2026)
- Electric Power Monthly, Table 5.6.A (average residential price) (US Energy Information Administration, 2026)
- Energy price cap unit rates and standing charges (1 October to 31 December 2026) (Ofgem, 2026)
- Fuel economy and EV range testing (MPGe includes charging losses; 33.7 kWh per gallon) (US EPA)
- Handbook 44, Appendix C: US gallon 3.785411784 L, imperial gallon 4.54609 L, mile 1.609344 km (NIST)
- The MPG illusion (Larrick and Soll) (Science, 2008)
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Limits
Prices as of Oct 1, 2026; check the provider for current rates. Home charging at one price; public chargers set their own prices, often higher than at home.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: trip fuel cost with dated US and UK prices, fill-ups and the split, plus MPG, fuel economy converter, EV charging and cost per mile pages.
Worked example: 10,000 miles a year in the UK
A 45 MPG (UK) petrol car uses 10,000 ÷ 45 = 222 gallons, 1,010 litres; at 170.7p a litre that is £1,724.58 a year, 17.2p a mile.
An electric car at 3.5 miles per kWh uses 2,857 kWh; at the 26.32p price cap, £752.00, £972.58 less a year.
How the yearly cost is worked out
Yearly fuel = distance a year × fuel per mile (or km) × price. Cost per mile is the same sum for one mile: price per gallon ÷ MPG, or price per kWh × kWh per mile.
Prices move every week, so the five-year figure is today’s prices held flat: a way to compare two cars on equal terms, not a forecast.
Fuel is only part of what a car costs. Insurance, servicing, tyres, depreciation and finance often add up to more; the buy or lease calculator covers the purchase side.
per mile = price per gallon ÷ MPG · yearly = per mile × miles a year
- UK unleaded averaged 170.71p a litre in the week of November 9, 2026. Source: Weekly road fuel prices, GOV.UK, Department for Energy Security and Net Zero, 2026-11-10.
- US regular gasoline averaged $3.995 a gallon in the week of November 9, 2026. Source: Gasoline and Diesel Fuel Update (weekly retail prices), US Energy Information Administration, 2026-11-10.
Yearly fuel cost by miles and MPG (US average price)
Dollars a year at $3.995 a gallon.
| Miles a year | 20 MPG | 25 MPG | 30 MPG | 40 MPG | 50 MPG |
|---|---|---|---|---|---|
| 5,000 | $999 | $799 | $666 | $499 | $400 |
| 7,500 | $1,498 | $1,199 | $999 | $749 | $599 |
| 10,000 | $1,998 | $1,598 | $1,332 | $999 | $799 |
| 12,000 | $2,397 | $1,918 | $1,598 | $1,199 | $959 |
| 13,500 | $2,697 | $2,157 | $1,798 | $1,348 | $1,079 |
| 15,000 | $2,996 | $2,397 | $1,998 | $1,498 | $1,199 |
| 18,000 | $3,596 | $2,876 | $2,397 | $1,798 | $1,438 |
| 20,000 | $3,995 | $3,196 | $2,663 | $1,998 | $1,598 |
| 25,000 | $4,994 | $3,995 | $3,329 | $2,497 | $1,998 |
| 30,000 | $5,993 | $4,794 | $3,995 | $2,996 | $2,397 |
Sources
- Gasoline and Diesel Fuel Update (weekly retail prices), US Energy Information Administration, 2026-11-10
- Weekly road fuel prices, GOV.UK, Department for Energy Security and Net Zero, 2026-11-10
- Electric Power Monthly, Table 5.6.A (average residential price), US Energy Information Administration, 2026
- Energy price cap unit rates and standing charges (1 October to 31 December 2026), Ofgem, 2026
Common questions
How much does the average driver spend on gas a year?
At 12,000 miles and 25 MPG, 480 gallons: about $1,918 a year at the US average price.
How do I find my fuel cost per mile?
Divide the price per gallon by your MPG: $4.00 at 32 MPG is 12.5¢ a mile. Per km: price per litre × L/100 km ÷ 100.
Does an electric car always cost less to fuel?
Charged at home at average prices, usually, as the bars show for your numbers. Mostly public rapid charging can cost as much as gas.