Gas Mileage Calculator: L/100 km, MPG and the Cost of Every Kilometre
By FindMySum · Last reviewed
A gas mileage calculator turns two numbers you can read off your odometer and a fuel receipt into your car's real fuel economy. It gives the answer in litres per 100 kilometres, the official measure in Canada, and in miles per gallon in both US and imperial gallons, plus what the fuel cost per kilometre and per mile. This article explains the fill-to-fill method that gives an accurate reading, the conversions between the units, a worked example from the calculator's defaults, and what a better figure is worth over a year.
Measuring fuel economy: the fill-to-fill method
The most reliable way to measure fuel economy needs no gadgets:
- Fill the tank until the pump clicks off. Don't top up. Reset the trip odometer, or write down the odometer reading.
- Drive normally until the tank is at least half empty, ideally close to empty.
- Fill up again at the same pump if you can, again stopping at the first click.
- The litres on that second receipt are the fuel you used. The trip odometer shows the distance.
Enter those two numbers and the calculator does the rest. The second fill-up replaces exactly what the engine burned since the first, so there's no need to estimate how full the tank was. The weak point is the pump's automatic shut-off, which doesn't stop at exactly the same level every time, so averaging several tanks gives a steadier result than any one tank.
The formulas and the units
L/100 km = litres used ÷ kilometres driven × 100
MPG = miles driven ÷ gallons used
L/100 km measures fuel used for a fixed distance, so a lower number is better. MPG measures distance per unit of fuel, so a higher number is better. Because one is the reciprocal of the other, they convert with a single constant:
| Conversion | Constant |
|---|---|
| US MPG × L/100 km | about 235.215 |
| imperial MPG × L/100 km | about 282.481 |
| km per litre | 100 ÷ L/100 km |
Those constants come from exact unit definitions: the international mile is exactly 1.609344 km and the US gallon exactly 3.785411784 litres (NIST Handbook 44, Appendix C), while the imperial gallon, still used in the United Kingdom and in older Canadian references, is exactly 4.54609 litres. An imperial gallon is about 20% larger than a US gallon, which is why the same car shows a higher MPG in British figures. Canadian car ads from before the 1980s, and some older drivers, still quote imperial MPG.
Worked example: the calculator's defaults
The calculator opens on 500 km driven on 40 litres of fuel, with gas at $1.843 a litre, the Canadian average for regular gasoline in September 2026 (Statistics Canada). The page updates that price when a newer month is published.
- L/100 km: 40 ÷ 500 × 100 = 8.0 L/100 km.
- Kilometres per litre: 500 ÷ 40 = 12.5 km/L.
- US MPG: 235.215 ÷ 8 = 29.4 MPG (US).
- Imperial MPG: 282.481 ÷ 8 = 35.31 MPG (imperial).
- Fuel cost for the trip: 40 × $1.843 = $73.72, which is $0.15 per km or $0.24 per mile.
Eight litres per 100 km is typical of a compact or midsize gasoline car in mixed driving.
Measuring in miles and US gallons
The calculator accepts US units too. A trip of 300 miles on 10 US gallons, with gas at $3.50 a gallon, gives 30 MPG (US), which is 7.84 L/100 km or 36.03 imperial MPG, and a fuel cost of $35, or $0.12 a mile. If you are comparing US and Canadian prices for that fill-up, the US gas price converter turns dollars per gallon into dollars per litre.
What one litre per 100 km is worth
Small differences in fuel economy add up over a year. At 20,000 km a year and $1.843 a litre:
- At 8.0 L/100 km you burn 1,600 litres and spend $2,948.80.
- At 7.0 L/100 km you burn 1,400 litres and spend $2,580.20.
That one litre per 100 km is worth $368.60 a year at these prices, and more if you drive further or fuel costs more. It is also why L/100 km is a more useful measure for comparing cars than MPG: fuel used, and therefore cost, scales directly with L/100 km. Going from 15 to 20 MPG saves more fuel over the same distance than going from 30 to 40 MPG, even though both are the same one-third improvement in MPG.
Why your number differs from the label
Official ratings in Canada come from standardised laboratory tests, now a five-cycle procedure that includes high speed, air conditioning and cold-temperature cycles, published by Natural Resources Canada in its Fuel Consumption Guide. They are designed for comparing vehicles, and real driving often comes out worse. The usual reasons:
- Short trips and cold starts, especially in a Canadian winter.
- Speed. Aerodynamic drag rises steeply with speed; most cars use noticeably more fuel at 120 km/h than at 100 km/h.
- Idling and aggressive acceleration in stop-and-go traffic.
- Under-inflated tires, roof racks and cargo boxes, and extra weight.
- Maintenance: a clogged air filter matters less on modern cars than it used to, but worn spark plugs and the wrong oil still cost fuel.
Using the result
Track your fuel economy over a few months and it becomes a useful early warning: a sudden rise in L/100 km with no change in driving can point to a dragging brake, low tire pressure or a sensor fault. For budgeting, multiply your average L/100 km by the distance you expect to drive and the local price per litre. For deciding between two cars, compare their combined ratings from the Fuel Consumption Guide using the same method, then adjust for your own driving.
More questions
How many fill-ups should I average before trusting the number?
At least three, and ideally a month or more of driving. Pumps shut off at slightly different levels each time, so a single tank can be off by a litre or two, which on a 40 litre fill is several per cent. Add up all the kilometres and all the litres across several fills and divide once; that averages out the shut-off noise and gives you a figure that reflects your normal mix of driving.
Why does my fuel economy get worse in winter?
Cold engines run rich until they warm up, winter-blend gasoline holds slightly less energy, cold air and snow add drag, tires are firmer and under-inflated, and heaters, defrosters and heated seats add electrical load. Short trips are hit hardest because the engine spends most of the drive cold. Natural Resources Canada advises using a block heater in cold weather and avoiding long idling to warm up, since modern engines warm faster when driven gently.
Is my trip computer's fuel economy reading accurate?
It is an estimate from the engine's fuel injector data, and many read a few per cent better than the real figure. It is useful for comparing one trip with another, but the fill-to-fill method measures what actually went into the tank. If you track both for a few weeks, you'll learn how far off your car's display tends to be.
How do I compare my result with the official rating?
Look up your model in Natural Resources Canada's Fuel Consumption Guide or its online ratings search, which lists city, highway and combined L/100 km. The combined figure assumes a mix of 55% city and 45% highway driving. If you drive mostly in the city in winter, expect to be above the combined rating; mostly highway in summer, closer to the highway rating.
Does running the air conditioning or opening the windows use more fuel?
Both cost something. Air conditioning puts a load on the engine that matters most at low speeds and in city driving. Open windows add aerodynamic drag, which matters more at highway speeds. As a rough guide, windows down is the cheaper choice around town and air conditioning at highway speed, but the difference is usually small next to speed, idling and tire pressure.
Can I use this for a hybrid or diesel car?
Yes. The fill-to-fill method works for any car that takes liquid fuel: litres in, kilometres out. For a plug-in hybrid it only captures the fuel part, so the result will look very good if you charge often; electricity use has to be tracked separately, in kWh per 100 km.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.