100% Free No Sign-Up Unlimited Use No Limits Secure & Private
PDF Tools Calculators Categories Guides Contact No Sign-Up Needed to Use This Site
Result
--
Enter values to calculate.
Summary
--
Waiting for input
Detail
--
Waiting for input

Calculate fuel economy in miles per gallon, kilometers per liter, and liters per 100 km from a trip's distance traveled and fuel used.

How It Works

How Gas Mileage Calculator Works

The calculator first normalizes your inputs into consistent units — converting distance to miles if you entered kilometers, and fuel used to gallons if you entered liters — so the core calculation always works from the same base units.

Miles per gallon (MPG) is simply miles traveled divided by gallons used. From that same normalized data, the calculator also derives kilometers per liter and liters per 100 km, so you get all three common fuel economy figures from a single set of inputs regardless of which units you originally used.

Worked Example

See It In Action

Driving 300 miles and using 12 gallons of fuel gives a fuel economy of 25 MPG — equivalent to about 10.63 km/L, or 9.41 liters per 100 km.
Real-World Use Cases

Who Uses Gas Mileage Calculator and Why

  • Checking your actual fuel economy after a fill-up against the manufacturer's advertised MPG rating to see how real-world driving compares.
  • Tracking mileage over several fill-ups to spot a gradual drop in fuel economy that might signal a maintenance issue.
  • Converting a fuel economy figure from a foreign vehicle listing (often in km/L or L/100 km) into the MPG figure you're used to comparing against.
  • Verifying whether a driving style change — like reduced highway speed or lighter acceleration — is actually improving mileage.
Common Mistakes

Mistakes to Avoid

  • Calculating from a partial fill-up instead of a full tank to full tank measurement, which makes the fuel-used figure unreliable since it's an estimate rather than an exact amount.
  • Mixing distance units and fuel units inconsistently between two comparisons — for example measuring one tank in miles and gallons and another in kilometers and liters — which makes the resulting figures impossible to compare directly without conversion.
  • Including a fill-up that happened right after a long idle stretch or a period of unusually heavy short-trip city driving and treating the resulting figure as representative of typical mileage.
Pro Tips

Tips for Best Results

  • For the most consistent readings, fill the tank to the same point (the automatic shutoff click) each time, and reset your trip odometer at the same moment as the fill-up.
  • If you're comparing your figure against a spec sheet rating, remember spec sheet numbers are usually a blend of controlled highway and city cycles — a real-world figure that's somewhat lower is normal, not necessarily a problem.
Troubleshooting

Fixing Common Problems

My MPG result looks abnormally low. — Double check the fuel-used figure came from a full tank to full tank measurement, not a partial fill — a partial fill-up understates or overstates fuel used and skews the result in either direction.

The L/100 km and MPG figures don't seem to agree with each other for the same trip. — They shouldn't disagree if calculated from the same underlying trip — recheck that the same distance and fuel-used values were used, since L/100 km is an inverted scale and easy to misread against MPG at a glance.

Glossary

Terms Explained

Fuel economy: How far a vehicle travels per unit of fuel consumed, expressed here in MPG, km/L, or L/100 km depending on your preferred format.

Fill-to-fill method: Measuring fuel used by filling the tank completely at both the start and end of the distance being measured, rather than estimating from a gauge.

FAQ

Frequently Asked Questions

Why does a lower L/100km number mean better efficiency, while a higher MPG number does too?
MPG and km/L measure distance covered per unit of fuel, so more is better. L/100km measures fuel consumed over a fixed distance, so less is better — they're inverse ways of expressing the same underlying efficiency.
Does this calculator use US or imperial gallons?
US gallons (3.78541 liters) are used throughout. If you're working with imperial gallons (used in the UK, at about 4.546 liters), convert your fuel amount to US gallons first, or enter your fuel used in liters instead.
Should I use city, highway, or combined mileage for this?
Use whatever trip you actually measured — this calculator reflects the real-world mileage for that specific trip, which will naturally vary from a vehicle's official city, highway, or combined EPA rating.
What factors affect fuel economy in practice?
Driving speed, terrain, tire pressure, vehicle load, and aggressive acceleration or braking can all meaningfully change real-world fuel economy compared to a single measured trip.