← All blog posts

Fuel Cost formula explained simply

WhiteUI · A plain-English guide to fuel cost calculator

The formula behind the Fuel Cost Calculator looks short, but each part earns its place. Read it slowly once, and the calculator stops being a black box.

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.

The most useful check is direction, not precision: when you raise an input, does the answer move the way you expect? If it moves the other way, you have usually swapped two inputs or entered a rate in the wrong form.

Frequently asked questions

Which part of the formula matters most?

The part you are most likely to mistype: the rate, the time or the quantity. Check that one first when a result surprises you.

Do I need to memorise the formula?

No. Understand what each input does and the calculator does the arithmetic. The formula is there so you can check the logic, not recite it.

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