Fuel Mileage Calculator

Fuel mileage calculator that takes distance driven and fuel used, and returns MPG (US), MPG (UK), L/100km, and km/L.

Everyday Multi-unit Efficiency rating
Rate this calculator · 5.0 (2)

Fuel Mileage Calculator

MPG · L/100km · km/L · US and UK gallons

Instructions — Fuel Mileage Calculator

1

Pick your units

Toggle the distance unit (miles or km) and the fuel unit (US gallons, UK gallons, or litres). The calculator converts internally so you can mix any combination. For example, miles plus litres works fine.

2

Enter trip data

Type in the distance driven since the last fill-up and the fuel needed to fill the tank back up. The reset-odometer method is the standard procedure: tank full, drive, fill again, divide.

3

Read every scale

The headline shows the most familiar number for your unit setup (MPG for imperial, L/100km for metric). The stats grid breaks out all four economy figures — MPG US, MPG UK, L/100km, km/L — plus an efficiency rating.

EPA caveat: the EPA window-sticker MPG is measured in a lab. Real-world MPG runs 10-15 percent lower than the city rating and 5-10 percent lower than the highway rating for most cars.
Tank pressure: a tire under-inflated by 7 psi loses about 1 percent fuel economy. Check pressures monthly.

Formulas

Fuel mileage is a ratio: distance per unit of fuel, or the inverse, fuel per fixed distance. The three working forms (MPG, L/100km, km/L) describe the same physical efficiency in different units.

MPG (US)
$$ \text{MPG}_{US} = \frac{D_{\text{miles}}}{F_{\text{US gal}}} $$
Miles driven divided by US gallons used. Standard in the United States. 1 US gallon = 3.78541 litres exactly.
MPG (UK)
$$ \text{MPG}_{UK} = \frac{D_{\text{miles}}}{F_{\text{UK gal}}} $$
Miles divided by Imperial gallons. Used in the UK. 1 UK gallon = 4.54609 L, about 20 percent bigger than the US gallon, so MPG (UK) numbers run 20 percent higher than MPG (US) for the same car.
L per 100 km
$$ \text{L/100km} = \frac{F_{\text{L}} \times 100}{D_{\text{km}}} $$
Litres needed per 100 km. Used everywhere outside the US and UK. Lower is better — opposite of MPG.
MPG to L/100km
$$ \text{L/100km} = \frac{235.215}{\text{MPG}_{US}} $$
Quick swap: divide 235.215 by MPG to get L/100km. The constant comes from 100 km / 1.60934 km/mi x 3.78541 L/gal.
km per L
$$ \text{km/L} = \frac{D_{\text{km}}}{F_{\text{L}}} $$
Kilometres per litre. Less common than L/100km but more intuitive (higher = better). 1 km/L = 235.215 / km/L for MPG (US).
Cost per mile
$$ \text{Cost/mi} = \frac{\text{Price/gal}}{\text{MPG}} $$
Fuel cost per mile. Multiply by annual miles to estimate the yearly fuel bill. A 30-MPG car at $3.50/gal costs about $0.117 per mile.

Reference

MPG ↔ L/100km — quick conversion
MPG (US)MPG (UK)L/100kmkm/LRating
151815.76.4Low
182213.17.7Low
202411.88.5Average
222610.79.4Average
25309.410.6Average
28348.411.9Good
30367.812.7Good
32387.413.6Good
35426.714.9Good
40485.917.0Excellent
45545.219.1Excellent
50604.721.2Excellent
55664.323.4Excellent
60723.925.5Excellent

Typical EPA ratings (2024 model year)

From EPA fueleconomy.gov; values are combined city + highway MPG (US).

G Gasoline
ClassMPG (US)
Subcompact car30-36
Compact sedan28-34
Midsize sedan26-32
Compact SUV25-30
Midsize SUV21-26
Full-size SUV17-22
Pickup (2WD)20-25
Pickup (4WD)17-22
H Hybrid / EV
ClassMPG-equiv
Compact hybrid48-58
Midsize hybrid40-50
Hybrid SUV35-42
Plug-in hybrid40-90 MPGe
Compact EV110-130 MPGe
SUV EV85-110 MPGe
Pickup EV60-80 MPGe

Article — Fuel Mileage Calculator

Fuel mileage: turning distance and fuel into a number

