Skip to main content

Fuel Cost Calculator

Last reviewed 16 June 2026 by TaxFly Editorial Team
Share

This fuel cost calculator works out what a journey actually costs to drive, using three numbers you already know or can find in a minute: the distance in miles, your car's MPG, and the pump price in pence per litre. Whether you are pricing a daily commute, a long motorway run, or a road trip you want to split with friends, you get a clear figure in pounds and pence.

It is built for UK drivers, uses the imperial gallon your MPG is measured in, and handles petrol, diesel and hybrids the same way.

Journey & vehicle

miles
p/L
times

Fuel cost

Fuel used
Cost per mile
Cost each
Cost per year

Over a year

fuel spend

miles driven

Estimate only. Real-world MPG and pump prices vary by car, driving style and area.

Annual cost vs pump price

Yearly fuel cost Your price

How your yearly fuel bill moves as the price at the pump changes, for this journey and frequency.

Pump price (pence per litre), from to

MPG Per trip Per year vs now

Compare saved journeys

Journey Per trip Per year p/mile

Quick answer

Fuel cost per mile = price per litre × 4.546 ÷ your car's mpg. A 50 mpg car at £1.50 a litre costs about 13.6p a mile, so a 200-mile round trip costs roughly £27.28. Enter your own trip above.

Price any journey before you set off

Enter your distance, your car's miles per gallon and the current pump price into the fuel cost calculator above, and it returns the cost of the trip. Change any one of the three inputs and the result updates, so you can test a cheaper route, a more economical driving style, or a fill-up at a supermarket forecourt versus a motorway services.

How the fuel cost calculation works

The maths behind a petrol cost calculator is short, but the unit juggling trips people up. Your MPG is measured in miles per imperial gallon, yet you buy fuel in litres. One imperial gallon is 4.54609 litres, so every calculation has to convert between the two.

The formula, in plain words, is:

  • Gallons used = distance in miles ÷ MPG
  • Litres used = gallons used × 4.546
  • Journey cost = litres used × price per litre

You can fold that into a single line: cost = (miles ÷ MPG) × 4.546 × price-per-litre-in-pounds. If you prefer to think per mile, divide the journey cost by the miles and you get your pence-per-mile fuel figure, which is handy for budgeting and for comparing cars.

A quick note on MPG itself. The official figure on a car's spec sheet comes from a standardised lab test (WLTP) and is usually optimistic compared with real-world driving. Town traffic, a roof box, a full boot, cold weather and a heavy right foot all push your real MPG down. For an honest estimate, work out your own MPG: note the miles between two fill-ups, then divide by the gallons you put in (litres ÷ 4.546). Use that number here rather than the brochure figure.

Diesel and petrol use exactly the same formula; only the MPG and the pump price differ. Diesels typically return more miles per gallon but diesel often costs a few pence per litre more, so the cheaper-to-run answer depends on both figures together, not just the MPG.

Worked example: a five-day commute

Picture Sarah, a nurse in Leeds who drives 24 miles to the hospital and 24 miles home, five days a week. Her petrol hatchback returns a real-world 45 MPG and her local forecourt is charging 140p a litre.

  • Weekly distance: 48 miles × 5 = 240 miles
  • Gallons used: 240 ÷ 45 = 5.33 gallons
  • Litres used: 5.33 × 4.546 = 24.25 litres
  • Weekly cost: 24.25 × £1.40 = £33.94

Over a 46-week working year that is roughly £1,561 in fuel just getting to work. Knowing the number makes decisions concrete: a colleague to car-share with, or a switch to a 55 MPG car, would cut that weekly bill to about £27.78 and save her over £280 a year on the same commute.

Worked example: a long motorway trip

Now take Daniel, driving 300 miles from Bristol to Newcastle in a diesel estate that does 52 MPG on a steady motorway run, with diesel at 148p a litre.

  • Gallons used: 300 ÷ 52 = 5.77 gallons
  • Litres used: 5.77 × 4.546 = 26.23 litres
  • One-way cost: 26.23 × £1.48 = £38.82

The return leg costs the same, so the round trip is about £77.64 in fuel. Split between four people sharing the car, that is roughly £19.41 each, far less than the train for most groups. This is where a journey cost calculator earns its keep: it turns a vague "it'll cost a bit" into a figure you can split fairly or claim back.

