MPG Calculator
Calculate miles per gallon from odometer readings and gallons used.
Your MPG
0.0MPG
Enter odometer readings and gallons used.
- Fuel consumption
- —
- Kilometers per liter
- —
- Miles driven
- —
- Gallons per 100 mi
- —
Uses US gallons (1 gallon = 3.785 liters). L/100 km = 235.21 ÷ MPG.
How to calculate MPG
MPG = miles driven ÷ gallons used. If you drove 300 miles and used 10 gallons, your MPG is 300 ÷ 10 = 30 MPG.
Miles driven = odometer now − odometer at last fill-up
Odometer example
Your odometer read 24,150 at the last fill-up and 24,462 now, and the tank took 11.6 gallons.
24,462 − 24,150 = 312 miles
312 ÷ 11.6 = 26.9 MPG
For the most accurate result, fill the tank to the first click, drive normally, refill to the first click again, and divide the miles by the gallons pumped. The full step-by-step method is in the How to Calculate MPG guide.
MPG chart
| MPG | L/100 km | km/L | Gallons per 100 mi |
|---|---|---|---|
| 15 MPG | 15.68 | 6.38 | 6.67 |
| 20 MPG | 11.76 | 8.50 | 5.00 |
| 25 MPG | 9.41 | 10.63 | 4.00 |
| 30 MPG | 7.84 | 12.75 | 3.33 |
| 35 MPG | 6.72 | 14.88 | 2.86 |
| 40 MPG | 5.88 | 17.01 | 2.50 |
| 50 MPG | 4.70 | 21.26 | 2.00 |
MPG questions
How do I calculate MPG?
Divide miles driven by gallons used. For example, 300 miles ÷ 10 gallons = 30 MPG.
How do I calculate MPG from odometer readings?
Subtract the starting odometer reading from the ending reading to get miles driven, then divide by the gallons used to refill the tank.
What is a good MPG?
Higher MPG is better because the car travels farther on one gallon. Compare your result with your car's rated MPG and your usual driving conditions.
How do I convert MPG to L/100 km?
Divide 235.21 by MPG. For example, 235.21 ÷ 30 MPG = 7.84 L/100 km.