How to calculate fuel consumption
Divide the distance traveled by the liters of fuel consumed: fuel economy (km/l) = distance ÷ liters. To get consumption in liters per 100 km: l/100km = (liters ÷ distance) × 100.
How to measure it in practice
Fill the tank, note the odometer reading, drive normally until you need to refuel, then record the km driven and the liters needed to fill the tank again — this is the most reliable way to measure your vehicle's real-world consumption.
Cost per km
If you enter the fuel price per liter, the calculator also shows the average cost of each km driven — useful for comparing fuel costs or estimating a trip's expense.
A complete example
You drove 420 km and refueled 30 liters: 420 ÷ 30 = 14 km/l, or about 7.14 l/100 km. To convert to US miles per gallon, divide 235 by the l/100 km figure: 235 ÷ 7.14 is roughly 33 mpg. At 1.50 per liter, each km costs about 0.11.
Keeping the measurement honest
Stop the pump at the first automatic click, use the same station when possible and keep the car level. A single tank swings with traffic, air conditioning and tire pressure, so average three consecutive fill-ups. Highway and city driving produce very different numbers, so log them separately if you want to budget a trip.
Tire pressure that is too low raises consumption noticeably.
Frequently asked questions
Is the price per liter required?
No — it's optional. Without it, the calculator only shows the fuel economy in km/l and l/100km.
Does this calculator work for any fuel type?
Yes — the calculation is the same for gasoline, ethanol, diesel or any other fuel; only the price per liter you enter changes.