The Mileage Calculator works out your vehicle’s fuel efficiency — its mileage. Enter the distance you travelled and the fuel you used, and it gives your mileage as distance per unit of fuel (km/l or mpg). Add the fuel price and it also shows your cost per kilometre and total fuel cost.
It is the quickest way to check how economical your car or bike is, compare it before and after a service, or work out running costs. Keep the units consistent — kilometres with litres gives km/l; miles with gallons gives miles per gallon (mpg).
How to calculate mileage
- Enter the distance you travelled since the last full tank.
- Enter the amount of fuel used to cover that distance.
- Read your mileage (km/l or mpg).
- Optionally add the fuel price to see cost per km and total cost.
Frequently Asked Questions
How is mileage calculated?
Mileage = distance travelled ÷ fuel used. For example, 400 km on 22 litres is about 18.2 km/l. This tool does the division for you and also handles miles and gallons for mpg.
How do I calculate my bike or car mileage accurately?
Fill the tank fully, note the odometer, ride/drive normally, then refill fully and note the distance and the litres it took. Enter those two numbers here for an accurate real-world mileage.
What is the difference between km/l and mpg?
km/l is kilometres per litre (used in India and most of the world); mpg is miles per gallon (used in the US and UK). Just use matching units for distance and fuel and the tool gives the right figure.
Is the mileage calculator free?
Yes — it is free, needs no sign-up, and calculates instantly in your browser.