MPG Calculator

Calculate miles per gallon from odometer readings and gallons used.

Enter your starting odometer reading.
Enter your ending odometer reading.
Enter a number greater than 0. Gallons it took to fill the tank back up (on the pump or receipt).

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.

Formula

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.

MPG = miles driven ÷ gallons used
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.

Quick reference

MPG chart

Based on US gallons. Higher MPG means the car travels farther on one gallon.
MPGL/100 kmkm/LGallons per 100 mi
15 MPG15.686.386.67
20 MPG11.768.505.00
25 MPG9.4110.634.00
30 MPG7.8412.753.33
35 MPG6.7214.882.86
40 MPG5.8817.012.50
50 MPG4.7021.262.00
FAQ

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.