How this calculation works
Add distance and fuel separately before taking their ratio. Convert all records using explicitly selected units. Use the combined observed average for a separately entered planned distance, with one uniform price per selected fuel unit.
Combined km/L = total kilometres / total litres; L/100 km = 100 / combined km/LA worked example
Two records of 300 km with 20 L and 200 km with 10 L total 500 km with 30 L. The combined economy is 16.6667 km/L and consumption is 6 L/100 km. At an entered ₹104/L, a 100 km scenario uses 6 L and costs ₹624.
Good to know
Recorded liquid-fuel use only, with matching distance/fuel intervals. No live price, vehicle rating, electric consumption or emissions estimate. Price is uniform across rows. Planned fuel use assumes the same average; actual conditions may differ. US and imperial gallons are explicitly distinct.
Reference: US Department of Energy and EPA: calculating recorded fuel economy (opens in a new tab) ↗
Combine the fuel and distance before dividing
Consider a 100 km record using 10 L and a 300 km record using 20 L. Their separate economies are 10 km/L and 15 km/L. Averaging those two numbers gives 12.5 km/L, but the vehicle covered 400 km using 30 L. The combined result is 13.3333 km/L. Adding totals first prevents a short record from receiving the same influence as a longer one.
The default example records 300 km with 20 L and 200 km with 10 L. Combined distance is 500 km and fuel is 30 L, giving 16.6667 km/L or 6 L/100 km. The table keeps individual records visible so you can check the source of the total instead of treating the aggregate as an unexplained score.
The distance and fuel must cover the same reporting interval. A purchase receipt may record fuel added rather than fuel consumed during that interval. Consistent refill measurements can support a comparison, but a different starting and ending tank level can distort it. The referenced fuel-economy guide explains the distance-over-fuel method; no published vehicle rating is substituted for your own records.
The volume converter can check litres against explicitly named US or imperial gallons. Fuel mileage instead divides matching distance and fuel totals and applies an entered unit price. The electric car vs petrol ownership cost calculator includes purchase costs, entered resale and charging losses as well as annual driving costs.
Economy and consumption run in opposite directions
A larger km/L number means more distance per litre. A smaller L/100 km number means less fuel for a fixed distance. They are reciprocals with a factor of 100: 20 km/L equals 5 L/100 km, while 10 km/L equals 10 L/100 km. A lower number is therefore not automatically worse; read the unit first.
Equal improvements in km/L do not always save equal amounts of fuel. For a 100 km trip, moving from 10 to 15 km/L reduces fuel from 10 L to about 6.667 L, a saving of about 3.333 L. Moving from 20 to 25 km/L reduces it from 5 L to 4 L, a saving of 1 L. The same five-unit increase has a different fuel effect because the relationship is reciprocal.
A zero-distance row can represent fuel used while stationary. It contributes fuel to the combined result but has no finite L/100 km value of its own. At least one row must supply positive distance, and every row must have positive fuel. A zero-fuel travel record cannot establish a finite liquid-fuel economy in this calculator.
A gallon needs a name and a price needs a unit
US liquid gallons and imperial gallons have different volumes, so US mpg and imperial mpg are different numerical results for the same trip. The tool shows both with labels. Selecting miles also changes the distance interpretation for every row and the planned trip; it does not automatically convert numbers you already typed.
Price is entered per selected fuel unit. If the records use litres, enter a price per litre. If they use US gallons, enter a price per US gallon. The single entered price applies uniformly to every row. Currency selection formats the resulting costs without fetching an exchange rate or changing the numerical amount.
At the default 16.6667 km/L average, a planned 100 km trip uses 6 L under the same-average assumption. With an entered ₹104/L, its fuel cost is ₹624. This is a budget scenario rather than a forecast: traffic, load, route and driving conditions may differ. The volume converter can check fuel-unit changes; the speed converter answers a separate distance-per-time question and does not establish fuel economy.
Read more: NIST: international mile and explicitly named gallon factors (opens in a new tab) ↗
One fill interval and several records share the same ratio
Single-record mode restores the original distance-and-fuel workflow without requiring a text table. Multi-record mode retains the existing total-based analysis. In either mode, the entered distance and fuel need to cover the same interval; fuel purchased is not automatically fuel consumed if tank levels differ.
The universal unit converter distinguishes US liquid gallons from imperial gallons. The mileage page uses that same distinction to report both mpg measures alongside km/L and L/100 km. Switching a declared input unit changes what a typed number means; it does not rewrite that number as a converted observation.
A lower L/100 km and a higher mpg both mean less fuel per distance
Consumption and economy reverse the ratio. Litres per hundred kilometres decrease when the same travel distance uses less fuel, while miles per gallon increase. A generic excellent/poor badge would need vehicle and operating context that this page does not have, so the old arbitrary performance ratings are not retained.
The speed distance time calculator measures another travel relationship and does not determine fuel use. This page’s planned-trip result simply repeats the recorded average at one entered uniform price. It does not forecast traffic, weather, fuel prices or a vehicle’s future performance.
A few questions, answered
Why not average the km/L values from each trip?
The combined result is total distance divided by total fuel. An arithmetic mean of individual ratios can give the wrong aggregate when the records represent different fuel amounts.
Can the table include idling fuel?
Yes, as a zero-distance row with positive fuel, provided the total recorded distance is positive. That row has no finite L/100 km result but its fuel counts in the aggregate.
Is the planned cost based on live fuel prices?
No. It uses your single entered price and the combined recorded fuel economy, with no live price or vehicle-performance forecast.
Will changing litres to gallons convert the existing rows?
No. A selector changes how the entered numbers are interpreted. Convert the numbers first if you want to describe the same records in another unit.
Can I enter one distance and fuel amount directly?
Yes. Select single-record mode.
Is a US gallon the same as an imperial gallon?
No. Their different volumes produce different mpg numbers.