Fuel Cost Calculator
Enter the distance, your car's fuel efficiency and the price at the pump to see the fuel used, the total cost, the cost per person and the cost of every mile or kilometre.
🌍 Units
🚗 Your trip
One way — tick round trip below to double it
📊 Trip cost
🚙 Compare two vehicles
See what a more efficient car would save you over a year.
How to use the fuel cost calculator
- Pick your unit system — US (miles, mpg, gallons), UK (miles, imperial mpg, litres) or metric (km, L/100 km, litres). This sets every input at once, and you can still change any single unit afterwards.
- Enter the one-way distance of the trip.
- Enter your car’s fuel efficiency in whichever unit you know it: mpg (US), mpg (imperial), L/100 km or km/L.
- Enter the fuel price per gallon or per litre, and pick your currency.
- Tick round trip if you are driving back, and set how many people are splitting the cost.
- Optionally turn on compare two vehicles and add an annual distance to see what a more efficient car would save in a year.
Everything updates as you type, and nothing you enter leaves your browser.
How it works
The calculator converts every input to litres and kilometres, then does one multiplication.
consumption (L/100 km) = 235.215 / mpg (US)
= 282.481 / mpg (imperial)
= 100 / (km per litre)
litres used = consumption × distance (km) / 100
cost = litres used × price per litre
| Input | Converted using | Note |
|---|---|---|
| Miles | 1 mile = 1.609344 km | Exact definition |
| US gallons | 1 gal = 3.785411784 L | Exact definition |
| Imperial gallons | 1 gal = 4.54609 L | About 20% larger than a US gallon |
| mpg | Reciprocal of L/100 km | Higher is better |
| L/100 km | Used directly | Lower is better |
Two conversions catch people out. First, mpg and L/100 km run in opposite directions, so you cannot average or compare them without converting. Second, US and imperial gallons differ, which is why the same car carries two very different mpg ratings on either side of the Atlantic.
The cost per mile or per kilometre is simply the total cost divided by the distance actually driven, so it doubles the distance — not the rate — when round trip is ticked.
Worked examples
A weekend drive. 300 miles at 30 mpg (US) with fuel at $3.50 a gallon uses 10 gallons and costs $35.00, which is 11.7 cents a mile. Make it a round trip and it is 20 gallons and $70.00.
Sharing the cost. That same $35 trip split between four people is $8.75 each — a figure worth agreeing before setting off rather than at the services.
A European road trip. 500 km at 7.0 L/100 km with fuel at 1.75 per litre uses 35 litres and costs 61.25, or 0.12 per kilometre.
A UK commute. 200 miles at 50 mpg (imperial) uses 4 imperial gallons, which is 18.18 litres. At £1.45 a litre that is £26.37.
Buying a more efficient car. Driving 12,000 miles a year at $3.50 a gallon, a 30 mpg car burns 400 gallons and costs $1,400 a year. A 40 mpg car burns 300 gallons and costs $1,050 — a saving of $350 a year, 25% of the fuel bill, or $1,750 over five years.
Notice how the saving shrinks as efficiency rises. Going from 15 to 20 mpg over those 12,000 miles saves $700 a year, while going from 40 to 50 mpg saves only $210. Fuel used is the reciprocal of mpg, so improvements at the thirsty end of the scale are worth far more than improvements at the frugal end.
Tips and common mistakes
- Use your real-world efficiency, not the brochure figure. Fill the tank, drive normally, fill it again and divide the distance by the fuel added.
- Check which gallon you are using. A US gallon is about 20% smaller than an imperial one, and mixing them up moves the cost by a fifth.
- Remember the return leg. Half of all “the trip cost more than I thought” surprises are a forgotten round trip.
- Motorway speed matters. Aerodynamic drag rises with the square of speed, so the same car is measurably thirstier at 80 mph than at 65.
- Weight and drag add up. A loaded roof box, low tyre pressures or a boot full of luggage can add several percent to consumption.
- Fuel is only part of the cost of driving. Depreciation, insurance, tax, tyres and servicing often cost more per mile than the fuel does — compare full running costs before changing car.
The figures here are fuel-cost estimates based on the numbers you enter, not a quote or financial advice. Real consumption varies with driving conditions, so add a margin when budgeting a long trip.
Glossary
- mpg – miles per gallon; higher is better. Always check whether the gallon is US or imperial.
- L/100 km – litres of fuel used to drive 100 km; lower is better.
- km/L – kilometres travelled per litre, common in Japan, Korea and parts of South America.
- Cost per mile – total fuel cost divided by miles driven, the usual basis for mileage sharing.
- Real-world economy – the efficiency you actually achieve, typically worse than the official test figure.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Divide the distance by your fuel efficiency to get the fuel used, then multiply by the price per unit. A 300-mile drive at 30 mpg uses 10 US gallons, which at $3.50 a gallon costs $35.
How do I work out the cost per mile?
Divide the fuel price by the miles per gallon. At $3.50 a gallon and 30 mpg, fuel costs about 11.7 cents a mile — useful for pricing a lift, a delivery or a mileage claim.
Can I use L/100 km instead of mpg?
Yes. Switch the unit system or the efficiency select to L/100 km, km/L, US mpg or imperial mpg, and the price to per litre or per gallon. Everything is converted internally, so the units can be mixed freely.
What is the difference between US mpg and imperial mpg?
The gallons are different sizes. An imperial gallon is 4.54609 L and a US gallon is 3.785411784 L, so the same car rated at 30 mpg in the US is about 36 mpg in the UK. Always check which gallon a figure refers to.
How much would a more efficient car save me?
Turn on the comparison and enter your annual distance. Going from 30 mpg to 40 mpg over 12,000 miles a year at $3.50 a gallon saves about $350 a year, or $1,750 over five years, before any difference in purchase price, insurance and maintenance.
Why does my real fuel use differ from the calculation?
Official efficiency figures are measured under test conditions. Speed, traffic, cold starts, air conditioning, roof boxes, tyre pressure, load and hills all raise consumption, so treat the result as an estimate and leave some margin.
Related tools
- Unit ConverterPick a category, choose two units and type — the conversion runs in both directions as you go, with exact factors and a quick reference table for each category.
- Percentage CalculatorFive common percentage calculations on one page. Results update as you type, and nothing you enter leaves your browser.
- Discount CalculatorFind the final price, the money saved and the true percentage off — including the case where an extra discount stacks on top of a sale price.
- Age CalculatorEnter a date of birth and get an exact age — plus the weekday you were born on, your next birthday, and your star sign and Chinese zodiac animal.
- Date Difference CalculatorTwo calculators in one — the exact gap between two dates, including business days, and a date-maths mode that adds or subtracts any period.
- Tip CalculatorEnter the bill, pick a tip percentage and say how many people are paying — the tip, the total and each person's share update as you type.
Last reviewed: