Skip to content

Gas Mileage Calculator

Calculate fuel economy in L/100 km, US MPG and imperial MPG from distance and fuel used, and estimate the fuel cost of your trip.

Calculator Details

Fuel Consumption:8.00 L/100 kmSee results ↓

Distance travelled since your last fill-up

Fuel needed to refill the tank

Optional: used to estimate trip cost. Price as of October 2026: $1.796 a litre (Statistics Canada average for regular gasoline, Canada).

Your Results

Fuel Consumption: 8.00 L/100 km

Fuel Consumption

8.00 L/100 km

Equivalent to 29.40 US MPG or 35.31 imperial MPG

Trip Cost

Total Fuel Cost

$71.84

Cost per Mile

$0.23

Cost per Kilometre

$0.14

Your fuel consumption is 8.0 L/100 km (29.4 US MPG). Trip cost: $71.84.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Your fuel economy in every unit
MeasureValue
Litres per 100 km8.00 L/100 km
Miles per gallon (US)29.40 MPG
Miles per gallon (imperial)35.31 MPG
Kilometres per litre12.50 km/L
Fuel cost for this distance$71.84
Cost per mile$0.23
Cost per kilometre$0.14

How This Calculator Works

How Gas Mileage Is Calculated

L/100 km = litres used ÷ kilometres driven × 100
MPG = miles driven ÷ gallons used
L/100 km = 235.215 ÷ US MPG = 282.481 ÷ imperial MPG
Your trip: 500 km = 500 km; 40 L = 40 L
L/100 km = 40 ÷ 500 × 100 = 8.00
US MPG = 235.215 ÷ 8.00 ≈ 29.40
Imperial MPG = 282.481 ÷ 8.00 ≈ 35.31
Fuel cost = 40 × $1.80 = $71.84

Units are converted with exact factors: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 L and 1 imperial gallon = 4.54609 L. The MPG figures above are computed from the unrounded values, so they can differ from the division shown in the last decimal place.

For the most accurate number, measure over several full tanks (the “fill-to-fill” method) and average them, since a single tank can vary with traffic and weather.

Frequently Asked Questions

How do I calculate my gas mileage?

Fill your tank and reset your trip odometer. Drive normally until the tank is low, then refill it completely and note how many gallons (or litres) it took. Divide the miles driven by the gallons used to get MPG. For metric, divide litres used by kilometres driven and multiply by 100 to get L/100km.

How do I convert MPG to L/100km?

With US gallons, divide 235.215 by the MPG figure: 235.215 ÷ 30 MPG = 7.84 L/100 km. With imperial (UK) gallons the number is 282.481: 282.481 ÷ 30 MPG = 9.42 L/100 km. The same division works in reverse (L/100 km to MPG). The relationship is inverse, so higher MPG means lower L/100 km.

Why is a lower L/100km better but a higher MPG better?

MPG measures distance per unit of fuel (how far you go), so more is better. L/100 km measures fuel per unit of distance (how much you burn), so less is better. Canada’s official ratings (Natural Resources Canada’s Fuel Consumption Guide) are in L/100 km, as are Europe’s and Australia’s; the US uses MPG with US gallons and the UK uses MPG with imperial gallons.

Does this calculator use US or imperial (UK) gallons?

Both. Choose the gallon you filled up with: a US gallon is exactly 3.785411784 litres and an imperial (UK, and older Canadian) gallon is exactly 4.54609 litres. Because the imperial gallon is about 20% bigger, the same car shows about 20% more miles per imperial gallon than per US gallon. The results always show US MPG, imperial MPG and L/100 km side by side.

What is a good gas mileage?

It depends on the vehicle. Compare your result with the combined rating for your make, model and year in Natural Resources Canada’s Fuel Consumption Guide (L/100 km) or fueleconomy.gov (US MPG), rather than with a universal number. As a rough guide, compact cars are usually rated in the 6–8 L/100 km range and full-size pickups and large SUVs above 11 L/100 km.

Why is my real-world mileage worse than the official rating?

Official ratings come from standardised lab cycles. Highway speeds above 100 km/h, aggressive acceleration, cold weather, short trips, roof racks, under-inflated tyres, heavy loads and running the air conditioning can all cut real-world efficiency by 10–30%.

How is the trip fuel cost calculated?

Fuel cost = fuel used × price per unit of fuel. Enter the price per gallon if you entered fuel in gallons, or per litre if you entered litres. Cost per mile and per kilometre divide that cost by the distance driven. The cost covers fuel only, not maintenance, insurance or depreciation.

How do I convert L/100 km to km per litre?

Divide 100 by the L/100 km figure. For example, 8 L/100 km is 100 ÷ 8 = 12.5 km per litre. km/L is used in some countries (such as India and Japan) and, like MPG, higher is better.

Exact unit factors from NIST Handbook 44 (1 mi = 1.609344 km, 1 US gal = 3.785411784 L) and the Weights and Measures Act (1 imperial gal = 4.54609 L). The result is the economy of one measured trip; the trip cost covers fuel only (no maintenance, insurance or depreciation). Enter the price in your own currency.

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:

  1. Fill the tank until the pump clicks off. Don't top up. Reset the trip odometer, or write down the odometer reading.
  2. Drive normally until the tank is at least half empty, ideally close to empty.
  3. Fill up again at the same pump if you can, again stopping at the first click.
  4. 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:

ConversionConstant
US MPG × L/100 kmabout 235.215
imperial MPG × L/100 kmabout 282.481
km per litre100 ÷ 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.

  1. L/100 km: 40 ÷ 500 × 100 = 8.0 L/100 km.
  2. Kilometres per litre: 500 ÷ 40 = 12.5 km/L.
  3. US MPG: 235.215 ÷ 8 = 29.4 MPG (US).
  4. Imperial MPG: 282.481 ÷ 8 = 35.31 MPG (imperial).
  5. 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy