This mileage calculator works out your car's fuel economy from the distance you drove and the fuel you used, and shows the answer in km per liter, liters per 100 km, US MPG and UK MPG at once. Add the price per liter to see what each kilometer, mile and 100 km really costs you. For a fleet or a long-term log, paste or drop a CSV of fill-ups with odometer readings and fuel amounts: each row's distance is taken from the previous reading, results are added as new columns and the whole log downloads as a CSV, with several files bundled into one ZIP. It is free, runs entirely in your browser, and your fuel records never leave your device. The full-tank method gives the most reliable figure: fill to the click, reset the trip meter, drive normally, then fill again and enter the trip distance and the liters of that second fill.
| km/L | L/100 km | MPG (US) | MPG (UK) |
|---|---|---|---|
| 8 | 12.5 | 18.8 | 22.6 |
| 10 | 10 | 23.5 | 28.2 |
| 12.5 | 8 | 29.4 | 35.3 |
| 15 | 6.7 | 35.3 | 42.4 |
| 20 | 5 | 47 | 56.5 |
Fill the tank, reset the trip meter, drive, fill again, then divide the kilometers driven by the liters of the second fill. That gives km/L.
Divide 100 by the km/L figure. 12.5 km/L is 8 L/100 km.
A UK gallon is 4.546 L and a US gallon is 3.785 L, so the same car shows about 20% higher MPG in UK units.
Yes. Paste or drop a CSV with odometer and fuel columns; each row is calculated from the gap to the previous reading, and the results download as a CSV.
No. Everything is calculated in your browser and nothing is sent to a server.
Distance is converted to kilometers (1 mile = 1.609344 km) and fuel to liters (1 US gallon = 3.785411784 L, 1 UK gallon = 4.54609 L). Fuel economy is then km ÷ liters for km/L, liters ÷ km × 100 for L/100 km, and miles ÷ gallons for US and UK MPG. With an optional price per liter the tool multiplies liters by price for the fuel cost and divides by distance for cost per km. In batch mode an odometer column is turned into per-fill distances by subtracting the previous row's reading (the full-tank method), so the first row is the baseline and a reading that goes backwards is flagged on that row only.