MPG calculator
Work out your car's real gas mileage from one fill-up. Enter the fuel you added and the distance you drove since the last full tank. You get MPG (US and UK), L/100km, km/L and your fuel cost per mile. Nothing you type leaves this page.
The MPG formula
Use the fuel you added at the second fill-up: that is exactly what the car burned since the first full tank. Do not use the fuel from the first fill-up; it was for the miles before it.
Example
You fill up to the top with the odometer at 41,200. A week later you fill up to the top again: 11.2 gallons, and the odometer shows 41,520.
- Miles driven: 41,520 − 41,200 = 320 miles
- MPG: 320 ÷ 11.2 = 28.6 MPG
- At $3.29 a gallon the tank cost $36.85, or about $0.115 per mile.
Get an accurate number
- Fill to the same point. Stop at the first automatic click both times. Topping off adds fuel that the formula can't see.
- Measure over several tanks. One tank can be off by a few percent; the average over three or more is reliable.
- Partial fill-ups must be added to the next full tank. See how to calculate MPG with partial fill-ups.
- Use the main odometer, not a trip meter you may have reset at a different time.
Questions
How do I calculate MPG?
Fill the tank to the top and note the odometer. At your next fill-up, fill to the top again and note the gallons added and the new odometer. MPG = miles driven ÷ gallons added. Example: 320 miles ÷ 11.2 gallons = 28.6 MPG.
How do I calculate L/100km?
Divide the liters added by the kilometers driven and multiply by 100. Example: 38.4 liters for 520 km = 38.4 ÷ 520 × 100 = 7.4 L/100km.
Can I calculate MPG without filling up?
Not accurately. Without a full tank at both ends you don't know how much fuel was used. A fuel gauge is not precise enough. Your car's trip computer gives an estimate, but it is usually a few percent off.
What if I didn't fill up all the way?
Add the fuel of the partial fill-up to the next full fill-up and measure from the last full tank. Our MPG guide has a worked example.
Is the US MPG the same as UK MPG?
No. A UK (imperial) gallon is 4.546 liters and a US gallon is 3.785 liters, so the same car shows about 20% more MPG in the UK. The calculator shows both.
More tools and guides
- Trip fuel cost calculatorGas needed and cost for a drive.
- MPG converterL/100km to MPG and back, US and UK gallons.
- Cost per mile calculatorFuel and running cost per mile or km.
- How to calculate MPGThe full-tank method, step by step.
- Dashboard MPG vs real MPGWhy your car's display disagrees.
- Gas mileage tracker appTrack every fill-up automatically.
- Gas receipt scannerPhoto of the receipt, numbers filled in.