Fuel economy

MPG calculator: work out your fuel economy

To calculate MPG, divide the miles you drove by the gallons it took to refill the tank. 300 miles on 45 litres (9.90 imperial gallons) is 30.31 imperial MPG, which is 25.24 US MPG, 9.32 L/100 km or 10.73 km/L. Type your own miles and litres into the MPG calculator below, or convert a figure you already have, in any of the four units.

Line illustration of a desktop calculator with blank keys and an amber display, beside a fuel nozzle releasing a single amber drop

In short

  • MPG is miles driven divided by gallons used; L/100 km is litres times 100 divided by kilometres.
  • Divide 235.215 by US MPG to get L/100 km, the factor NIST publishes; the same division converts back.
  • An imperial gallon is 4.546 litres and a US gallon 3.785, so imperial MPG reads about 20% higher.
  • Measure between two full fill-ups: a partial fill makes the figure inaccurate, says fueleconomy.gov.
  • The average new US vehicle of model year 2024 reached a record 27.2 mpg in real-world terms (EPA), which is 8.65 L/100 km.

How do you use this MPG calculator?

The MPG calculator has two modes. Distance and fuel takes the distance you drove and the fuel you used, in miles and imperial gallons, miles and US gallons, miles and litres, or kilometres and litres. Convert a figure takes a fuel economy you already have, such as a European review quoting L/100 km, and turns it into the other three units.

Both modes show the result four ways as you type: MPG with imperial gallons, MPG with US gallons, litres per 100 kilometres and kilometres per litre. For a real figure, enter the trip meter reading since your last full tank and the litres the pump showed when you filled up again. The arithmetic runs in your browser, and nothing you type is sent anywhere.

What is the MPG formula?

MPG, miles per gallon, is the distance driven divided by the fuel used: miles ÷ gallons. fueleconomy.gov describes the same odometer method: the miles travelled since the last fill-up divided by the gallons it took to fill the tank. A higher MPG means a more economical car.

The metric world states fuel economy the other way round. L/100 km is litres × 100 ÷ kilometres, the fuel needed to cover 100 kilometres, so a lower number is better. km/L is kilometres ÷ litres, the metric twin of MPG, used in Japan, Korea and Brazil. The full method at the pump, with partial fills and trip cost, is in how to calculate fuel economy step by step.

Fuel economy formulas by unit
UnitFormulaBetter whenCommon in
MPG (US)miles ÷ US gallonsHigherUnited States
MPG (imperial)miles ÷ imperial gallonsHigherUnited Kingdom
L/100 kmlitres × 100 ÷ kmLowerMost of Europe
km/Lkm ÷ litresHigherJapan, Korea, Brazil

How do you convert MPG to L/100 km?

To convert MPG to L/100 km, divide 235.215 by the US MPG figure. That is the factor NIST's Guide to the SI gives for fuel consumption: 235.215 ÷ 30 MPG gives 7.84 L/100 km. For km/L, multiply US MPG by 0.4251437, the NIST factor for miles per gallon to kilometres per litre, so 30 MPG is 12.75 km/L.

An imperial MPG figure needs its own constant, because the gallon is larger: divide 282.481 by imperial MPG to get L/100 km. That number is 100 × 4.54609 ÷ 1.609344, the litres in an imperial gallon over the kilometres in a mile. The table below runs the conversion for common US figures, including the 30 mpg to L/100 km case people search for most.

US MPG converted to L/100 km, km/L and imperial MPG
MPG (US)L/100 kmkm/LMPG (imperial)
1515.686.3818.01
2011.768.5024.02
259.4110.6330.02
307.8412.7536.03
356.7214.8842.03
405.8817.0148.04
504.7021.2660.05

Computed with the NIST factors: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 L, 1 imperial gallon = 4.54609 L (NIST SP 811, Appendix B.8).

How do you convert L/100 km to MPG?

To convert L/100 km to MPG, use the same number the other way: divide 235.215 by the L/100 km figure to get US MPG. A car rated at 6 L/100 km does 235.215 ÷ 6 = 39.20 US MPG. For imperial MPG, divide 282.481 by L/100 km instead, which gives 47.08 for the same car.

km/L converts to L/100 km by dividing 100 by it, so 20 km/L is 5 L/100 km. The table below covers the range most car reviews quote, from 4 L/100 km to 15 L/100 km.

L/100 km converted to US MPG, imperial MPG and km/L
L/100 kmMPG (US)MPG (imperial)km/L
458.8070.6225.00
547.0456.5020.00
639.2047.0816.67
733.6040.3514.29
829.4035.3112.50
1023.5228.2510.00
1219.6023.548.33
1515.6818.836.67

Computed with the NIST factors in NIST SP 811, Appendix B, factors by kind of quantity.

What is the difference between US and imperial MPG?

US and imperial MPG use different gallons. NIST lists the US gallon at 3.785 412 litres and the imperial gallon, which it lists for the United Kingdom and Canada, at 4.546 09 litres. The imperial gallon is about 20% larger, so the same car covers about 20% more miles on it.

In numbers: imperial MPG is US MPG × 1.20095. A car doing 30 MPG with US gallons does 36.03 MPG with imperial gallons, and a British review quoting 50 MPG describes a car that does 41.63 US MPG. Two MPG figures from different countries are not comparable until both use the same gallon. The calculator uses 3.785411784 litres for the US gallon, which NIST rounds to 3.785 412, and the mile of exactly 1.609344 km.

How do you measure MPG accurately at the pump?

