Gas Mileage / Fuel Economy Calculator

Gas Mileage / Fuel Economy Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

MPG (US)=dmiVgalL/100km=100VLdkmwhere{dkm=Distance×{1.609344miles1kmVL=Fuel Used×{3.785412US gal4.54609Imp gal1litersdmi=dkm1.609344Vgal=VL3.785412\begin{gathered} \text{MPG (US)} = \frac{d_{mi}}{V_{gal}} \qquad \text{L/100km} = \frac{100\,V_{L}}{d_{km}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} d_{km} &= \text{Distance} \times \begin{cases} 1.609344 & \text{miles} \\ 1 & \text{km} \end{cases} \\ V_{L} &= \text{Fuel Used} \times \begin{cases} 3.785412 & \text{US gal} \\ 4.54609 & \text{Imp gal} \\ 1 & \text{liters} \end{cases} \\ d_{mi} &= \dfrac{d_{km}}{1.609344} \qquad V_{gal} = \dfrac{V_{L}}{3.785412} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Fuel Economy
20.83
MPG (US)
Miles per US gallon (MPG US) 20.83 mpg (US)
Miles per Imperial gallon (MPG Imp) 25.02 mpg (Imp)
Kilometers per liter (km/L) 8.86 km/L
Liters per 100 km (L/100km) 11.29 L/100km
Distance (miles) 250 mi
Distance (km) 402.34 km
Fuel 45.42 L

Report an error on this page

What this calculator does

This gas mileage (fuel economy) calculator works out how efficiently your vehicle uses fuel from two simple numbers: the distance you traveled and the amount of fuel you consumed. It is a pure unit-conversion and arithmetic tool, so it applies anywhere in the world. It reports your result in four common formats at once: MPG (US), MPG (Imperial), kilometers per liter (km/L) and liters per 100 km (L/100km). "Gas" or "gasoline" here means petrol.

How to use it

Choose how you want to enter distance. With Trip Distance you type a single distance value; with Odometer Readings you enter the start and end odometer values and distance is computed as end minus start. Pick the distance unit (miles or km) and enter the fuel used along with its unit (US gallons, Imperial gallons or liters). Optionally add a fuel price (per gallon or liter) to get the total trip cost and cost per mile/km, or a per-distance price for a mileage-reimbursement style total.

The formula explained

Distance and fuel are first normalized to a canonical set of units. Then $$\text{MPG (US)} = \dfrac{\text{miles}}{\text{US gallons}}$$ $$\text{MPG (Imperial)} = \dfrac{\text{miles}}{\text{Imperial gallons}}$$ $$\text{km/L} = \dfrac{\text{km}}{\text{liters}}$$ and $$\text{L/100km} = \dfrac{\text{liters}}{\text{km}} \times 100$$ Note that a US gallon (\(3.785411784\ \text{L}\)) is smaller than an Imperial gallon (\(4.54609\ \text{L}\)), so the same fuel gives a higher MPG figure in Imperial units. L/100km is inverse: lower is better.

Advertisement
Diagram of distance divided by fuel volume giving fuel economy
Fuel economy is distance traveled divided by the fuel used.

Worked example

Drive 250 miles on 12 US gallons. $$\text{MPG (US)} = \frac{250}{12} = 20.83$$ Converting, \(12\ \text{US gal} = 45.42\ \text{L} = 9.99\ \text{Imp gal}\) and \(250\ \text{mi} = 402.34\ \text{km}\), so MPG (Imp) = 25.02, km/L = 8.86 and L/100km = 11.29. At $3.50 per US gallon the trip costs $$3.50 \times 12 = \$42.00$$ or about $0.168 per mile.

Comparison of MPG US, MPG Imperial, km per liter and liters per 100km units
The same trip expressed in different units; note that L/100km gets lower as efficiency improves.

Fuel prices this week: United States

Average retail prices of regular gasoline and diesel across the United States, week of 2026-11-16, taxes included, as published by the U.S. Energy Information Administration. Use them as the fuel price in the calculator above.

Regular gasoline (2026-11-16)
$3.805/gal +24.3% since 2025-11-17
Diesel (2026-11-16)
$5.937/gal +53.5% since 2025-11-17
Regular gasoline ($/gal)

World crude oil prices, October 2026

World market prices of crude oil in U.S. dollars per barrel, monthly averages from the World Bank. These are commodity prices, not pump prices: the price at the pump also includes refining, distribution and taxes, and it differs from country to country.

Crude oil, average of Brent, Dubai and WTI (2026-10)
$108.50/bbl +72.2% since 2025-10
Brent (2026-10)
$125.00/bbl +93.2% since 2025-10
WTI (2026-10)
$97.70/bbl +62.3% since 2025-10
Dubai (2026-10)
$102.70/bbl +59.7% since 2025-10
Crude oil, average of Brent, Dubai and WTI (2026-10) ($/bbl)

Pump prices in the EU, week of 2026-11-09

Pump prices of petrol (Euro-super 95) and diesel by EU country, week of 2026-11-09, taxes included. Use them as the fuel price in the calculator above.

EU average (petrol)
1.877 €/L
  1. Denmark2.391
  2. Netherlands2.196
  3. Finland2.144
  4. France2.088
  5. Germany2.067
  6. Greece2.042
  7. Italy1.995
  8. Ireland1.958
  9. Portugal1.922
  10. Latvia1.846
  11. Romania1.844
  12. Belgium1.844
  13. Lithuania1.843
  14. Estonia1.805
  15. Croatia1.749
  16. Spain1.730
  17. Cyprus1.699
  18. Slovakia1.691
  19. Hungary1.673
  20. Austria1.670
  21. Czechia1.653
  22. Slovenia1.634
  23. Luxembourg1.627
  24. Bulgaria1.582
  25. Sweden1.437
  26. Poland1.384
  27. Malta1.340
Petrol 95 (€/L)
CountryPetrol 95 (€/L)Diesel (€/L)
Denmark2.3912.435
Netherlands2.1962.361
Finland2.1442.485
France2.0882.178
Germany2.0672.253
Greece2.0422.099
Italy1.9952.218
Ireland1.9582.119
Portugal1.9222.135
Latvia1.8462.083
Romania1.8442.033
Belgium1.8442.357
Lithuania1.8432.225
Estonia1.8052.084
Croatia1.7492.025
Spain1.7301.898
Cyprus1.6992.000
Slovakia1.6911.965
Hungary1.6731.985
Austria1.6702.087
Czechia1.6531.899
Slovenia1.6341.950
Luxembourg1.6271.987
Bulgaria1.5821.896
Sweden1.4371.954
Poland1.3841.753
Malta1.3401.210

Latest figure: 2026-11-16 Data last updated 2026-11-17 · current

Source: U.S. Energy Information Administration (EIA), Gasoline and Diesel Fuel Update Public domain (U.S. government work); World Bank, Commodity Markets (Pink Sheet), modified CC BY 4.0; © European Union, Weekly Oil Bulletin (European Commission) CC BY 4.0

Prices per litre are converted by CalculatorLib from the bulletin's prices per 1,000 litres. Changes over one year are computed by CalculatorLib.

Source details and methodology

Fuel prices in United States: all figures and history

FAQ

Why are US and Imperial MPG different? Because the gallons differ in size. An Imperial gallon is about 20% larger, so Imperial MPG figures are about 20% higher for the same real economy.

Is lower L/100km better? Yes. L/100km measures fuel used per fixed distance, so a smaller number means a more efficient vehicle.

Can I use odometer readings? Yes. Switch to Odometer Readings and enter the start and end values; the distance is the difference, which must be positive.

Last updated:

Most popular in Personal Finance

View all Personal Finance calculators