Gas Mileage Calculator

Find your car's real gas mileage, in miles per gallon (MPG). Fill the tank, drive, and at the next fill-up enter the miles you drove and the gallons it took. You also get liters per 100 km and km per liter, or you can turn a metric figure into MPG.

miles
gal
Miles per gallon (MPG)
26.4

356.2 miles on 13.5 gallons is 26.4 miles per gallon.

Liters per 100 km 8.9 L/100 km
Kilometers per liter 11.2 km/L
Gallons per 100 miles 3.79 gallons

What is miles per gallon (MPG)?

Miles per gallon (MPG) is how far a car goes on one gallon of gas. The higher the number, the less gas you buy for the same drive.

How to calculate MPG

Fill the tank completely and write down the odometer reading. At your next fill-up, fill it completely again and write down the gallons and the new reading. Miles driven ÷ gallons = MPG.

MPG = miles driven ÷ gallons used

Here it is with your numbers:

  1. Divide the miles by the gallons: 356.2 ÷ 13.5 = 26.3852.
  2. Round to one decimal: 26.4 MPG.

It means the car goes 26.4 miles on each gallon of gas.

Source FuelEconomy.gov (U.S. Department of Energy and EPA) · How to Calculate Your MPG ↗

MPG to L/100 km and km/L

Outside the US, fuel use is usually given in liters per 100 kilometers (L/100 km) or kilometers per liter (km/L). A mile is exactly 1.609344 km and a US gallon is exactly 3.785411784 liters, so L/100 km = 235.2146 ÷ MPG, and km/L = MPG × 1.609344 ÷ 3.785411784. Some charts round 235.2146 to 235.215; we use the exact figure.

Source NIST Handbook 44 (2026) · Appendix C, General Tables of Units of Measurement ↗

MPGL/100 kmkm/L
1023.54.3
1515.76.4
2011.88.5
259.410.6
307.812.8
356.714.9
405.917.0
455.219.1
504.721.3
603.925.5

Why gallons per 100 miles?

MPG can mislead when you compare cars. Over 1,000 miles, going from 10 to 15 MPG saves about 33 gallons, but going from 30 to 35 MPG saves only about 5. That's why FuelEconomy.gov says fuel use, such as gallons per 100 miles, can be more meaningful than MPG.

Source FuelEconomy.gov · Learn More About the Fuel Economy Label for Gasoline Vehicles ↗

FAQs

How do I calculate gas mileage?

Divide the miles you drove by the gallons it took to refill the tank. Fill up completely and note the odometer; at the next full fill-up, note the gallons and the new reading. 33,001.3 − 32,645.1 is 356.2 miles, and 356.2 ÷ 13.5 gallons is 26.4 MPG.

Source FuelEconomy.gov (U.S. Department of Energy and EPA) · How to Calculate Your MPG ↗

How do you manually calculate MPG?

Reset the trip odometer when you fill the tank. At the next fill-up, divide the trip miles by the gallons you put in. 335 miles on 9.5 gallons is 35.26, so 35.3 MPG. (FuelEconomy.gov's own page prints 35.5 for this example, but 335 ÷ 9.5 is 35.26.)

How do I find the MPG of my car?

Measure it: fill the tank completely both times and divide the miles by the gallons, or log several fill-ups for a steadier average. A tank that isn't filled all the way makes the answer wrong.

Sources

Related calculators