garageX

How garageX calculates your mileage

Updated 2 December 2026 · by garageX

Your real mileage comes from two full tanks: the distance between them divided by the fuel it took to fill up again. Here is the method, step by step, with an example.

The short answer

Mileage = distance driven between two full tanks ÷ fuel added to fill up again. Fill the tank to full, note the odometer, and next time you fill to full, divide the kilometres (or miles) driven by the litres (or gallons) it took. That is the full-to-full method, and it is what garageX uses.

Why full to full?

The only moment you know exactly how much fuel is in the tank is when it is full. Measuring from one full tank to the next means the fuel you add the second time is exactly the fuel you burned in between, so the result is your real mileage, not the number on the brochure.

Partial fills and missed fill-ups

A worked example

A car, fuel at ₹102 a litre:

Fill-upOdometerFuelTypeWhat happens
110,000 km(fills to full)FullA stretch starts at 10,000 km.
210,250 km8 LPartialAdded to the open stretch.
310,520 km12 LFullCloses it: 520 km ÷ 20 L = 26.0 km/l. A new stretch starts.
410,900 km15 LFull, missed one beforeThe open stretch is thrown away; a new one starts at 10,900 km.
511,300 km16 LFullCloses it: 400 km ÷ 16 L = 25.0 km/l.

Tips for accurate mileage

Units are covered in km/l, mpg and L/100 km: how to convert.

Let the app do the maths. garageX is a free, offline fuel log for Android. Log each fill-up and it works out your mileage, cost per kilometre or mile and monthly spend with this method. Get garageX on Google Play.