Claiming fuel back: business mileage and EVs

If some of those miles are for work, you may be able to claim them. Employees using their own car for business journeys can claim a tax-free mileage allowance from their employer, or tax relief from HMRC if the employer pays less than the approved rate. That allowance is a flat pence-per-mile figure meant to cover fuel and wear, so it is not the same as your raw fuel cost here. Work out what you are owed with our mileage allowance calculator, and keep a running log with the mileage tracker so your claim stands up if HMRC asks. The official rules are on the gov.uk business mileage pages.

Thinking of going electric? Charging is priced per kWh, not per litre, so the comparison needs a different sum. Our EV charging cost calculator works out the cost of a journey on electricity, which lets you put the two fuels side by side honestly. To see the full running cost of any car including tax and depreciation, the cost per mile calculator goes a step further than fuel alone.

Practical ways to cut the figure down

Small changes move the number more than people expect, because fuel cost scales directly with both consumption and price:

  • Drive for economy. Easing off above 60mph, smooth acceleration and correct tyre pressures can lift real MPG by 10 to 20 per cent, which feeds straight through to a lower trip cost.
  • Shop around for fuel. Supermarket forecourts are often several pence a litre cheaper than motorway services. On a 50-litre fill, 6p a litre is £3 saved each time.
  • Lose dead weight and drag. Roof boxes and bars hurt motorway economy noticeably; take them off when not in use.
  • Combine trips. A cold engine uses far more fuel in the first couple of miles, so one longer chained trip beats several short cold starts.

Once you know your weekly fuel spend, fold it into a wider plan. The budget calculator helps you sit fuel alongside the rest of your outgoings rather than treating it as an afterthought.

Common mistakes to avoid

A few errors quietly throw the result off:

  • Mixing up gallons. A US gallon is 3.785 litres, not 4.546. UK MPG uses the imperial gallon, so always convert with 4.546 or your cost lands about 17 per cent too low.
  • Using the brochure MPG. Lab figures flatter most cars. Measure your own MPG over a few tanks for a realistic answer.
  • Pricing in pence but reading in pounds. 140p per litre is £1.40, not £140. Keep the decimal point straight.
  • Forgetting the return leg. Enter the full round-trip distance, or remember to double a one-way result.
  • Assuming diesel is always cheaper to run. Higher MPG can be cancelled out by a higher pump price and a pricier service bill, so compare the total, not the headline MPG.

These estimates are for guidance only and are not personal tax or financial advice. Fuel prices change daily, so re-check the pump price for an accurate result.

Related calculators worth a look

To go further than fuel alone, try the cost per mile calculator for total running costs, the EV charging cost calculator to compare electric driving, and the mileage allowance calculator if any of your driving is for work and could be claimed back.

Pence per mile, by efficiency and fuel price

Your mpg£1.40/litre£1.50/litre£1.60/litre
40 mpg15.9p17.0p18.2p
50 mpg12.7p13.6p14.5p
60 mpg10.6p11.4p12.1p
Claiming business mileage? HMRC's approved rate of 45p per mile (25p after 10,000 miles) covers fuel AND wear, insurance and depreciation, which is why it is roughly triple the fuel-only cost

Business drivers: log trips with the mileage tracker and check GOV.UK mileage rates. Electric? Compare with the EV charging calculator.

Who should use this calculator

For working out what a specific journey costs in fuel — a commute, a regular trip to family, or a run you are deciding whether to make by car or train. Entering the frequency turns a small per-trip figure into the annual number, which is usually the one that changes behaviour.

The passenger split is genuinely useful for car sharing. Note that if this is business mileage in your own vehicle you should not be using fuel cost at all — you claim the approved mileage rate instead, which covers wear, insurance and depreciation as well as fuel. The mileage allowance calculator handles that.

What this calculator assumes

  • Cost is distance ÷ MPG × fuel price, converting between miles, gallons and litres.
  • The MPG you enter is what the car actually achieves. Manufacturer figures are optimistic; real-world consumption is typically 10–20% worse.
  • A return trip doubles the one-way distance.
  • Splitting between passengers divides the fuel cost only.

