Calculating petrol expense is a four-step process: measure the distance, find your vehicle's real mileage, note today's petrol price, and multiply through the formula. Below is the math, two worked examples (one in km/L, one in MPG), and the rules of thumb that turn the formula into a real-world fuel budget.
The petrol cost formula
Cost = (Distance ÷ Mileage) × Price per unit
That single equation handles every petrol calculator on this site. Distance and mileage must share the same unit. The calculator normalizes everything to a common base — kilometres and litres — and then applies the price per litre, gallon, or whatever the user picked.
Step 1 — Measure your distance
Distance is the simplest input. For a daily commute, measure one-way and tick the round-trip option to double it. For a single journey between two cities, use the figure your maps app gives you. For a delivery rider tallying a day's work, sum every leg.
Step 2 — Find your vehicle's real mileage
The most common mistake on petrol calculators is plugging in the manufacturer's mileage figure. Real-world fuel economy is usually 10–15% worse because the manufacturer test runs on a smooth track at constant speed with the AC off. Compute your own from two fill-ups:
- Fill the tank to the click. Reset the trip meter.
- Drive normally for a few hundred kilometres. Don't empty the tank — refill at the same pump and brand for consistency.
- Fill to the click again. Note the litres on the receipt and the trip meter reading.
- Divide trip distance by litres added. That's your real km/L. If your bike has a 50 km/L sticker but two fill-ups give you 600 km on 14 L, your real mileage is 42.9 km/L.
Step 3 — Note today's petrol price
Petrol prices are reset weekly or fortnightly in most countries. The calculator pre-fills a recent national midpoint based on your locale — but override it with today's actual pump price for accuracy. Pakistan's Oil and Gas Regulatory Authority, India's oil-marketing companies, the UK's RAC Foundation, and the US's AAA daily price tracker are all good sources.
Step 4 — Apply the formula
Plug the three numbers in. The calculator does it live as you type, so you can sweep distance up and down to see the cost react.
Worked example 1 — bike commuter in Lahore
- Daily distance: 30 km (one-way)
- Bike mileage (real): 50 km/L
- Petrol price: ₨ 280/L
Petrol used = 30 ÷ 50 = 0.6 L. Daily cost = 0.6 × 280 = ₨ 168. Monthly (30 days) = ₨ 5,040. With round-trip ticked (60 km/day): ₨ 336/day, ₨ 10,080/month.
Worked example 2 — car commuter in London
- Daily distance: 25 miles
- Car mileage: 35 US MPG
- Petrol price: £ 6.59 per US gallon (≈ £ 1.74/L)
Petrol used = 25 ÷ 35 = 0.71 US gal. Daily cost = 0.71 × 6.59 = £ 4.68. Monthly (22 working days) = £ 102.96. Annual (220 working days) = £ 1,030.
Common mistakes
- Using manufacturer mileage instead of real mileage. Off by 10–15%, and that compounds across an annual budget.
- Forgetting round-trip. A 30 km one-way commute is actually 60 km each day.
- Using last month's petrol price. Price moves weekly in most countries.
- Mixing units.Don't enter mileage in km/L and distance in miles. The calculator's unit toggles prevent this but it's easy to do on paper.
Try it on your trip
Run the Petrol Expense Calculator with your numbers, or jump straight to the Bike Petrol Calculator if you're a rider.