Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Miles Gallon Calculator

MPG Calculator works out Converted economy and Converted unit from Fuel economy, Entered in and Convert to. The default figures on this page give converted economy of 28.0000; change any entry and the result, the working and the sources update together.

Converted economy
28.0000
Fuel Economy Converter and MPG Calculator
Converted unit
Miles per US gallon (mpg, US)
Miles per US gallon
28.0000 mpg
Miles per imperial gallon
33.6266 mpg
Kilometres per litre
11.9040 km/L
Litres per 100 km
8.4005 L/100km
Miles per litre
7.3968 mi/L
Kilometres per US gallon
45.0616 km/gal
US gallons per mile
0.035714 gal/mi
US gallons per 100 miles
3.5714 gal/100 mi
Fuel needed for the distance
12.5000
Fuel volume unit
US gallons
Fuel cost for the distance
45.00
Fuel cost per distance unit
0.1286
Worked out from NIST Handbook 44, Appendix C - General Tables of Units of Measurement and 3 other sources.

Your figures

Updates as you type
Formatting only. This does not change the calculation.
Choose "distance and fuel used" to work economy out from a tank fill.
Used when converting an existing figure.
Odometer difference between two fill-ups. Used in "distance and fuel used" mode, and as the trip length when converting.
Volume needed to refill the tank after that distance.
Price per unit of the fuel volume unit above (per US gallon, per imperial gallon or per litre).

How this is worked out

5 steps
  1. Distance 350 mi = 563.2704 km; fuel 12.5 gal-us = 47.3176 L.
  2. Economy = 563.2704 km / 47.3176 L = 11.90402 km/L.
  3. 11.904024 km/L = 28 mpg-us.
  4. Fuel for 350 mi = 563.2704 km / 11.904024 km/L = 47.3176 L = 12.5 gal-us.
  5. Cost = 12.5 gal-us x 3.6 = 45, i.e. 0.1286 per mi.

Its 7 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
NIST Handbook 44, Appendix C - General Tables of Units of Measurement
US liquid gallon = 231 cubic inches exactly; international inch = 25.4 mm exactly.
Weights and Measures Act 1985 (UK), Schedule 1
Imperial gallon = 4.546 09 litres exactly.
US EPA, Fuel Economy Guide - Fuel Economy and Annual Fuel Cost calculations
Cost per distance and annual fuel cost are computed as fuel volume x price, the same arithmetic used here.

What the MPG Calculator calculates

Converts between miles per gallon (US and imperial), kilometres per litre and litres per 100 km, and works out trip fuel use, fuel cost and measured economy from distance and fuel volume.

How to use this MPG Calculator

Enter Fuel economy, Entered in, Convert to and Distance travelled. Converted economy updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Converted economy, Converted unit and Miles per US gallon.

The method follows NIST Handbook 44, Appendix C - General Tables of Units of Measurement, NIST Special Publication 811, Guide for the Use of the International System of Units (SI), Weights and Measures ACT 1985 (UK), Schedule 1 and US EPA, Fuel Economy Guide - Fuel Economy and Annual Fuel Cost calculations.

What you can compare

Change one input at a time to see how it affects Converted economy, Converted unit and Miles per US gallon. The inputs you can vary are Fuel economy, Entered in, Convert to, Distance travelled, Distance unit and Fuel used.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How many miles does 1 gallon?

On the figures this page opens with — fuel economy 1 — the converted economy is 28. No single number fits everyone: change any figure above and the answer updates as you type, with each step of the arithmetic beside it.

How do I convert miles to gallons?

Converts between miles per gallon (US and imperial), kilometres per litre and litres per 100 km, and works out trip fuel use, fuel cost and measured economy from distance and fuel volume. Open “How this is worked out” beside the result to see each step for your own figures.

How do I calculate miles per gallon?

It needs Fuel economy, Entered in, Convert to, Distance travelled, Distance unit and Fuel used. Nothing else is required, and the figures stay in your browser.

How much is 1 mile per gallon?

The result gives Converted economy, Converted unit, Miles per US gallon, Miles per imperial gallon, Kilometres per litre and Litres per 100 km, each labelled with its unit so the figure can be read on its own.

What information do I need for the MPG Calculator?

You need Fuel economy, Entered in, Convert to, Distance travelled, Distance unit, Fuel used, Fuel volume unit and Fuel price. The page opens with default figures that give converted economy of 28.0000, so you can see the scale before entering your own.

What does this MPG Calculator show?

It shows Converted economy, Converted unit, Miles per US gallon, Miles per imperial gallon, Kilometres per litre, Litres per 100 km, Miles per litre and Kilometres per US gallon, with the working and any warnings for your entries.

Related calculators

View all related calculators9 more