Gas Mileage Calculator

Use this free gas mileage calculator to get your real MPG from any fill-up, in miles and gallons or kilometers and liters.

  • Free
  • No sign-up
  • Works on mobile
  • Updates as you type
The formula
MPG = miles driven ÷ gallons used

Fill the tank, reset your trip odometer, and drive normally. At the next fill-up, divide the miles on the trip meter by the gallons it took to fill back up.

Calculate your gas mileage

--miles per gallon L/100 km-- km per liter-- Cost per mile--

Look up any car's official MPG

Want to know how your numbers stack up? Pick a make and model to see its EPA rating, then open the full year-by-year breakdown.

See MPG by year
Shows vehicles the EPA rated for the most recent model years.
50,407EPA ratings
145makes
1984-2027model years covered

More tools

Highest-MPG 2026 gas and hybrid cars

Ranked by EPA combined MPG, best version of each model. Plug-in hybrids, electric and hydrogen vehicles are left out because they're rated differently.

#VehicleClassCityHwyCombined
1Toyota PriusMidsize Cars575657
2Hyundai Elantra Hybrid BlueMidsize Cars515854
3Kia Niro FESmall Sport Utility Vehicle 2WD535453
4Toyota Camry HEV FF LEMidsize Cars524951
5Hyundai Sonata Hybrid BlueLarge Cars475651
6Toyota Corolla HybridCompact Cars534650
7Honda Civic 4DrMidsize Cars504749
8Honda Accord HybridLarge Cars514448

Quick answers

What does MPG mean?

MPG is short for miles per gallon, the number of miles a vehicle travels on one gallon of fuel. The MPG of a vehicle rises with fuel efficiency, so a higher number means less fuel for the same trip.

How do I calculate gas mileage?

miles ÷ gallons = MPG

Fill up completely and reset the trip odometer. Next time you fill up, divide the miles driven by the gallons added. Averaging a few tanks gives you a steadier number than a single fill-up.

How do I figure the cost of gas per mile?

price per gallon ÷ MPG

Divide what you pay per gallon by your car's MPG. A car that gets 25 MPG with gas at $3.00 a gallon costs 12 cents a mile. Put in your own price above to get yours, or price out a whole trip with the trip cost calculator on FuelPriceCalculator.com.

How do I convert MPG to L/100 km?

235.215 ÷ MPG = L/100 km

Divide 235.215 by the MPG figure. A car that gets 30 MPG uses about 7.84 liters per 100 km. Lower is better in L/100 km, the opposite of MPG. The calculator above shows both.

Why is my MPG lower than the EPA rating?

Lab test vs. your driving

EPA ratings come from standardized tests so every car is measured the same way. Speed, cold weather, idling, short trips, cargo and tire pressure all pull real-world mileage down. Look up your car's rating and compare it with what the calculator gives you.

How this site works

Gas Mileage Calculators is built and maintained by Cedrick Reese. The calculators use the standard fuel economy formulas, and each one is tested against hand-worked examples before it goes live. Vehicle ratings come straight from the U.S. EPA fuel economy dataset on fueleconomy.gov, and every vehicle page links back to its EPA record so you can check the numbers yourself. When the EPA adds a new model year or corrects a rating, the vehicle pages are rebuilt from the updated file. Cost results always use the gas price you enter, so they fit your area instead of a national average.

Ratings on this page come from the EPA file downloaded on October 1, 2026.

Sources