Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Gas Efficiency Calculator

Gas efficiency calculator works out Converted economy and Converted unit from Distance travelled, Fuel used and Fuel price. 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.
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 gas efficiency 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 gas efficiency calculator

Enter Distance travelled, Fuel used and Fuel price. 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 Distance travelled, Fuel used and Fuel price.

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 to calculate fuel efficiency in miles per gallon?

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 many miles is $30 of gas?

On the figures this page opens with — distance travelled 350, fuel used 12.5 and fuel price 3.6 — 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.

What information do I need for the gas efficiency calculator?

You need Distance travelled, Fuel used 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 gas efficiency 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.

Can I check how the gas efficiency calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators11 more