Skip to content
Verify InstituteA little more certainty.No account required
Methods and assumptions documented

MPG & Fuel Economy Calculator

Calculate economy from matched distance and fuel records, or convert a known value. Compare a second economy over the same distance, with optional supplied-price cost.

Your measured or known fuel economy

See the method ↓

Enter 30 for 30 mpg (miles per gallon), or 8 for 8 L/100 km. US and imperial gallons differ. Unit changes convert your value; exact conversions are retained until edited. Prices use whole currency units, such as 3.50 dollars per gallon.

Loading calculator… If this message remains, reload the page.

Use matched full-to-full intervals. Partial top-ups may not equal fuel consumed. Records are combined by total distance and total fuel.

Fill-up 1

Optional comparison & fuel price

A and B use the same distance and one supplied price for the same type of liquid fuel. Blank comparison means no savings claim; blank price keeps cost unknown.

Calculations run on your device. Input values are not placed in the URL or sent to analytics.

HOW THE CALCULATION WORKS

Aggregate measured economy, exact unit conversion and a common-distance comparison

  1. Exact unit definitions: 1 mile = 1.609344 km; 1 US liquid gallon = 3.785411784 L; 1 imperial gallon = 4.54609 L. The US value follows from 231 cubic inches and 1 inch = 0.0254 m. Reciprocal conversions use these definitions, not rounded shortcut constants.
  2. Measured mode sums all entered distance and fuel in kilometres and litres. Litres/km = total litres ÷ total kilometres. Do not average the individual rows’ mpg values. Known mode instead converts the entered economy to litres/km.
  3. Equivalent ratios: L/100 km = litres/km × 100; km/L = 1 ÷ litres/km; US mpg = US litres/gallon ÷ (litres/km × km/mile), and similarly for imperial mpg.
  4. Projected fuel A/B = common projection distance × A/B litres/km. Fuel saving = A − B; fuel saving percentage = (A − B) ÷ A × 100. Positive means B uses less fuel; negative means B uses more.
  5. If a price is supplied, multiply each unrounded projected fuel quantity by the SAME price per litre. Cost saving = cost A − cost B.

Worked example

Measured records of 100 miles on 4 US gallons and 300 miles on 6 US gallons total 400 miles on 10 gallons: 40 US mpg, not the arithmetic mean 37.5. Compare B at 50 US mpg over 100 miles: A uses 2.5 US gallons, B uses 2, saving 0.5 gallon or 20%. At $4 per US gallon, costs are $10 versus $8, a $2 saving.

Defaults and assumptions

Limitations

Precision and rounding

Calculations use exact rational arithmetic (fractions). Changing a unit keeps the exact conversion until the value is edited; a note identifies rounded input displays. Quantity/rate precision defaults to 3 decimals; an approximation marker identifies non-exact displays. Money displays half-up to two decimals, with negative display ties away from zero. Exact inputs and results appear in calculation steps and downloadable records. Currency selectors label amounts; they do not convert exchange rates.

Sources

Use the assumptions, worked example and sources to interpret your result. Estimates do not replace professional advice.

How to use this calculator

  1. Choose measured fill-up records or a known economy. Use the unit dropdowns to identify miles/kilometres and US/imperial gallons correctly.
  2. For records, add matched distance/fuel intervals; the calculator sums both before calculating economy. For known mode, enter the stated ratio.
  3. Optionally enter comparison B, a common projection distance and one fuel price. Inspect both fuel quantities and the signed savings.

Common questions

Why not average the mpg from each fill-up?

Unequal records use unequal amounts of fuel. Total distance divided by total fuel gives the aggregate ratio; an arithmetic average of mpg can give a different answer.

Why is a higher mpg not the same percentage as a lower consumption?

The metrics are reciprocals. Going from 40 to 50 mpg increases distance per gallon by 25%, but reduces fuel used over the same distance by 20%. Savings here use the fuel-consumption comparison.

Can I use partial fill-ups or an electric vehicle?

Use matched fuel-consumed intervals. Unmatched partial fill-ups may mislead, and this tool does not account for electric energy or gasoline-equivalent energy.

Report a problem or suggest a calculator

Found a confusing result, a missing option, or an idea for a new calculator? Send it privately to the site owner.

Opening the form loads Cloudflare Turnstile, a spam check that processes connection and device information. Privacy details.

Related tools