← All blog posts

How to calculate fuel cost

WhiteUI · A plain-English guide to fuel cost calculator

Calculating fuel cost starts with the inputs, not the answer. Gather the numbers first, in the order the calculator asks for them, and make sure each one is in the right unit before you type anything in.

The formula is: Litres used = distance ÷ mileage. Trip cost = litres used × fuel price. Distance and mileage must use matching units — kilometres with km per litre, miles with miles per gallon — or the litres figure will be wrong.

Worked example: A 300 km trip at 15 km/L uses 300 ÷ 15 = 20 litres. At ₹100 per litre the trip costs 20 × ₹100 = ₹2,000.

A second example: a 450 km trip at 18 km/L uses 450 ÷ 18 = 25 litres, costing 25 × ₹100 = ₹2,500. A third check: 240 km at 12 km/L uses 20 litres, costing 20 × ₹98 = ₹1,960.

A habit worth building: run at least three versions of every calculation — your best guess, a lower case and a higher case — and write down the results. The range tells you more than any single number, and it stops one optimistic input from quietly deciding the answer.

Mileage or price: which changes the answer more?

For a 300 km trip at 15 km/L and ₹100 a litre, the cost is ₹2,000. Now change one input at a time. Improve the mileage to 18 km/L and the trip uses 300 ÷ 18 = 16.67 litres, costing ₹1,667 — a saving of ₹333. Raise the price instead, to ₹110 a litre, and the same trip costs 20 × ₹110 = ₹2,200, an increase of ₹200. On this trip, mileage moves the answer more than price does, because a better mileage cuts every litre you buy, while a price rise only reprices the litres you still need.

That does not mean mileage always wins. On a short trip the price matters more, and on a long trip a small mileage gain adds up fast. The useful habit is to test both: keep your real distance, try your best and worst mileage, then try the highest price you have paid in the last month. Whichever change moves the total most is the number worth getting right first.

Checks that catch a wrong fuel-cost answer

Run these before you trust a figure. First, check the units match: kilometres with km per litre, miles with miles per gallon. Mixing them is the fastest way to a nonsense answer. Second, do a rough check by hand: a 100 km trip at 20 km/L uses 100 ÷ 20 = 5 litres, so at ₹100 a litre it should cost ₹500. If the calculator says something far from ₹500 for those inputs, one field is wrong. Third, check the mileage is realistic for the driving: city traffic gives less than a highway run, and a loaded car gives less than an empty one.

Finally, compare the litres, not just the rupees. If the litres look wrong, the cost will be wrong too, whatever the price. Fix the litres first — distance divided by mileage — and the cost usually falls into place.

Frequently asked questions

Where do I start?

Start with the inputs the formula needs, in the order the calculator lists them, then read the headline result and the lines beneath it.

What does the headline number mean?

It is the answer you came for. The lines beneath it break that answer into its parts, so you can trace where it came from.

What if my result looks wrong?

Re-read each field and its unit first. Most wrong results come from a mistyped number or a wrong unit, not from the calculator itself.

More guides on the Fuel Cost Calculator

Try it yourself

Enter a distance, your vehicle’s mileage and the fuel price to see the litres used and the trip cost.

Open the Fuel Cost Calculator