Gas mileage:
how to work out your real miles per gallon
The dashboard figure is an estimate. Two fill-ups and a trip meter give you the number your car actually delivers, in whichever unit you prefer.
Calcylator Editorial Team
Updated · 5 min read
What gas mileage actually measures
Gas mileage tells you how far a vehicle travels on a fixed amount of fuel. In the United States it is quoted as miles per US gallon (mpg). Most of the rest of the world flips the ratio and quotes litres used per 100 kilometres, while India and several other markets prefer kilometres per litre. All three describe the same thing: distance against fuel.
The figure you see on the instrument cluster is calculated from the injector signal and speed, and it can drift a few percent from the truth. The pump is the honest referee. Fuel added at a full-tank fill-up is measured by the dispenser, and the distance comes from the odometer, so the ratio of the two cannot be argued with.
It also helps to keep the direction of each scale in mind. Higher mpg and higher km/L are better. For L/100 km it is the opposite: a lower number means the car is thriftier. Mixing these up is behind many arguments about which car is more efficient.
The fill-up method and the formula behind it
Fill the tank to the automatic click-off, note the odometer, and reset the trip meter if you like. Drive normally. At the next fill-up, again stop at the first click-off and record how much fuel the pump delivered. That quantity is exactly what the car burned over the distance since the previous full tank.
- miles driven:
- odometer now − odometer at last full tank
- US gallons added:
- fuel the pump delivered at this fill-up
Fuel economy in litres per 100 km uses the inverse idea: how much fuel does 100 km cost?
- litres used:
- fuel added at the fill-up, in litres
- kilometres driven:
- distance since the last full tank
A calculator does these divisions instantly and converts between the three units, which is useful when a spec sheet is in one unit and your fuel receipts are in another.
A worked example from two receipts
Take a road trip logged with the full-tank method. The first fill-up showed 48,215 miles on the odometer. At the next fill-up the odometer read 48,527 miles and the pump delivered 11.6 US gallons.
Distance driven
48,527 − 48,215 = 312 miles
Fuel added
11.6 US gallons
Mileage
312 ÷ 11.6
Gas mileage
26.9 mpg
In metric terms that is about 8.7 L/100 km, or roughly 11.4 km/L.
To check the metric version: 312 miles is 502.1 km and 11.6 US gallons is 43.9 litres. Dividing 502.1 by 43.9 gives 11.4 km/L, and 100 ÷ 11.4 is 8.7 litres per 100 km. Both routes land on the same car.
Converting between mpg, km/L and L/100 km
Because L/100 km is an inverse of distance-per-fuel, you cannot convert by multiplying. The conversions go through a constant, 235.215, which comes from 100 km expressed in miles and one US gallon expressed in litres.
- 235.215:
- constant for US gallons; use 282.481 for imperial gallons
- mpg (US):
- miles per US gallon
The same constant works backwards: mpg = 235.215 ÷ L/100 km. For km/L, remember that 1 km/L is roughly 2.352 US mpg.
| US mpg | L/100 km | km/L |
|---|---|---|
| 20 | 11.8 | 8.5 |
| 25 | 9.4 | 10.6 |
| 30 | 7.8 | 12.8 |
| 38 | 6.2 | 16.2 |
| 50 | 4.7 | 21.3 |
Note how the gains shrink at higher mpg. Moving from 20 to 25 mpg saves 2.4 L per 100 km, while 38 to 50 saves only 1.5. That is why efficiency gains are easiest to see in L/100 km.
Why your figure moves from one tank to the next
Two tanks in a row rarely give the same answer, and that is normal. Fuel economy responds to the things you are doing, and the full-tank method records all of them at once.
- Short trips: a cold engine runs rich, so a week of 3 km errands scores noticeably worse than one long highway run.
- Speed: air resistance climbs with the square of speed, so cruising at 120 km/h costs far more per kilometre than 90 km/h.
- Load and tyres: low tyre pressure and a roof box both add drag; a few extra people add weight that costs fuel in town.
- Weather and fuel: cold air is denser, winter fuel blends differ and air-conditioning adds load in hot weather.
- Pump differences: click-off points vary a little between nozzles and slopes, which can move a single-tank result by 1 to 3 percent.
Averaging three or four tanks smooths most of this noise and is the number to quote when comparing cars or judging a service.
The gallon trap when comparing countries
One catch trips up people comparing a British review with an American one. The UK gallon is about 20 percent larger than the US gallon, so the same car shows a bigger mpg number in the UK. A car rated at 40 mpg in a British magazine corresponds to roughly 33 mpg on the US scale, because 40 × 0.8327 = 33.3.
Litres per 100 km sidesteps the problem. Both 40 imperial mpg and 33.3 US mpg come out at about 7.06 L/100 km, which is why engineers and most regulators outside North America prefer it.
Electric vehicles borrowed the mpg idea as MPGe, based on the energy content of a gallon of petrol, taken as 33.7 kWh in the US test method. It lets you compare a plug-in with a petrol car on one scale, though the cost per mile depends on local electricity and fuel prices rather than the energy figure alone.
Using your number for decisions
Once you have a trustworthy figure you can turn it into running cost. Fuel cost per distance is the price per unit of fuel divided by the distance you get from it, so a better mileage cuts the cost directly. Look up the current pump price in your area, because it changes often.
It also gives you an early warning system. A car that suddenly drops by more than 10 percent over several tanks while driving habits stay the same is worth a check: tyres, air filter, a dragging brake, or a failing sensor are all common causes.
When comparing against the manufacturer's rating, remember that official figures come from standardised laboratory cycles. Real driving often returns less, so use the rating to rank cars and your fill-up number to budget.
Common questions
How do you calculate gas mileage?
Divide the miles driven since your last full tank by the US gallons needed to fill the tank again. If you drove 312 miles and added 11.6 gallons, your mileage is 26.9 mpg. Use litres and kilometres for km/L or multiply by 100 for L/100 km.
What is a good gas mileage?
For petrol cars, about 30 mpg (7.8 L/100 km) is a decent everyday figure, 40 mpg or better is excellent for a non-hybrid, and large SUVs often sit near 20 mpg. What counts as good depends on vehicle size, engine and driving type.
How do I convert mpg to L/100 km?
Divide 235.215 by the mpg figure for US gallons. For example, 30 mpg gives 235.215 ÷ 30 = 7.84 L/100 km. For imperial gallons, which are larger, use 282.481 instead. The conversion is an inverse, so it cannot be done with a simple multiplier.
Is the trip computer accurate for mpg?
Trip computers are usually within a few percent but often read optimistic. They estimate fuel from injector timing, not from the pump. Check yours by comparing its average with a full-tank calculation over a few fill-ups and noting the consistent gap.
Why is my real mileage lower than the claimed figure?
Official ratings come from controlled lab cycles with gentle acceleration and no air-conditioning. Traffic, short trips, speed, tyre pressure, load and weather all lower real figures, and a 10 to 25 percent shortfall is common.
Was this guide helpful?
Continue reading
View all blogsComparing Fuel Efficiency: Litres Used, Not Just km/L
Over 500 km, a 20 km/L car burns 25 litres and a 15 km/L car burns 33.33. See how to compare in litres and rupees, and why km/L can mislead.
5 min read
Km per Litre: Check Your Car's Real Mileage
A car that covered 412 km on 28.4 litres managed 14.5 km/L, or about ₹6.9 per km at ₹100 a litre. Work out your own figure with the tank-to-tank method.
5 min read
How to Calculate Miles Per Gallon (MPG)
Divide the miles you drove by the gallons you burned: 300 miles on 10 US gallons is 30 mpg. See the full-tank method and the US vs UK gallon trap.
6 min read




