Gas Mileage Calculator

Measure your vehicle's real fuel economy from the miles driven and the fuel it took to refill — in MPG and L/100km.

Please enter a valid distance and fuel amount.

Fuel economy
L/100km
km per litre
Miles per litre

The gas mileage formula

MPG = Miles driven ÷ Gallons used
L/100km = 235.2 ÷ MPG
How to measure it accurately

Fill the tank completely and note the odometer (or reset the trip meter). Drive normally. At the next fill-up, record the miles and the gallons it took to fill back up. 320 miles ÷ 10 gallons = 32 MPG (7.35 L/100km). Average a few tanks for a reliable figure.

Worked example — metric fill-up

A European driver logs 500 km on 42.5 litres: 42.5 ÷ 500 × 100 = 8.5 L/100km. Converting that to the MPG scale: 235.215 ÷ 8.5 ≈ 27.7 MPG (about 11.76 km per litre).

What affects your real MPG

Your actual economy is usually a bit below the EPA sticker and varies with driving: city stop-and-go is worse than steady highway, aggressive acceleration and high speeds burn more, and under-inflated tires, roof racks, extra weight, and cold weather all cut MPG. Tracking it tank-to-tank is also an early warning system — a sudden drop can flag a mechanical issue. Once you know your MPG, estimate any trip's cost with the fuel cost calculator. Note L/100km runs opposite to MPG: lower is better.

Typical MPG by vehicle class

Vehicle typeTypical combined MPG
Subcompact / compact car32–40
Midsize sedan28–36
Hybrid sedan50–60
Small SUV / crossover26–32
Large SUV18–24
Pickup truck17–22

Common gas mileage measurement mistakes

Frequently asked questions

How do I calculate gas mileage?

Miles driven ÷ gallons used. 320 miles on 10 gallons = 32 MPG.

What is a good MPG?

Compacts 30–40, hybrids 45–55+, SUVs/trucks 18–25. City is lower than highway.

How do I convert MPG to L/100km?

235.2 ÷ MPG. 32 MPG = 7.35 L/100km (lower is better).

Why does my calculated MPG vary between fill-ups?

Short trips, cold starts, terrain, wind, and how full you top off all affect a single tank. Average 3-5 tanks for a reliable number.

Does premium fuel improve gas mileage?

Only if your engine requires it — otherwise premium in a regular-unleaded car usually makes no measurable difference.

Related calculators

Last reviewed: September 2026.