Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Mileage Calculator (Bike & Car km/L)

Real-world mileage from your own fill-ups — one tank or a running log.

Utility No upload Works offline Free, no sign-up

Your fill-up

Fill the tank to full, note the odometer, drive as usual, then fill to full again: the fuel it takes is the fuel you used.

Distance from
Distance in
Leave it empty if you know the amount paid and the price — it is worked out.
Range and monthly cost (optional)

Fuel economy

Fuel economy —

Enter the distance and the fuel.

—Distance
—Fuel used
—Cost of the fuel
—Cost per km

Working

    Next steps

    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

    1. One fill-up: at a full tank, note the odometer (or reset the trip meter). At the next fill-up, fill to full again.
    2. 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.
    3. Optional: open Range and monthly cost for the range on a full tank and your fuel bill for the distance you drive a month.
    4. 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.
    5. 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

    A scooter
    Input
    Odometer 12,000 → 12,450 km · refill 9.5 L at ₹102.50
    Result
    47.4 km/L · 2.11 L/100 km · ₹973.75 of fuel · ₹2.16 per km
    The fueleconomy.gov example
    Input
    32,645.1 → 33,001.3 miles · 13.5 US gallons
    Result
    356.2 miles ÷ 13.5 = 26.4 mpg (US) · 11.2 km/L
    Paid ₹500 at the pump
    Input
    Trip meter 210 km · ₹500 at ₹104 a litre
    Result
    4.81 L · 43.7 km/L
    A partial fill in the log
    Input
    Full at 10,000 km · 10 L partial at 10,400 · 25 L to full at 10,900
    Result
    900 km ÷ (10 + 25) L = 25.7 km/L for that stretch
    A CNG car
    Input
    50,000 → 50,240 km · 9.6 kg at ₹76
    Result
    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.

    Quick answers and tool search

    Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.