Fuel mileage is the distance a vehicle travels per unit of fuel. In the US it is expressed as miles per gallon (MPG); in most of the world, as litres per 100 kilometres (L/100km). A typical 2024 compact sedan averages 32 MPG (US), which equals 7.4 L/100km.

The calculator takes the two raw numbers you can measure at the pump — distance since last fill-up, fuel needed to fill the tank — and converts them into every common fuel-economy figure. That lets you compare your real-world results to the EPA window sticker, to the European NEDC or WLTP number, or to a friend's car in a different country.

What fuel mileage means

It is just a ratio. Pick any unit of distance and any unit of fuel, and the ratio tells you how efficiently the car turns fuel into motion. MPG and L/100km are inverse ratios — one is distance over fuel, the other is fuel over distance — so they move in opposite directions when economy improves.

Real-world fuel mileage averages 8-15 percent below the EPA window sticker for most modern cars, according to EPA's 2024 Fuel Economy Trends report. The gap widens in cold weather, short trips, and aggressive driving. To get a meaningful number, average several fill-ups over at least 500 km / 300 miles.

Did you know

The first US fuel-economy standards were set by the Energy Policy and Conservation Act of 1975, after the 1973 oil crisis. New-car average fuel economy was 13 MPG in 1973; by 2024 it had reached about 27 MPG combined, despite vehicles getting heavier and faster.

How to calculate fuel mileage

The reset-trip method gives a clean reading. Fill the tank until the pump clicks off the first time. Reset the trip odometer. Drive normally for at least 200 miles or 300 km. Refill until the pump clicks off the first time again, and write down both the trip distance and the litres or gallons it took. Divide.

Fuel mileage formulas
MPG = miles / gallons L/100km = L × 100 / km
km/L = km / L L/100km = 235.215 / MPG (US)
MPG (UK) = MPG (US) × 1.20095

Use the same procedure for several tanks and average the results. A single tank can vary by 10-15 percent from one fill-up to the next because of how full the pump leaves the tank.

MPG vs L/100km

MPG goes up when fuel economy improves; L/100km goes down. That single difference produces a well-documented cognitive trap called the MPG illusion. Going from 15 to 18 MPG saves more fuel over a year than going from 30 to 40 MPG, because the change in actual fuel consumption is bigger at low MPG values. In L/100km the same trade-offs look more intuitive.

US
25 MPG car
25 MPG
9.4 L/100km
EU
5 L/100km car
47 MPG
5.0 L/100km

Good fuel mileage by vehicle class

For a 2024 gasoline car, EPA combined ratings cluster around:

  • Subcompact car — 30-36 MPG (6.5-7.8 L/100km)
  • Compact sedan — 28-34 MPG (6.9-8.4 L/100km)
  • Midsize sedan — 26-32 MPG (7.4-9.0 L/100km)
  • Compact SUV — 25-30 MPG (7.8-9.4 L/100km)
  • Midsize SUV — 21-26 MPG (9.0-11.2 L/100km)
  • Full-size pickup — 17-22 MPG (10.7-13.8 L/100km)
  • Compact hybrid — 48-58 MPG (4.1-4.9 L/100km)
  • Plug-in hybrid — 40-90 MPGe combined

What drops fuel mileage

Cold weather cuts fuel economy 10-20 percent. The engine warms up slowly, oil is thicker, tires lose pressure (about 1 psi per 10 deg F drop), and cabin heat draws extra load. Stop-and-go traffic costs another 15-25 percent versus steady highway driving.

Speed matters too. At 50 mph most cars hit peak fuel efficiency. Above that, aerodynamic drag rises with the square of speed. EPA estimates fuel economy falls 7-14 percent for every 10 mph above 50. Roof racks add 5-25 percent fuel cost on the highway.

! Idling is worse than restarting

Modern fuel-injected engines use almost no extra fuel to restart, but burn 0.2-0.7 gallons per hour idling. If you will be stopped more than 10 seconds (and traffic is not the reason), turn off the engine. Idling for 5 minutes a day for a year burns roughly 30 gallons.

Improving fuel mileage

The biggest wins come from steady speed and tire pressure. Cruise control on highway sections, tires inflated to the door-sticker spec (not the maximum on the sidewall), regular air-filter changes, and reducing dead weight in the trunk all add up to 10-15 percent better fuel mileage with no other changes. Combine them and a 30-MPG car can sustain 33-35 MPG without trying.

