Travel
How To Calculate Gas Mileage
Gas mileage is a rate, and it arrives in two scales that run in opposite directions: litres per 100 kilometres, where lower is better, and miles per gallon, where higher is better. Converting between them is a reciprocal, not a single multiplication.
Quick Answer
mpg = 100 / (L/100km) x 3.785411784 / 1.609344
- V
- Fuel burned in litres, measured between two full fills
- d
- Distance covered in kilometres, matching the litres
- L/100km
- Consumption — litres per 100 kilometres; lower is better
- mpg
- Consumption — miles per US gallon; higher is better
Divide the litres used by the distance and multiply by 100 to get litres per 100 kilometres: 36 litres over 450 kilometres is 36 / 450 x 100 = 8.0 L/100km. Convert to miles per gallon by taking the reciprocal and scaling: 100 / 8.0 x 3.785411784 / 1.609344 = 29.401822916666664 mpg. The cost side follows from the same litres: 36 x 1.65 / 450 = 0.132 per kilometre, or 13.200000000000001 per 100 kilometres. Because the two scales are reciprocal, a small L/100km figure is good while a small mpg figure is bad.
What Is Gas Mileage?
Gas mileage, also called fuel economy, is the distance a vehicle travels on a given amount of fuel, and it can be quoted in two ways that look similar but behave in opposite directions. Litres per 100 kilometres states how much fuel a fixed distance demands, so 8.0 is a good figure and 12.0 is a poor one. Miles per gallon states how far a fixed volume carries you, so 29.401822916666664 is modest and 50 is excellent. The same car produces both numbers at once: 450 kilometres on 36 litres is 8.0 litres per 100 kilometres, which is exactly 29.401822916666664 miles per US gallon. Neither figure is more truthful than the other, because they are two views of one measurement.
The two scales are reciprocals, and that single fact explains almost every confusion on the subject. A reciprocal means that as one number rises the other falls, and by a proportional rather than a constant amount. Improve efficiency and litres per 100 kilometres drops while miles per gallon climbs, which is why the words better and worse swap direction between them. Halving consumption from 8.0 to 4.0 litres per 100 kilometres roughly doubles the miles per gallon from about 29.40 to about 58.80, but a fixed saving of one litre per 100 kilometres does not translate into a fixed gain in miles per gallon. Reading the two scales without noticing the inversion is the most common error in the topic.
Converting between the scales is not a single multiplication factor, because two unit conversions are stacked inside it. A mile is 1.609344 kilometres and a US gallon is 3.785411784 litres, so the conversion is (litres per gallon 3.785411784) divided by (kilometres per mile 1.609344), then multiplied by 100. Those two constants collapse into roughly 235.214583, which converts either way: divide it by miles per gallon to obtain litres per 100 kilometres, or divide it by litres per 100 kilometres to obtain miles per gallon. Applied to the worked case, 100 / 8.0 x 3.785411784 / 1.609344 gives 29.401822916666664 miles per gallon. Because the relationship is reciprocal, one constant serves both directions without any reversal.
The cost side uses the same litres and simply adds the pump price. Multiply the litres burned by the price per litre, then divide by the distance: 36 litres at 1.65 each costs 59.40, and dividing by 450 kilometres gives 0.132 per kilometre. Multiplying that rate by 100 gives 13.200000000000001 per 100 kilometres, which is the form most people find easier to compare. The cost per kilometre is the reusable figure, because it stays fixed as long as consumption and price do and simply multiplies by whatever distance you plan. Cost per kilometre moves with the L/100km figure rather than with mpg, since both are inverse measures, so a lower consumption number and a lower cost number always travel together.
A gallon is not one thing, and that is why miles per gallon is quoted differently in different countries. The US gallon is 3.785411784 litres exactly, while the imperial gallon used in the United Kingdom and a few other places is 4.54609 litres, about 20 per cent larger. A car that returns 29.401822916666664 miles per US gallon therefore returns roughly 35.3 miles per imperial gallon on the very same tank, without anything having changed about the vehicle. The fuel figure itself is identical; only the volume the word gallon denotes has changed. Whenever you read a miles-per-gallon number, the country of origin is part of the unit, not an incidental detail.
Because the two scales are reciprocal, a fixed saving matters very differently at each end of the range. Cutting consumption from 8.0 to 7.0 litres per 100 kilometres is a change of one litre, and it lifts the figure from about 29.40 to about 33.60 miles per gallon, a gain of roughly 4.2. Making the same one-litre cut from 4.0 to 3.0 litres per 100 kilometres lifts the figure from about 58.80 to about 78.40 miles per gallon, a gain of roughly 19.6. The absolute improvement is identical in litres per 100 kilometres, yet it is worth nearly five times as much on the miles-per-gallon scale. This is the arithmetic behind the observation that the last steps towards efficiency look dramatic in miles per gallon and modest in litres per 100 kilometres.
Measuring your own mileage properly takes two fills rather than one. Fill the tank to the same point each time, reset the trip odometer or record the reading, and note the litres added at the next fill, because those litres are what the intervening distance consumed. Dividing litres by distance and multiplying by 100 gives the consumption for that interval. A partial fill breaks the method, since the litres added no longer correspond to the distance covered, and a single fill cannot produce a figure at all. Averaging several intervals smooths out the variation caused by one long motorway run or one week of short cold trips.
Real consumption rarely matches the figure printed in a brochure, because that figure comes from a standardised laboratory cycle. Carrying passengers and luggage raises the mass the engine must move, air conditioning draws power that ultimately comes from fuel, and under-inflated tyres increase rolling resistance. Stop-start town traffic is worse than a steady cruise, because every acceleration wastes energy that braking then discards, and at high speed aerodynamic drag rises with the square of velocity. It is normal for real-world consumption to exceed the rated figure by ten to thirty per cent, and a loaded car on a hilly route can do considerably worse. Treating the rated number as a target rather than an ideal is the first step towards an accurate budget.
The practical value of all this is comparison, and the reusable quantity is cost per kilometre rather than either consumption scale. At 0.132 per kilometre, a 30 kilometre commute costs about 3.96 in fuel and the 450 kilometre trip costs 59.40, simply by multiplying the same rate. That figure also lets you weigh driving against a train fare or a taxi on equal terms, because those alternatives are usually priced per journey or per kilometre. When you do compare two cars, convert both to the same scale first, since a headline 8.0 litres per 100 kilometres and a headline 40 miles per gallon describe different efficiencies and cannot be subtracted as they stand. Keeping the units attached to the numbers as you work is the cheapest way to avoid the inversion.
Formula
L/100km = litres / distance x 100
Divide the fuel burned by the distance it covered, then scale to 100 kilometres so the figure is comparable across trips of any length.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| d | Distance covered | kilometres | The interval between two full fills, in kilometres. |
| V | Fuel burned | litres | The litres added at the second fill, matching that distance. |
| L/100km | Consumption | litres per 100 km | Litres per 100 kilometres — an inverse measure, so lower is better. |
mpg = 100 / (L/100km) x 3.785411784 / 1.609344
Take the reciprocal, then apply two unit conversions. Litres per 100 km falls as efficiency rises, so mpg must be formed by dividing rather than multiplying.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| L/100km | Consumption in litres per 100 kilometres | litres per 100 km | Lower is better on this scale. |
| 3.785411784 / 1.609344 | Gallon and mile conversion | dimensionless | US litres per gallon divided by kilometres per mile; together about 2.352146. |
| mpg | Consumption in miles per US gallon | miles per US gallon | Higher is better on this scale — the opposite direction to litres per 100 km. |
cost per km = litres x price / distance
The litres times the pump price gives the money, and dividing by distance turns it into a rate that multiplies cleanly by any journey length.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| V | Fuel burned | litres | The same litres used for the consumption figure. |
| p | Fuel price | currency per litre | Per litre, matching the volume unit of the litres. |
| c | Fuel cost per kilometre | currency per kilometre | Multiply by 100 for the cost per 100 kilometres. |
How To Calculate Gas Mileage
- 1
Measure over two full fills
Fill the tank to the same point, reset the trip odometer, and record the litres added at the next fill. Those litres are what the distance between the fills actually consumed, which is why a partial fill cannot produce a valid figure and a single fill cannot produce one at all.
- 2
Divide litres by distance, then scale to 100
36 litres over 450 kilometres is 36 / 450 = 0.08 litres per kilometre, and multiplying by 100 gives 8.0 litres per 100 kilometres. The scaling simply expresses the rate over a distance that is easy to compare between trips of different lengths.
- 3
Convert to miles per gallon if you need the other scale
Take the reciprocal and apply both unit conversions: 100 / 8.0 x 3.785411784 / 1.609344 = 29.401822916666664 miles per US gallon. Dividing by the L/100km figure, never multiplying, is what respects the reciprocal relationship between the two scales.
- 4
Turn the litres into money
Multiply the litres burned by the price per litre and divide by distance: 36 x 1.65 / 450 = 0.132 per kilometre, and 13.200000000000001 per 100 kilometres. Keep the price in the same volume unit as the litres you measured, or the total is meaningless even when the arithmetic is correct.
- 5
Sanity-check against the scale you know
A figure near 8.0 litres per 100 kilometres should convert to about 29 miles per gallon, and a figure near 40 miles per gallon should sit near 5.9 litres per 100 kilometres. If the two do not agree in direction, an inversion or the wrong gallon is the likely culprit.
Examples
Example 1: A 450 kilometre run on 36 litres
- Distance
- 450 km
- Fuel used
- 36 litres
| Step | Calculation | Result |
|---|---|---|
| Litres per kilometre | 36 / 450 | 0.08 |
| Litres per 100 kilometres | 0.08 x 100 | 8.0 |
Result: 36 litres over 450 kilometres is 8.0 litres per 100 kilometres, the primary consumption figure for the tank.
Example 2: Converting 8.0 L/100km to miles per gallon
- Consumption
- 8.0 L/100km
- US gallon
- 3.785411784 litres
- Mile
- 1.609344 kilometres
| Step | Calculation | Result |
|---|---|---|
| Reciprocal of the consumption | 100 / 8.0 | 12.5 |
| Times litres per US gallon | 12.5 x 3.785411784 | 47.3176473 |
| Divided by kilometres per mile | 47.3176473 / 1.609344 | 29.401822916666664 |
Result: The same efficiency is 29.401822916666664 miles per US gallon, and because the scales are reciprocal, 8.0 being small is good while this modest miles-per-gallon figure is also good.
Example 3: What the 36 litres cost at 1.65 a litre
- Fuel used
- 36 litres
- Price
- 1.65 per litre
- Distance
- 450 km
| Step | Calculation | Result |
|---|---|---|
| Cost of the fuel | 36 x 1.65 | 59.4 |
| Cost per kilometre | 59.4 / 450 | 0.132 |
| Cost per 100 kilometres | 0.132 x 100 | 13.200000000000001 |
Result: The tank costs 59.4, which is 0.132 per kilometre or 13.200000000000001 per 100 kilometres, the rate to reuse for any journey at this price and consumption.
Calculator
Consumption in litres per 100 kilometres
8
- Consumption in miles per US gallon
- 29.4018
- Fuel cost per kilometre
- 0.132
- Fuel cost per 100 kilometres
- 13.2
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the Gas Mileage calculator page.
Common Mistakes
Reading litres per 100 kilometres as bigger is better
This unit is the inverse of miles per gallon, so a smaller number is the efficient one. Judging a car by the larger figure reverses the conclusion entirely, and the slip is common because most people meet the miles-per-gallon convention first. A car at 6.0 litres per 100 kilometres is better than one at 9.0, not worse.
Multiplying by the conversion constant instead of dividing
Because the scales are reciprocal, 235.214583 divides rather than multiplies. Multiplying 30 miles per gallon by the constant gives about 7056 rather than the correct 7.8404861 litres per 100 kilometres, and although that answer is obviously too large, the reverse slip produces a plausible-looking number that is quietly wrong.
Confusing US and imperial gallons
A miles-per-gallon figure is meaningless without naming the gallon. The US gallon is 3.785411784 litres and the imperial gallon 4.54609 litres, so 29.401822916666664 US mpg is about 35.3 imperial mpg. Mixing the two shifts the answer by roughly 20 per cent, enough to reverse a comparison between two cars sold in different markets.
Measuring from a single fill or a partial fill
One fill cannot produce a consumption figure, and a partial fill breaks the arithmetic because the litres added no longer match the distance covered. Always run the tank full to full over the same interval the litres correspond to, or the ratio has no physical meaning and the result is noise.
Feeding miles into a formula built for kilometres
Litres per 100 kilometres requires a distance in kilometres. Substituting a distance in miles and treating it as kilometres understates the distance, so 280 miles used in place of 450 kilometres raises the figure from 8.0 to 12.857142857142858 litres per 100 kilometres, overstating consumption by about 61 per cent.
FAQ
Which is better, litres per 100 kilometres or miles per gallon?
Neither scale is inherently better, but they point in opposite directions. Litres per 100 kilometres improves as the number falls, so 8.0 beats 12.0. Miles per gallon improves as the number rises, so 40 beats 29.401822916666664. Always check which unit you are reading before deciding that a car is efficient, because the same car is a small number on one scale and a modest number on the other.
How do I convert between litres per 100 kilometres and miles per gallon?
Take the reciprocal and apply two unit conversions: 100 divided by the litres per 100 kilometres, multiplied by 3.785411784 litres per US gallon, then divided by 1.609344 kilometres per mile. So 8.0 litres per 100 kilometres becomes 100 / 8.0 x 3.785411784 / 1.609344 = 29.401822916666664 miles per gallon. The two constants combine into roughly 235.214583, which you divide either way.
Why is miles per gallon higher in the United Kingdom than in the United States?
The word gallon denotes different volumes. The US gallon is 3.785411784 litres, while the imperial gallon still used in the United Kingdom is 4.54609 litres, about 20 per cent larger. The same car therefore covers more miles on one imperial gallon than on one US gallon, so a UK figure of roughly 35.3 corresponds to 29.401822916666664 miles per US gallon. Nothing about the vehicle has changed, only the unit.
Why does my real-world mileage differ from the official figure?
Official figures come from a standardised test cycle that cannot capture load, air conditioning, cold starts, hills, headwinds or traffic. Real consumption commonly runs ten to thirty per cent above the rated value, and a heavily loaded car in stop-start conditions can do worse still. Measuring your own tank-to-tank figure over several fills gives a far more honest number than the brochure.
Should I track cost per kilometre or per 100 kilometres?
Use per 100 kilometres to compare cars and consumption figures, because it matches how efficiency is normally quoted and it is an inverse measure like litres per 100 kilometres. Use per kilometre to plan journeys and compare against fares, because a single rate multiplies cleanly by any distance. At 0.132 per kilometre, a 30 kilometre commute is about 3.96 and the 450 kilometre trip is 59.40, which is the same rate applied twice.
References
- [1]Wikipedia, Fuel efficiency — https://en.wikipedia.org/wiki/Fuel_efficiency
- [2]Wikipedia, Fuel economy in automobiles — https://en.wikipedia.org/wiki/Fuel_economy_in_automobiles
- [3]Wikipedia, Miles per gallon — https://en.wikipedia.org/wiki/Miles_per_gallon