Skip
CarAiCarAi
Home / How to calculate mpg

How to calculate mpg

Your dashboard's mpg is an estimate. The full-tank method gives you the real number in three steps.

CarAi · Updated November 2026

The full-tank method

  1. Fill up completely until the pump clicks off, and note the odometer reading. Don't top off.
  2. Drive as usual until your next fill-up.
  3. Fill up completely again. Note the odometer and the gallons added.

mpg = miles driven ÷ gallons added at the second fill-up.

Example (illustrative)

Odometer at first fill-up: 30,258. At the second: 30,544. Gallons added: 8.2. Miles driven = 286. 286 ÷ 8.2 = 34.9 mpg.

US vs. UK mpg

If you fill in liters or use imperial gallons, convert first: 1 US gallon = 3.785 l, 1 imperial gallon = 4.546 l. The mpg converter does it for you, and the fuel cost calculator computes mpg and cost per mile together.

Common mistakes

  • Topping off the tank inconsistently, which distorts the gallons.
  • Using one fill-up as the truth. Average over several; see keep a fuel log.
  • Ignoring conditions. Winter, city traffic and trailers change the number.

With CarAi you photograph the receipt and your average mpg and cost per mile are calculated automatically across all fill-ups.

FAQ

How do I calculate mpg?

Divide the miles driven between two full fill-ups by the gallons added at the second one.

Is the car's trip computer accurate?

It's an estimate and often reads optimistic. The full-tank method is based on what you actually bought.

CarAi – Your digital fuel log & service book.

Get it on the App StoreGet it on Google Play

Keep reading

Get it on the App Store