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.
The gas mileage formula
L/100km = 235.2 ÷ MPG
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.
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.
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).
Related calculators
Last reviewed: July 2026.