Limitations — what it does not cover

  • All non-fuel running costs — insurance, VED, servicing, tyres, and depreciation, which usually exceed fuel over a year.
  • Driving conditions. Urban stop-start, cold weather, roof boxes and a full car all worsen consumption significantly.
  • Fuel price variation between supermarkets and motorway services, which can be 20p a litre or more.
  • Tolls, congestion and clean-air charges, and parking.
  • Electric vehicles, where cost depends on home versus public charging and the two differ enormously.

Frequently asked questions

How do you calculate the fuel cost of a journey?
Divide the distance in miles by your car's MPG to get gallons used, multiply by 4.546 to convert to litres, then multiply by the pump price in pounds per litre. For example, 240 miles at 45 MPG and 140p a litre is (240 / 45) x 4.546 x 1.40, which comes to about 33.94 pounds.
Why does the calculator use 4.546 litres per gallon?
UK MPG is measured in imperial gallons, and one imperial gallon equals 4.54609 litres. Because you buy fuel in litres but your MPG is in gallons, the sum has to convert between them. A US gallon is only 3.785 litres, so using that by mistake would understate your real fuel cost by roughly 17 per cent.
What MPG figure should I enter?
Use your own real-world MPG rather than the brochure number, which comes from an optimistic lab test. Work it out by noting the miles between two fill-ups and dividing by the gallons added (litres divided by 4.546). Town driving, cold weather, heavy loads and motorway speeds all lower the figure you should actually use.
Is the fuel cost the same as what I can claim for business mileage?
No. HMRC's approved mileage allowance is a flat pence-per-mile rate covering fuel plus wear, insurance and depreciation, so it is usually higher than raw fuel cost. Work out what you can claim with our mileage allowance calculator and keep a log to support it. The rules are on gov.uk.
Is diesel always cheaper to run than petrol?
Not always. Diesels generally return more miles per gallon, but diesel often costs a few pence more per litre and servicing can be dearer. To know which is cheaper for your driving, enter each car's real MPG and the matching pump price into the calculator and compare the total journey cost, not just the headline MPG.
How can I work out my weekly or monthly fuel spend?
Multiply a single journey's cost by how often you make it. A 48-mile round-trip commute costing 6.79 pounds a day over five days is about 33.94 pounds a week, or roughly 147 pounds a month. Putting that figure into a budget calculator helps you plan around it rather than being surprised at the pump.
Does the calculator work for electric cars?
This tool is built around MPG and litres, so it suits petrol, diesel and hybrid cars. Electricity is priced per kWh, not per litre, so for an EV use our EV charging cost calculator instead. Running both lets you compare the cost of the same journey on fuel versus electricity on a fair basis.
How accurate is the journey cost estimate?
It is as accurate as your three inputs. The maths is exact, but fuel prices change daily and real MPG varies with traffic, weather and load. For the closest figure, enter the current pump price and your own measured MPG rather than the manufacturer's claimed number, and use the full round-trip distance.

Use this calculator on your site

Free to embed, no attribution fee — just keep the credit line. It stays up to date automatically, because it loads from us.

Preview

Guides that explain this

All guides →

Software that files it for you

Partner links

If you keep your own books, these are the packages that handle Self Assessment and Making Tax Digital.

FreeAgent

4.8
Free optionMTD ready

The freelancer and contractor favourite, free with some bank accounts.

  • Free forever with a NatWest, Royal Bank of Scotland, Ulster or Mettle business account
  • Built-in Self Assessment and MTD for Income Tax filing

From £0 with a NatWest, RBS or Mettle account, otherwise about £19/mo

See FreeAgent

QuickBooks

4.6
MTD ready

The big all-rounder with the deepest MTD track record.

  • Sole Trader plan built specifically for Self Assessment and MTD
  • Snap and store receipts, automatic bank feeds

From about £10/mo, frequent 90% off intro offers

See QuickBooks

Xero

4.5
MTD ready

The scale-up choice once you have staff, stock or VAT.

  • Huge app marketplace and the accountant industry standard
  • Strong for VAT, payroll and multi-user limited companies

From about £15/mo

See Xero

We may earn a commission if you sign up through one of these links. It never changes what we calculate, what we recommend, or the order they appear in.