How it works
The most reliable way to know your car’s fuel economy is to measure it. Fill the tank, reset the trip odometer, and drive as usual. When you fill up again, note the distance on the trip odometer and how much fuel it took to fill the tank. Enter those two numbers and the calculator gives your fuel economy in liters per 100 km or miles per gallon (use the Metric and Imperial switch on the calculator), with the other units below.
You can also convert a fuel economy you already know, for example from a car review written in another country. Pick the unit you want, enter the number you have in any unit, and the calculator converts it.
Fuel economy units come in two kinds that run opposite ways. Liters per 100 km measures fuel used for a fixed distance, so lower is better. Miles per gallon and kilometers per liter measure distance for a fixed amount of fuel, so higher is better. That’s why converting between them takes a division, not a multiplication. A US gallon (3.785 L) is also smaller than a UK gallon (4.546 L), so the same car gets more miles per UK gallon.
The formula
From a trip:
- Liters per 100 km = liters used ÷ kilometers driven × 100
- Miles per gallon = miles driven ÷ gallons used
- Kilometers per liter = kilometers driven ÷ liters used
Converting:
- L/100 km = 235.2146 ÷ US mpg, and US mpg = 235.2146 ÷ L/100 km
- L/100 km = 282.4809 ÷ UK mpg, and UK mpg = 282.4809 ÷ L/100 km
- L/100 km = 100 ÷ km/L, and km/L = 100 ÷ L/100 km
The constants come from the exact unit sizes: 235.2146 is 100 × 3.785411784 (liters in a US gallon) ÷ 1.609344 (kilometers in a mile), and 282.4809 uses the UK gallon’s 4.54609 liters instead. To go between two units that aren’t L/100 km, like US mpg to UK mpg, the calculator goes through L/100 km.
Some common values:
| L/100 km | US mpg | UK mpg | km/L |
|---|---|---|---|
| 4 L/100 km | 58.8 mpg (US) | 70.6 mpg (UK) | 25 km/L |
| 5 L/100 km | 47 mpg (US) | 56.5 mpg (UK) | 20 km/L |
| 6 L/100 km | 39.2 mpg (US) | 47.1 mpg (UK) | 16.7 km/L |
| 7 L/100 km | 33.6 mpg (US) | 40.4 mpg (UK) | 14.3 km/L |
| 8 L/100 km | 29.4 mpg (US) | 35.3 mpg (UK) | 12.5 km/L |
| 9 L/100 km | 26.1 mpg (US) | 31.4 mpg (UK) | 11.1 km/L |
| 10 L/100 km | 23.5 mpg (US) | 28.2 mpg (UK) | 10 km/L |
| 12 L/100 km | 19.6 mpg (US) | 23.5 mpg (UK) | 8.3 km/L |
| 15 L/100 km | 15.7 mpg (US) | 18.8 mpg (UK) | 6.7 km/L |
Worked example
Want this with your own numbers? See Show the work above.
You drove 500 km since your last full tank, and it took 35 liters to fill up again.
- Divide the fuel by the distance: 35 L ÷ 500 km = 0.07 L per km.
- Multiply by 100: 0.07 × 100 = 7 L/100 km.
That’s 14.29 km/L, 33.6 US mpg, or 40.35 UK mpg. In miles and US gallons it works the same way: 300 miles on 10 gallons is 300 ÷ 10 = 30 mpg.
FAQ
How do I calculate my gas mileage?
Fill the tank completely and reset the trip odometer. Drive until the tank is low, then fill it completely again. Divide the miles on the trip odometer by the gallons it took to refill. For the best result, average over several tanks, since how full the pump fills the tank varies a little each time.
How do I convert mpg to L/100 km?
Divide 235.2146 by the US mpg, or 282.4809 by the UK mpg. So 30 US mpg is 235.2146 ÷ 30 = 7.84 L/100 km. The same formula works in reverse: 235.2146 ÷ 7.84 is 30 mpg.
Why is my mpg lower than the sticker says?
Official ratings come from standardized lab tests, and real driving usually differs: speed, short trips, cold weather, idling, air conditioning, roof racks, and tire pressure all change how much fuel you use. Measuring your own mileage over a few tanks tells you what your car really gets on your routes.
Is a UK gallon the same as a US gallon?
No. A UK (imperial) gallon is 4.54609 liters and a US gallon is 3.785411784 liters, so a UK gallon is about 20% bigger. The same car gets about 20% more miles per UK gallon than per US gallon, which is why UK mpg figures look higher. Make sure you know which gallon a figure uses before comparing cars.
Is a lower or higher number better?
It depends on the unit. For liters per 100 km, lower is better: the car uses less fuel for the same distance. For miles per gallon and kilometers per liter, higher is better: the car goes farther on the same fuel.
What’s the difference between fuel economy and fuel consumption?
Fuel economy usually means distance per fuel (mpg or km/L), and fuel consumption means fuel per distance (L/100 km). They describe the same thing from opposite directions, and this calculator gives both.
Sources
- Miles per gallon from a full tank: U.S. DOE and EPA, fueleconomy.gov, “Calculating Your MPG”
- Liters per 100 km, and converting it to US and imperial mpg: Natural Resources Canada, “Understanding the tables”
- Liters per 100 km and km/L from a trip: Driver Knowledge Tests, “Calculating fuel economy and usage”
- Mile per gallon in metric units: NIST Guide to the SI (SP 811), Appendix B.8
Cite this page
APA (7th edition)
Mathlark. (2026, October 1). Fuel economy calculator. https://mathlark.com/auto/fuel-economy-calculator/
MLA (9th edition)
"Fuel Economy Calculator." Mathlark, 1 Oct. 2026, mathlark.com/auto/fuel-economy-calculator/.