How garageX calculates your mileage
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
- Partial fill (not to full): its fuel and cost are added to the stretch, and the stretch closes at the next full fill-up.
- Missed fill-up: if you filled up without logging it, the open stretch is missing fuel, so garageX throws that stretch away instead of showing a mileage that is too good. Mark the next fill-up I missed logging a fill-up before this; a new stretch starts at the next full tank.
- Your average is the total distance of every complete stretch divided by the total fuel in them. It is not the average of each fill-up's number, so a short stretch never counts as much as a long one.
- Cost per kilometre (or mile) is the fuel cost of those stretches divided by their distance.
A worked example
A car, fuel at ₹102 a litre:
| Fill-up | Odometer | Fuel | Type | What happens |
|---|---|---|---|---|
| 1 | 10,000 km | (fills to full) | Full | A stretch starts at 10,000 km. |
| 2 | 10,250 km | 8 L | Partial | Added to the open stretch. |
| 3 | 10,520 km | 12 L | Full | Closes it: 520 km ÷ 20 L = 26.0 km/l. A new stretch starts. |
| 4 | 10,900 km | 15 L | Full, missed one before | The open stretch is thrown away; a new one starts at 10,900 km. |
| 5 | 11,300 km | 16 L | Full | Closes it: 400 km ÷ 16 L = 25.0 km/l. |
- Average mileage: (520 + 400) km ÷ (20 + 16) L = 920 ÷ 36 = 25.6 km/l (about 60 mpg US, or 3.9 L/100 km). Not 25.5, the plain average of 26.0 and 25.0.
- Cost per km: 36 L × ₹102 = ₹3,672 ÷ 920 km = ₹3.99 per km.
- Fill-up 4's 15 L is not counted: without the missed fill-up, nobody knows what that stretch really used.
Tips for accurate mileage
- Fill to full now and then. Every closed stretch needs a full tank at both ends.
- Let the pump click off once, and fill the same way each time.
- Log every fill-up, or mark the one after a gap as missed.
- Compare over several tanks: one tank swings with traffic, weather, load and tyre pressure.
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.