garageX

Mileage calculator

Updated 2 December 2026 · by garageX

Enter how far you drove and how much fuel it took. You get your mileage in km/l, L/100 km and US and UK mpg, and what the fuel cost per kilometre or mile.

Fuel mileage

Odometer now minus odometer at the last full tank.

Your mileage 25.0 km/l

km/l
25.0
L/100 km
4.00
mpg (US)
58.8
mpg (UK)
70.6
Fuel cost
₹1,632
Cost per km
₹4.08
Cost per 100 km
₹408

Trip fuel cost

Trip fuel cost ₹1,020

Fuel needed
10.0 litres
Round trip
₹2,040

How the calculator works

For a true number, measure from one full tank to the next: fill to full, drive, fill to full again, and use the fuel the second fill took. The full-to-full method, with a worked example.

Questions

How do I calculate my bike or car mileage?

Fill the tank to full and note the odometer. Drive, then fill to full again and note how much fuel it took. Mileage = distance driven ÷ fuel added. For example, 400 km on 16 litres is 25 km/l.

How do I calculate fuel cost per km?

Divide the fuel price per litre by your mileage in km/l. At ₹102 a litre and 25 km/l, fuel costs ₹4.08 per km. Or divide what you paid for fuel by the distance it took you.

How much fuel will my trip need?

Fuel needed = trip distance ÷ mileage, and trip cost = fuel needed × price per litre. A 250 km trip at 25 km/l needs 10 litres; at ₹102 a litre that is ₹1,020.

Why is a calculator result different from my real mileage?

One tank swings with traffic, load, weather and how full you filled it. Real mileage is best measured from full tank to full tank over several fill-ups, which is what the garageX app does automatically.

Skip the maths at every fill-up. garageX is a free, offline fuel log for Android. Log each fill-up in about 20 seconds and it keeps your real mileage, cost per km or mile and monthly spend for you, with partial and missed fill-ups handled. Get garageX on Google Play.