Tip

Use the cheapest grade of gasoline your owner manual permits. Higher-octane fuel only improves mileage if the engine is tuned for it. A premium-required car run on regular can knock and lose power; a regular-only car run on premium gains nothing measurable.

MPGe for EVs and hybrids

EPA created MPGe (miles per gallon equivalent) to compare electric and gasoline vehicles. The conversion is 33.7 kWh = 1 gallon of gasoline equivalent, based on chemical energy content. So a Tesla Model 3 rated 132 MPGe uses 33.7/132 = 0.255 kWh per mile, or about 25.5 kWh per 100 miles.

Plug-in hybrids show two ratings — one for electric-only driving (typically 80-110 MPGe) and one for gasoline-only mode (35-50 MPG). The combined sticker number is a weighted average based on assumed daily mileage and charging behaviour.

Common mistakes

Mixing US and UK gallons is the most common error. UK gallons are 20 percent bigger, so a British 36 MPG car only delivers 30 MPG when measured by US gallons. Using the EPA highway number alone is another trap — most people drive in mixed conditions and the combined rating is more honest. Finally, comparing your real-world result to the window sticker without averaging multiple tanks will give noisy answers; a single tank can be off by 10-15 percent from your true mileage.

A subtler error is testing fuel mileage on a single highway run and assuming that figure represents your everyday driving. Best-case highway numbers can be 30-50 percent higher than your typical commute. The EPA combined rating already weights city and highway 55/45, which lines up with the average driver's mix. To get a number you can trust, average five or six fill-ups across your normal routes.

The last trap is ignoring fuel mileage entirely because the numbers feel small. A 5-MPG improvement on a 12000-mile-per-year commute saves 60-90 gallons annually. At $3.50 a gallon that is $200-300 a year, and over a decade of car ownership it is the difference between paying for a couple of tanks of fuel and paying for a small vacation.

FAQ

Divide distance driven by fuel used. MPG = miles / gallons; L/100km = (litres x 100) / km. Example: 300 miles on 12 US gallons = 25 MPG. 500 km on 35 L = 7.0 L/100km.
For a gasoline passenger car, 30+ MPG (US) is good, 40+ is excellent. Compact sedans typically achieve 28-34 MPG combined; hybrids 45-55 MPG; SUVs 22-28 MPG; full-size pickups 17-22 MPG. Anything under 20 MPG counts as low.
1 UK gallon = 4.54609 litres, 1 US gallon = 3.78541 litres. The UK gallon is about 20 percent bigger, so the same car shows roughly 20 percent more MPG on the UK scale. Formula: MPG_UK = MPG_US x 1.20095.
Divide 235.215 by MPG (US). Example: 30 MPG x 235.215 / 30 = 7.84 L/100km. The constant comes from 100 km x 0.621371 mi/km x 0.264172 gal/L.
Down. Lower L/100km = better fuel economy. A car at 5 L/100km uses less fuel than one at 10 L/100km. This is opposite to MPG, where higher is better.
Modern trip computers are typically within 3-5 percent of actual fuel use, but error grows with driving style and short trips. The reset-odometer method (tank full, drive, fill, divide) is more accurate for a single tank but needs at least 200-300 km / 150-200 miles to average out fill-up variation.
Cold weather cuts fuel economy 10-20 percent. Cold engine oil is thicker, tires lose pressure (about 1 psi per 10 deg F drop), and heaters draw extra load. EPA reports city fuel economy can drop 24 percent in 20 deg F weather vs 77 deg F.
Slow down — every 10 mph above 50 mph adds 7-14 percent fuel consumption. Keep tires at the sticker pressure (5-10 percent gain). Drop excess weight (1-2 percent per 100 lbs). Service engine and air filter on schedule. Use cruise control on long flat highway stretches.
Miles Per Gallon equivalent. EPA converts a vehicle electricity use into the gasoline energy that would produce the same range: 33.7 kWh = 1 gallon of gas equivalent. A Tesla rated 120 MPGe uses 28 kWh per 100 miles.
Aggressive acceleration and hard braking can drop MPG 15-30 percent. Steady-state highway cruising is the most efficient mode. Short, cold trips are the worst — engines run rich while warming up, so the first 5 minutes often deliver 50-60 percent of normal MPG.