Mileage Calculator (Bike & Car km/L)
Real-world mileage from your own fill-ups — one tank or a running log.
Fuel economy
Enter the distance and the fuel.
Working
Fill-up log
Units apply to every fill-up of this vehicle; changing them later does not convert fill-ups already logged.
Mileage so far
Add at least two fill-ups to the full tank to see your mileage. Start with today’s fill-up (to full) and its odometer reading.
Fill-ups
| Date | Mileage | Odometer | Fuel | Paid | Actions |
|---|
No fill-ups yet.
Fuel bought by month
| Month | Fill-ups | Fuel | Spent |
|---|
Money paid at the pump in each calendar month. “Average a month” above spreads everything paid after your first fill-up over the days up to the last one.
Your log is saved in this browser only. Download the CSV to back it up or to move it to another device.
About the Mileage Calculator (Bike & Car km/L)
Find the mileage your bike, scooter or car really gets. Fill the tank to full, note the odometer, ride or drive as usual, then fill to full again: the fuel the tank takes is the fuel you used, and the distance between the two readings divided by it is your mileage. Enter the two readings (or the trip meter) and the litres, and you get km/L, L/100 km and mpg (US and UK) — plus the cost per km, the range on a full tank and your monthly fuel bill if you add the price.
Keep a fill-up log to follow your mileage over time: add each fill-up with its odometer reading, and the tool measures every full tank (adding any partial fills in between), shows the average, best, worst and last tank, a trend chart, the fuel cost per km and what you spend a month. It handles petrol, diesel and CNG (km/kg), km or miles, litres or gallons, several vehicles, and saves everything in your browser.
How to use it
- One fill-up: at a full tank, note the odometer (or reset the trip meter). At the next fill-up, fill to full again.
- Enter the two odometer readings (or the trip meter distance) and the fuel the tank took. Add the price per litre or the amount paid to see the cost per km.
- Optional: open Range and monthly cost for the range on a full tank and your fuel bill for the distance you drive a month.
- Fill-up log: choose Fill-up log, set the vehicle’s units under Vehicle details, and add each fill-up — date, odometer and fuel (or the amount and the price). Untick Filled the tank to full for a partial fill.
- After two full tanks, read the average and the chart. Download the log as CSV to back it up, or import it on another device.
Examples
Odometer 12,000 → 12,450 km · refill 9.5 L at ₹102.50
47.4 km/L · 2.11 L/100 km · ₹973.75 of fuel · ₹2.16 per km
32,645.1 → 33,001.3 miles · 13.5 US gallons
356.2 miles ÷ 13.5 = 26.4 mpg (US) · 11.2 km/L
Trip meter 210 km · ₹500 at ₹104 a litre
4.81 L · 43.7 km/L
Full at 10,000 km · 10 L partial at 10,400 · 25 L to full at 10,900
900 km ÷ (10 + 25) L = 25.7 km/L for that stretch
50,000 → 50,240 km · 9.6 kg at ₹76
25 km/kg · 4 kg/100 km · ₹3.04 per km
Common uses
- Checking the real mileage of a new bike or car against the figure in the brochure.
- Spotting a problem early — a sudden drop can mean low tyre pressure, a dragging brake or a service due.
- Knowing your fuel cost per km and monthly fuel spend for budgeting or reimbursement.
- Comparing petrol and CNG running costs, or two vehicles in the same household.
The full-tank (tank-to-tank) method
The US Department of Energy’s fueleconomy.gov describes it as the odometer method: fill the tank completely and write down the odometer; at the next fill-up, fill completely again and note how much fuel it took; subtract the readings and divide the distance by that fuel. The trip meter method is the same with the trip meter reset at the first fill.
It works because the tank is full at both ends, so the fuel added at the second fill is exactly what the engine burned. The pump nozzle does not always click off at precisely the same level, so one tank can be a little high or low — the average over several tanks in the log is the figure to trust.
Partial and missed fill-ups in the log
- Partial fill (not to full): its fuel is added to the next full tank, and the distance runs from the previous full tank. Example: full at 10,000 km, 10 L at 10,400, then 25 L to full at 10,900 gives 900 km ÷ 35 L = 25.7 km/L.
- Missed fill-up: tick I missed logging a fill-up before this one and that stretch is left out (its fuel is unknown); measuring starts again at the next full tank.
- The average is the total distance divided by the total fuel of all measured stretches, so a long highway tank counts more than a short one — the same as one big tank-to-tank measurement.
- Spending: “Average a month” spreads everything paid after your first fill-up over the days up to the last one (30.44 days a month); the monthly table shows what you paid at the pump in each calendar month.
Units and conversions
Exact definitions from NIST (SP 811, App. B.9 and Handbook 44 (2026), App. C): 1 mile = 1.609344 km, 1 UK gallon = 4.54609 L, and 1 US gallon = 231 cubic inches = 3.785411784 L. So L/100 km = 100 ÷ km/L, mpg (US) = km/L × 2.352146 and mpg (UK) = km/L × 2.824809: 40 km/L is 2.5 L/100 km, 94.1 mpg (US) or 113 mpg (UK). For CNG, mileage is in km per kg.
Limitations
- One tank is only as accurate as the two fill levels; for a reliable figure, log several full tanks.
- The result is only as accurate as the odometer, which can be off — for example after fitting tyres of a different size.
- Electric vehicles are not covered: their range and kWh use are best read from the vehicle or the charger.
- The log is saved in this browser only (up to 1,000 fill-ups per vehicle, 10 vehicles); download the CSV to keep a backup.
Privacy
Everything happens in your browser. Your readings and fill-up log are stored in this browser only and are never uploaded; the CSV download is made on your device.
Frequently asked questions
How do I calculate my bike’s mileage?
Fill the tank to full and note the odometer. Ride normally, then fill to full again and note how many litres it took and the new reading. Mileage = (new reading − old reading) ÷ litres. For 12,000 → 12,450 km on 9.5 L: 450 ÷ 9.5 = 47.4 km/L.
Why do I have to fill the tank to full?
Because only then is the fuel you add equal to the fuel you used. If you add a fixed amount (₹200, say) without filling up, the tank level is different each time and the result is a guess. In the log, such partial fills are simply added to the next full tank.
How do I convert km/L to L/100 km or mpg?
L/100 km = 100 ÷ km/L; mpg (US) = km/L × 2.352; mpg (UK) = km/L × 2.825. The calculator shows all of them for your figure. For example 15 km/L = 6.67 L/100 km = 35.3 mpg (US) = 42.4 mpg (UK).
What if I forgot to log a fill-up?
Add the next fill-up as usual and tick I missed logging a fill-up before this one. The stretch with the unknown fill is left out, so it cannot spoil your average; measuring restarts at the next full tank.
Why is my mileage lower than the company’s figure?
Claimed figures come from standard tests under set conditions. Traffic, speed, short trips, idling, air conditioning, load, tyre pressure and the route all change real-world mileage — which is what this calculator measures.
Does it work for CNG or in miles and gallons?
Yes. Choose kg (CNG) as the fuel unit for km/kg, or miles with US or UK gallons for mpg. Each vehicle in the log keeps its own units and currency.