Fuel Cost: worked example step by step
The best way to trust a calculator is to work one example all the way through by hand, then confirm the calculator agrees. Here is that example, step by step, with nothing skipped.
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.
Step by step: 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.
Now repeat it with your own numbers. Change one input at a time and watch the answer move — that is how you learn what each input actually does, instead of just reading a number off the screen.
Frequently asked questions
Why work through an example by hand?
Because a hand-worked example gives you a number you trust. Once you have one, you can test the calculator against it and spot any input slip at once.
Should the calculator match my hand calculation exactly?
Yes, apart from rounding to two decimal places. A larger gap means an input differs, not that the calculator disagrees.
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
- How to calculate fuel cost
- Fuel Cost formula explained simply
- Fuel Cost for beginners
- Common mistakes when calculating fuel cost
- Fuel Cost vs mileage: what’s the difference
- How to use a fuel cost calculator
- Fuel Cost quick reference table
- Fuel Cost in real life: everyday examples
- Fuel Cost practice questions with answers
Enter a distance, your vehicle’s mileage and the fuel price to see the litres used and the trip cost.