1. Home
  2. Calculators
  3. MPG Calculator

MPG Calculator

For drivers who want the real economy of their car, in whichever units they know.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use MPG Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table.

Features

  • US and imperial mpg, L/100 km and km/L
  • One trip or a list of fill-ups
  • Each tank in a table
  • Fuel cost, cost per distance
  • Miles or kilometers, gallons or liters

Supported formats

Input

  • Typed distances and fuel
  • Typed fill-up lines

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the MPG Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • The fill-up method needs the tank filled to the same level each time.
  • Gallon sizes differ: a US gallon is 3.785 L and an imperial gallon is 4.546 L.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Working out fuel economy in mpg, litres per 100 km and km per litre, from a trip or a log of fill-ups

Fuel economy is one of the few numbers a driver can easily check against what the manufacturer claims. It needs only a distance and the amount of fuel burned over it. The trouble is units: miles per US gallon, miles per imperial gallon, litres per 100 kilometres and kilometres per litre are all in use. This page takes whichever units you have and returns all four, plus the money spent per mile or kilometre.

One trip

Enter the distance in miles or kilometres and the fuel in US gallons, imperial gallons or litres. The page converts to kilometres and litres, then derives each figure: litres per 100 km is the fuel in litres divided by the kilometres and multiplied by 100, kilometres per litre is its inverse, and miles per gallon divides the distance in miles by the gallons in the unit you want. The US and imperial values differ by the ratio of the gallons, 4.54609 to 3.785411784.

A log of fill-ups

Choose the list option and write one fill-up per line as an odometer reading and the fuel added, separated by a comma. The first line is the starting fill, which can have 0 for the fuel. Every later line gives the fuel added at a full tank, which is the fuel used since the line before. The page computes the economy for each tank, shows them in a table and then totals the distance and fuel to give the overall figure. Odometer readings must increase from line to line.

Costs

If you enter a fuel price, the page gives the cost of the fuel counted, the cost per mile or kilometre and the cost per 100 units of distance. The price is per the fuel unit you chose, so the gallon of your choice or the litre. This is a quick way to compare a trip by car with other transport, or to see the cost of a commute.

Edge cases

The distance and the fuel must be above zero in single trip mode. In fill-up mode each fuel amount after the first must be above zero and the odometer must increase. The method needs the same filling routine each time, because filling a little short one time shifts fuel from one tank to the next, although the total over many fills stays accurate. Mixed units in one list are not supported: use one distance unit and one fuel unit.

A worked example

300 miles on 10 US gallons is 30 mpg in US units, 36.0285 mpg in imperial units, 7.84049 litres per 100 km and 12.7543 km per litre. At 3.50 a gallon the fuel costs 35.00, which is 0.1167 a mile and 11.67 per 100 miles. For the log 12000 (start), 12390 with 11.2 gallons, 12781 with 11.6 and 13160 with 11.0, the tanks give 34.82, 33.71 and 34.45 mpg, and the total, 1,160 miles on 33.8 US gallons, is 34.3195 mpg, or 6.85367 litres per 100 km, with a fuel cost of 118.30. And 500 km on 40 litres is 8 litres per 100 km and 12.5 km per litre.

Limits

Real economy depends on speed, load, tyres, temperature and how you drive, so two tanks can differ by several percent even for the same car. The page does not read a trip computer, which can be a few percent optimistic, and it does not include electric vehicles or hybrids’ electricity. It also does not estimate carbon dioxide or the effect of ethanol blends.

Checked against the current version of the MPG Calculator on .

Frequently asked questions

Why is my mpg higher in UK units than in US units?

An imperial gallon holds about 20 percent more fuel than a US gallon, 4.546 litres against 3.785. The same distance on the same fuel therefore gives a larger number of miles per imperial gallon, about 1.2 times the US figure.

How accurate is the fill-up method?

It is as accurate as your filling. Fill the tank to the automatic click each time, in the same way, and the error in a tank is the difference in what is left in the filler neck. Use several fill-ups, because the total smooths out the unevenness of any one.

What is 300 miles on 10 US gallons?

30 mpg (US), which is 36.0285 mpg in imperial gallons and 7.84049 litres per 100 km.

How do I use the fill-up list?

Fill the tank each time and write the odometer reading and the fuel added on each line. The first line is the starting fill; the fuel on every later line is what was used since the one before.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.