← All blog posts

Road trip cost with units: converting inputs correctly

WhiteUI · A plain-English guide to road trip cost calculator

Most wrong answers here are unit slips, not formula slips. Get the units right and the formula usually takes care of itself.

Distance and mileage must use matching units: kilometres with km per litre, miles with miles per gallon — never kilometres with miles per gallon. Fuel price is per litre (or per gallon, matching the mileage), and the answer comes out in rupees for the same currency as the price. A distance in miles divided by a mileage in km/L mixes two systems and gives a meaningless litres figure.

The formula is: Fuel needed = distance ÷ mileage. Fuel cost = fuel needed × fuel price. Total cost = fuel cost + tolls (and any other fixed costs). Cost per person = total cost ÷ number of travellers.

Worked example, with units shown: 400 km at 15 km/L needs 400 ÷ 15 = 26.67 litres. At ₹100 a litre that is ₹2,667 of fuel; adding ₹500 of tolls gives ₹3,167 in total, or ₹792 per person for 4 travellers (₹3,167 ÷ 4 = ₹791.75, rounded to ₹792).

A second example: 300 km at 12 km/L needs 300 ÷ 12 = 25 litres, costing 25 × ₹100 = ₹2,500 of fuel; with ₹200 of tolls the total is ₹2,700, or ₹900 per person for 3 travellers. A third check: 600 km at 20 km/L needs 30 litres, costing ₹3,000 with no tolls, or ₹1,500 per person for 2 travellers.

Before trusting any answer, read its unit back: does it say what you expected — square units for an area, a length for a circumference, rupees for a maturity? If the unit looks wrong, an input unit is wrong too.

Frequently asked questions

Which unit should the answer be in?

The unit that matches your inputs: the same length unit for a circumference, square units for an area, rupees for money. If the answer’s unit surprises you, an input unit is wrong.

How do I convert between units?

Convert before calculating, not after. Convert every input to one unit first, then run the formula once.

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 Road Trip Cost Calculator

Try it yourself

Enter distance, mileage, fuel price, tolls and travellers to see the trip cost and the cost per person.

Open the Road Trip Cost Calculator