Fuel Cost Calculator
Calculate the cost of any trip or your annual fuel budget. Compare petrol, diesel, and electric running costs. See your cost per mile and how it compares to HMRC mileage rates.
Try another scenario
How to Use This Calculator
Trip Cost tab
Enter your trip distance in miles, select your fuel type (petrol, diesel, or electric), and adjust the fuel economy and fuel price to match your vehicle. The calculator shows the total fuel cost, litres or kWh needed, and cost per mile. For business trips, it also compares your actual cost against the HMRC mileage allowance.
Annual Fuel Budget tab
Enter your annual mileage, fuel economy (mpg), and fuel price per litre. See your total annual fuel bill broken down by month, week, and cost per mile. The HMRC mileage allowance comparison shows whether the standard business mileage rate covers your actual fuel costs.
Petrol vs EV tab
Compare the annual running costs of your current petrol car against an electric vehicle. Enter both sets of efficiency and energy costs to see the annual saving. Add the EV price premium to calculate how many years until the fuel savings pay back the higher purchase price.
Share your result
Every input is encoded in the URL. Click Share to send your exact scenario to a colleague, partner, or save it for later.
The Formula
Fuel cost calculations convert distance and fuel economy into litres (or kWh) consumed, then multiply by the unit price:
Trip cost = Fuel needed (litres) × Price per litre
Cost per mile = Trip cost ÷ Distance in miles
For EVs:
Electricity needed (kWh) = Distance in miles ÷ Miles per kWh
Trip cost = kWh needed × Price per kWh
HMRC mileage allowance:
First 10,000 business miles: 45p/mile
Above 10,000 miles: 25p/mile
The UK uses imperial gallons (4.546 litres), not US gallons (3.785 litres). MPG figures on UK car specifications are imperial. Always check whether your car's quoted MPG is the official WLTP figure (often optimistic) or your real-world average — real-world consumption is typically 10-20% higher than the manufacturer's claim.
For EVs, efficiency is measured in miles per kWh (or kWh per 100 miles). A typical modern EV achieves 3-4 miles per kWh, though this drops significantly in cold weather, at motorway speeds, or when using heating/air conditioning.
Example
Chris — Office Worker, 34, Birmingham
Chris commutes 30 miles each way (60 miles per day, 5 days per week) in a petrol car that averages 36 mpg. He takes 4 weeks of holiday per year, so drives 48 working weeks.
Annual commute calculation
Chris spends £2,636 per year on his commute alone. If he switched to an EV doing 3.5 miles/kWh charged at home (28p/kWh), his annual electricity cost would be around £1,152 — saving £1,484 per year (£124/month).
HMRC mileage comparison
If Chris used his car for business travel, HMRC would reimburse: 10,000 × 45p + 4,400 × 25p = £4,500 + £1,100 = £5,600. Since his actual fuel cost is £2,636, the mileage allowance is meant to also cover insurance, depreciation, and wear.