An accurate MPG comes from two full tanks, not from one. fueleconomy.gov's MPG tracker asks for at least two consecutive fill-ups where the tank is filled completely, and warns that a partial fill makes the estimate inaccurate. A fill-up you forgot to record makes the miles too high, because the distance of two tanks lands on the gallons of one.

WrenchTime, a fuel log for iPhone, does the same tank-to-tank arithmetic from the fill-ups you log: a full-tank flag closes each interval, and a missed fill-up is flagged and left out instead of producing an impossible figure. By hand, the routine below gives a figure you can trust after a few tanks, and how to calculate fuel economy covers partial fills and averaging over several tanks.

  • Fill up to the first click. Stop when the nozzle shuts off, the same way every time, so each tank ends at the same level.
  • Reset the trip meter. Or write down the odometer reading, so the distance starts from a full tank.
  • Drive normally. A longer interval smooths out one day of traffic or one cold morning.
  • Fill up to the first click again. The litres on the pump display are the fuel the car used since the last fill-up.
  • Divide miles by gallons. Divide the litres by 4.546 to get imperial gallons, or enter the litres directly in the calculator above, then repeat over several tanks and average total miles over total gallons.
Three line drawings of the full-tank method: a car filled to the top, driven along a road, then refilled, the refilled fuel shown in amber
The full-tank method: fill up, drive, refill to the same level, and divide the miles by the fuel it took.

What is a good MPG?

A good MPG is one at or above the average for your type of vehicle. The EPA's latest Automotive Trends Report, updated on 19 February 2026, puts the average new vehicle of model year 2024 at a record 27.2 mpg in estimated real-world fuel economy, up 0.1 mpg on the year before. That is 8.65 L/100 km or 11.56 km/L.

Body style moves the yardstick. The same report puts truck SUVs at a new high of 25.7 mpg for model year 2024, up 1.0 mpg, while sedans, wagons and car SUVs fell. The best comparison for your own car is its own history: a figure that drops against the tanks before it says more than any national average.

Why is my MPG lower than the window sticker?

The window sticker is built for comparing cars, not for predicting yours. fueleconomy.gov says the EPA ratings are a useful tool for comparing vehicles but may not predict the average MPG you will get. The estimates come from laboratory tests run by manufacturers under federal rules, and the EPA re-tests about 10% of models.

The test also assumes conditions most drivers never see: flat ground and about 300 pounds of passengers and cargo, according to fueleconomy.gov. Driving style, climate control, fuel blend and a new engine move the result, each by the amounts below. Which habits to change first is in how to improve fuel economy.

Why real MPG differs from the EPA estimate
FactorEffect on MPGWhy it matters
Aggressive acceleration and brakingRoughly 15% to 30% lower at highway speeds, 10% to 40% in stop-and-go trafficA habit the driver controls
Air conditioning on MaxRoughly 5% to 25% lowerHot-weather tanks can read lower
Petrol with 10% ethanol3% to 4% lowerThe blend at the pump changes the figure, not the car
Engine break-inFull economy may take 3,000 to 5,000 milesA new car's first tanks understate it
Hills and loadsThe test assumes flat ground and about 300 pounds aboardMountain roads and a full car sit outside the test

Source: fueleconomy.gov, Factors That Affect Fuel Economy.

Track your MPG from every fill-up

The calculator answers one tank; a log answers every tank. WrenchTime computes tank-to-tank consumption from the fill-ups you record, in MPG (US), MPG (imperial), L/100 km or km/L, with US and imperial gallons kept as separate units. It warns you when your economy drops against your own history, with a sheet that explains what changed.

The free version covers 1 vehicle and 3 fuel entries per month, with no account and no ads. How the economy is computed, and what the missed fill-up flag does, is in the fuel economy tracker guide; other apps are side by side in fuel economy apps compared.

WrenchTime fuel log on iPhone with fill-ups, volume, cost and tank-to-tank economy

Frequently asked questions

How do you calculate MPG?

Divide the miles driven since the last full tank by the gallons it took to refill it: 300 miles on 45 litres (9.90 imperial gallons) is 30.31 MPG. fueleconomy.gov asks for two consecutive full fill-ups, because a partial fill makes the figure inaccurate.

How do I convert MPG to L/100 km?

Divide 235.215 by the US MPG figure, the factor NIST publishes. 30 MPG is 7.84 L/100 km and 25 MPG is 9.41 L/100 km. The same division turns L/100 km back into US MPG.

Why is UK MPG higher than US MPG?

A UK gallon is 4.546 litres and a US gallon is 3.785, so the same car covers about 20% more miles per imperial gallon. 30 MPG (US) is 36.03 MPG (imperial); convert before comparing figures from the two countries.

What is a good MPG for a car?

The EPA's latest trends report puts the average new vehicle of model year 2024 at a record 27.2 mpg in real-world terms, and truck SUVs at 25.7 mpg. A figure at or above the average for your type of vehicle is good.

How many km per litre is 30 MPG?

30 MPG (US) is 12.75 km/L, because one US mile per gallon equals 0.4251437 km/L according to NIST. In L/100 km the same figure is 7.84, and in imperial MPG it is 36.03.

Sources

  1. odometer method fueleconomy.gov
  2. NIST's Guide to the SI nist.gov
  3. NIST SP 811, Appendix B.8 nist.gov
  4. Automotive Trends Report epa.gov
  5. are a useful tool for comparing fueleconomy.gov
  6. about 10% of models fueleconomy.gov
  7. fueleconomy.gov fueleconomy.gov
WrenchTime app icon, orange engine and wrench

Made for people who would rather know than guess.

Free to download. One vehicle, real features, no ads. Your garage will thank you.

Download WrenchTime on the App Store