Quick Answer: The mileage formula is distance in kilometres divided by fuel in litres, giving km/l. Rearrange it to find fuel needed or range on a tank. For example, 540 km on 36 litres equals 15 km/l, which at Rs 103 per litre costs about Rs 6.87 per km.
Key takeaways:
- Mileage in km/l is distance divided by fuel used.
- The same formula finds fuel needed and range on a tank.
- Cost per km equals fuel price divided by mileage.
- Use km/kg for CNG and km/kWh for electric vehicles.
- Compare vehicles on cost per km, not only km/l.
The Mileage Formula in One Line
Every fuel-economy figure you see on a car brochure or a review video comes from one simple idea. How far did the vehicle go, and how much fuel did it burn? The mileage formula puts that idea into numbers.
In this article, we explain the formula, show its variations, and work through real Indian examples with rupee costs. By the end, you will be able to rearrange the formula to find fuel needed, distance possible and cost per kilometre. If you prefer to skip the arithmetic, a free mileage calculator does it for you.
The Basic Formula
The core formula is:
Mileage (km/l) = Distance travelled (km) / Fuel consumed (litres)
Here, distance comes from your trip meter or odometer. Fuel consumed is the litres you put in at the next full refill. The result is in kilometres per litre, which is the standard unit in India.
Three ways to rearrange it
Because the formula has three parts, you can solve for any one of them if you know the other two.
- Find mileage: Mileage = Distance / Fuel
- Find fuel needed: Fuel = Distance / Mileage
- Find distance possible: Distance = Mileage x Fuel
A handy memory trick is to picture a triangle with distance on top and mileage and fuel at the bottom. Cover the one you want, and the triangle shows the operation.
Related Formulas You Will Need
| What you want | Formula | Unit |
|---|---|---|
| Mileage for petrol or diesel | Distance / litres | km/l |
| Fuel consumption (used in Europe) | (Litres / distance) x 100 | l/100 km |
| Mileage for CNG | Distance / kilograms | km/kg |
| Efficiency of an EV | Distance / kWh used | km/kWh |
| Running cost | Fuel price / mileage | Rs per km |
| Trip fuel cost | (Distance / mileage) x fuel price | Rs |
The l/100 km figure is the reverse of km/l. To switch between them, divide 100 by the number. A car that gives 20 km/l uses 100 / 20 = 5 litres per 100 km. This is useful when you read international car reviews.
Worked Example 1: Finding Mileage from a Full Tank
Anita drives a petrol sedan in Chennai. She fills the tank, resets the trip meter, and refills after a month. The meter reads 540 km and the pump shows 36 litres.
- Mileage = 540 / 36 = 15 km/l
If petrol costs Rs 103 per litre, the cost per km is 103 / 15 = Rs 6.87. Her month of driving cost 36 x 103 = Rs 3,708.
Worked Example 2: Finding Fuel Needed for a Family Trip
The Sharma family plans a road trip from Delhi to Jaipur, about 280 km. Their car gives 16 km/l on the highway. How much fuel will they need, and what will it cost one way?
- Fuel = Distance / Mileage = 280 / 16 = 17.5 litres
- Cost at Rs 95 per litre = 17.5 x 95 = Rs 1,662.50
For the return trip, they double it, so the round trip needs 35 litres and costs about Rs 3,325. They should add toll charges separately. To confirm the road distance first, a distance calculator is a quick way to check.
Worked Example 3: Finding the Range on a Tank
Vikram rides a motorcycle in Kolkata with a 13 litre tank. His real mileage is 48 km/l. How far can he go on a full tank?
- Distance = Mileage x Fuel = 48 x 13 = 624 km
In practice, he should refill when about 1.5 litres remain, which gives a safe range of 48 x 11.5 = 552 km. Never plan to run the tank dry, especially on highways where pumps can be far apart.
Worked Example 4: Comparing Two Cars Before Buying
Kavita is choosing between a petrol car with 17 km/l and a diesel car with 21 km/l. She drives 1,200 km a month. Petrol costs Rs 105 and diesel costs Rs 92 per litre.
- Petrol: 1,200 / 17 = 70.6 litres x 105 = Rs 7,412 per month
- Diesel: 1,200 / 21 = 57.1 litres x 92 = Rs 5,257 per month
The diesel car saves her about Rs 2,155 each month, or around Rs 25,860 a year. But diesel cars usually cost more to buy, so she should compare that price gap before deciding.
Expert insight: Always compare cost per kilometre, not just km/l. A diesel car with a better km/l and cheaper fuel can look very different from a petrol car with a slightly lower figure.
How Speed Changes the Formula’s Result
The formula itself never changes, but the numbers you put in do. Most petrol cars are most efficient between 50 and 70 km/h in a high gear. Above 100 km/h, air drag rises quickly, and mileage can fall by 15 to 25 percent.
If you track your speed on trips, the average speed calculator can help you see why one trip gave a different km/l from another.
Benefits of Understanding the Formula
When you know the formula, you are no longer dependent on a brochure or a salesperson. You can check any claim in under a minute. You can also plan trips with real fuel budgets instead of guesses, which matters when petrol prices change every few weeks.
The formula also helps you spot problems early. If your usual 15 km/l suddenly becomes 12 km/l, something is wrong, and a mechanic can check the tyres, filters or fuel injectors. Over a year, catching that early can save several thousand rupees. Finally, it gives you a common language to compare petrol, diesel, CNG and electric options on cost per kilometre.
Challenges and Limitations
The formula assumes that your distance and fuel readings are exact. In real life, odometers can be a few percent off, and pump fills vary by a small amount. It also gives an average, so it hides the difference between a smooth highway stretch and a long traffic jam.
Another limit is that one number does not cover load. A car with five passengers and luggage will give lower mileage than the same car with one driver. For this reason, use the formula often and note the conditions each time.
Common Mistakes to Avoid
- Mixing up the order of division. Mileage is distance divided by fuel, not fuel divided by distance. If you flip it, you get litres per km, which is a tiny, confusing number.
- Forgetting unit consistency. Keep distance in km and fuel in litres. Do not mix miles, gallons or millilitres without converting first.
- Using the tank size instead of the filled litres. The tank may have a few litres of reserve left, so use the pump reading.
- Ignoring AC and load. AC use can cut mileage by 5 to 10 percent in city traffic, so note it in your log.
- Applying km/l to CNG or EV. Use km/kg for CNG and km/kWh for electric cars, or the comparison will not make sense.
- Rounding too early. Keep at least one decimal place until the final answer, as early rounding can shift the cost per km noticeably.
Best Practices and Expert Recommendations
- Measure over long distances. A 400 km sample is far better than a 40 km sample, because errors shrink as the distance grows.
- Record every fill. A small notebook or phone note with date, litres, price and odometer builds a useful history.
- Calculate cost per km along with km/l. This is the figure that really affects your wallet.
- Use the formula for trip planning. Divide the route distance by your own mileage and add a 10 percent safety margin.
- Compare like with like. Compare city with city and highway with highway when judging two vehicles.
- Keep tyres and filters in good shape. The formula only reflects what the vehicle does, so a well-maintained vehicle gives you a better number to work with.
Try It Yourself
Take your last two refills, subtract the odometer readings, and divide by the litres. Then check your answer with the mileage calculator from DigiToolkit. If the two numbers match, you have understood the formula well.
Conclusion
The mileage formula, distance divided by fuel, is easy to remember and powerful to use. With simple rearrangements, you can find fuel needed, range on a tank, cost per kilometre and the yearly saving from a more efficient vehicle. Practise it with your own readings, and you will make smarter decisions about driving, buying and saving.
Related tools & guides on DigiToolkit
- Try the free Mileage Calculator →
- How to Calculate Mileage: Step by Step Guide for Indian Drivers
- What Is Mileage? A Simple Guide for Indian Vehicle Owners
- Mileage Calculator: Free Online Tool and Guide for India
- Mileage Calculation Examples for Beginners (India, in Rupees)
- What Is Haversine Distance? A Simple Guide
- Speed, Distance & Time Formula Explained with Examples
- More Travel & Automotive guides
FAQs
What is the formula for mileage?
Mileage in km/l equals the distance travelled in kilometres divided by the fuel used in litres. For example, 300 km on 20 litres gives 15 km/l.
How do I find the fuel needed for a trip?
Divide the trip distance by your mileage. A 280 km trip at 16 km/l needs 17.5 litres. Multiply by the petrol price to get the cost.
How do I convert km/l to l/100 km?
Divide 100 by the km/l value. A car that gives 20 km/l uses 100 / 20, which is 5 litres per 100 km.
How is cost per km calculated?
Divide the fuel price per litre by the mileage in km/l. At Rs 105 per litre and 15 km/l, the cost is Rs 7 per km.
Does the formula work for CNG and electric vehicles?
Yes, with different units. Use km/kg for CNG and km/kWh for electric vehicles. The idea of distance divided by energy used stays the same.
Why does my result change from tank to tank?
Traffic, speed, AC use, load and pump cut-off points all vary. Averaging several fills gives a steadier number.