MPG Calculator: Know Your Car’s True Fuel Economy

Calculate Your Real Miles Per Gallon

Enter your MPG, then fill either box. Leave the other blank.

How to Calculate MPG (Step by Step)

Getting an accurate MPG takes one habit at the pump and a little patience across a few tanks. Fill the tank all the way and wait for the pump to click off on its own rather than stopping early. Zero your trip meter right then, before you pull out of the station, so the count starts clean.

Drive the way you normally would after that, city and highway mixed as usual. When it is time to fill up again, top it off the same way, then write down what the trip meter reads and how many gallons went in. Do this two or three times rather than once, because a single tank can easily lie to you.

Three tanks might give you 27.8, 29.1, and 28.4. Average them and you land at 28.4 MPG, a number you can trust far more than any single fill-up would hand you.

MPG Formula (With Worked Examples)

The MPG formula is simple: miles driven divided by gallons used to refill.

MPG = Miles Driven ÷ Gallons Used

A few worked examples show how it plays out:

  • Drive 260 miles, refill with 9.3 gallons: 260 ÷ 9.3 = about 28 MPG.
  • Drive 429 miles, refill with 13 gallons: 429 ÷ 13 = 33 MPG.
  • Drive 450 miles, refill with 10 gallons: 450 ÷ 10 = 45 MPG.
  • Drive 242.4 miles, refill with 14 gallons: 242.4 ÷ 14 = 17.3 MPG.

The math never changes, only your two numbers do. Enter your own miles and gallons in the calculator above and it returns the exact figure, usually a touch different from whatever your dashboard has been claiming.

How Far Can You Drive on a Tank of Gas?

Dashboard MPG vs Hand-Calculated MPG

Why Real-World MPG Is Lower Than the Sticker

What Your MPG Result Means

What Is a Good MPG by Vehicle Type

Sudden MPG Drop: What It Might Mean

Does MPG Get Worse as a Car Ages?

How Driving Style Changes Your MPG

How to Improve Your MPG

How to Convert MPG to L/100km

Fuel Economy Benchmarks by Country

Find Your Car’s Official MPG by Make and Model

How Much Money Better MPG Saves You

Related Calculators

Frequently Asked Questions

This MPG calculator uses the standard fuel economy formula, dividing the miles you drove by the gallons used to refill the tank. Cost per mile multiplies gallons by the price per gallon you enter and divides by the miles covered, and the L/100km equivalent comes from dividing 235.215 by your US MPG. Every calculation runs instantly in your browser, and nothing you enter is stored or sent anywhere.

Benchmark ranges draw on published EPA fuel economy data alongside typical real-world results for gas-powered US models from 2020 onward, so treat them as reliable guides rather than exact guarantees for any single car.

Reviewed for accuracy by the FuelConsumptionCalc editorial team. Last updated September 2026.

  • U.S. Environmental Protection Agency and Department of Energy, Fuel Economy data (fueleconomy.gov)
  • U.S. Department of Energy, Driving More Efficiently guidance (energy.gov)
  • U.S. EPA, How Vehicles Are Tested for Fuel Economy (epa.gov)