Fuel Cost Calculator UK

Fuel Cost Calculator UK: Calculate Petrol, Diesel and Electric Costs

Working out how much a car journey will cost can help you plan your travel budget and compare the running costs of different vehicles.

You can calculate fuel costs using your journey distance, your car's fuel economy and the price you pay for petrol or diesel. For an electric car, you need its efficiency in miles per kWh and your electricity tariff.

This guide explains how to calculate fuel costs in the UK, estimate petrol and diesel use, work out the cost per mile and compare the energy costs of electric cars.

Fuel Cost Calculator UK

You can calculate the estimated cost of a journey using these formulas.

Petrol and diesel:

Fuel cost = (Distance in miles ÷ MPG) × 4.54609 × Fuel price per litre

Electric cars:

Electricity cost = (Distance in miles ÷ Miles per kWh) × Electricity price per kWh

For example, a petrol car returning 40 MPG will use approximately 11.37 litres over 100 miles.

At an example petrol price of £1.50 per litre, the journey would cost approximately £17.05.

For an electric car achieving 3.5 miles per kWh, a 100-mile journey would use approximately 28.57 kWh. At an example electricity price of 30p per kWh, the energy cost would be approximately £8.57.

These are illustrative calculations, not current UK fuel or electricity prices. Replace the example prices with the rates you actually pay.

How to Calculate Fuel Cost

To work out how much petrol or diesel a journey will cost, you need three figures:

  • The distance you plan to travel in miles.

  • Your car's fuel economy in miles per gallon (MPG).

  • The price of petrol or diesel per litre.

For an electric car, use its efficiency in miles per kWh and the electricity price per kWh.

Petrol and diesel fuel cost formula

The UK uses imperial gallons when expressing fuel economy in MPG. One UK gallon contains 4.54609 litres.

Use this formula:

Fuel used in litres = (Distance ÷ MPG) × 4.54609

Then calculate the cost:

Fuel cost = Fuel used in litres × Price per litre

Example: 100 miles in a 40 MPG petrol car

  1. Divide the distance by the car's MPG: 100 ÷ 40 = 2.5 UK gallons.

  2. Convert gallons into litres: 2.5 × 4.54609 = 11.37 litres.

  3. Multiply the fuel used by the petrol price: 11.37 × £1.50 = £17.05.

The estimated petrol cost is £17.05 for 100 miles at £1.50 per litre.

The same formula works for diesel. Just enter your car's diesel MPG and the diesel price per litre.

Electric car cost formula

Electric cars use electricity rather than petrol or diesel, so their efficiency is measured in miles per kilowatt-hour (miles per kWh).

Use this formula:

Electricity used = Distance ÷ Miles per kWh

Electricity cost = Electricity used × Electricity price per kWh

Example: 100 miles in an electric car

Suppose an electric car achieves 3.5 miles per kWh and your electricity tariff is 30p per kWh.

  • Electricity used: 100 ÷ 3.5 = 28.57 kWh.

  • Electricity cost: 28.57 × £0.30 = £8.57.

The estimated energy cost is £8.57 for 100 miles.

This calculation uses the electricity consumed by the vehicle. The amount drawn from the electricity supply can be higher because of charging losses. Your actual cost will also depend on whether you charge at home or use a public charging network.

Want Lower Monthly Costs? Affordable lease options available.

Current Petrol and Diesel Prices in the UK

Petrol and diesel prices change regularly. They can also vary between fuel stations, retailers and locations.

For a reliable UK-wide reference, check the latest weekly figures published by the government:

GOV.UK: Weekly road fuel prices

The published figures provide average UK pump prices for petrol and diesel. These are useful for estimating costs, but they may differ from the price at your local petrol station.

For the most accurate calculation, use the price you expect to pay when filling up.

You can convert a price per litre into a price per UK gallon by multiplying it by 4.54609.

For example:

  • Petrol at £1.50 per litre costs approximately £6.82 per UK gallon.

  • Diesel at £1.60 per litre costs approximately £7.27 per UK gallon.

These are mathematical examples, not current average prices.

Petrol and Diesel Cost Per Mile

Fuel cost per mile shows how much you spend on fuel for every mile you drive. It is useful when comparing cars with different fuel economy figures or estimating your annual fuel budget.

For petrol and diesel, use:

Fuel cost per mile in pounds = (Fuel price per litre × 4.54609) ÷ MPG

To convert the result into pence, multiply by 100.

Petrol cost per mile

Suppose petrol costs £1.50 per litre.

Petrol economy

Approximate cost per mile

30 MPG

22.7p

40 MPG

17.0p

50 MPG

13.6p

60 MPG

11.4p

At the same petrol price, a car returning 50 MPG costs less per mile to fuel than one returning 30 MPG.

Your actual cost will change with the petrol price and the fuel economy you achieve.

Diesel cost per mile

Diesel cost per mile is calculated in the same way, using the diesel price per litre and your car's MPG.

Suppose diesel costs £1.60 per litre.

Diesel economy

Approximate cost per mile

40 MPG

18.2p

50 MPG

14.5p

55 MPG

13.2p

60 MPG

12.1p

A diesel car returning 55 MPG would cost approximately 13.2p per mile at the example price.

These figures are illustrations. Use the current diesel price and your car's real-world MPG to calculate your own cost.

Electric car cost per mile

For an electric car, divide the electricity price per kWh by the vehicle's miles per kWh.

Electric cost per mile = Electricity price per kWh ÷ Miles per kWh

For example, if electricity costs 30p per kWh and the car achieves 3.5 miles per kWh:

30p ÷ 3.5 = 8.6p per mile.

This is the energy cost based on the stated tariff and vehicle efficiency. Charging losses can increase the amount of electricity you pay for, while public charging prices may be higher or lower than your home tariff.

How Much Does a Journey Cost in Fuel?

The cost of a journey depends on the distance, your vehicle's fuel economy and the price you pay for fuel.

The following examples show how petrol costs can change with journey distance.

Example: Petrol car returning 40 MPG at £1.50 per litre

Journey distance

Approximate petrol used

Estimated cost

50 miles

5.68 litres

£8.52

100 miles

11.37 litres

£17.05

200 miles

22.73 litres

£34.09

These figures use an illustrative petrol price of £1.50 per litre. They are not current UK average costs.

A car with lower MPG will use more fuel over the same distance. For example, a 30 MPG car will use more petrol than a 50 MPG car travelling 100 miles.

For a more accurate estimate, use your own car's fuel economy and the price per litre at the petrol station you plan to use.

How Much Fuel Will My Car Use?

To estimate how much petrol or diesel your car will use, divide the journey distance by its MPG and multiply by 4.54609.

Fuel used in litres = (Distance in miles ÷ MPG) × 4.54609

For example, a car returning 40 MPG over 100 miles will use approximately 11.37 litres.

You can use the same calculation to estimate fuel consumption for:

  • A daily commute.

  • A weekly or monthly mileage allowance.

  • A long-distance motorway journey.

  • An annual mileage estimate.

  • A comparison between two vehicles.

Remember that a car's official fuel economy figure may differ from what you achieve on the road. Traffic, speed, driving style, weather, vehicle load and tyre pressures can all affect fuel consumption.

If you want to estimate how many miles you can drive with a certain amount of petrol, you can reverse the calculation:

Miles you can drive = (Fuel available in litres ÷ 4.54609) × MPG

For example, if you put 10 litres of petrol into a 40 MPG car, the theoretical distance is approximately 88 miles.

Actual mileage will depend on driving conditions and the car's real-world fuel economy.

How Much Is a Gallon of Petrol or Diesel in the UK?

A UK gallon is an imperial gallon containing 4.54609 litres. It is different from a US gallon, which contains approximately 3.785 litres.

To calculate the price of a UK gallon of petrol or diesel:

Price per UK gallon = Price per litre × 4.54609

For example:

  • At £1.50 per litre, a gallon of petrol costs approximately £6.82.

  • At £1.60 per litre, a gallon of diesel costs approximately £7.27.

To calculate the price using the latest UK average, take the current price per litre from the government's weekly road fuel price statistics and multiply it by 4.54609.

This gives you the equivalent price per UK gallon.

If you are checking how much a gallon costs at a particular petrol station, use that station's displayed price rather than the national average.

Petrol vs Diesel vs Electric Running Costs

Petrol, diesel and electric cars use different types of energy, so their running costs need to be calculated differently.

The cost of driving each type of vehicle depends on its efficiency and the price of the energy it uses.

Vehicle type

Efficiency measure

Energy price

Petrol

Miles per gallon (MPG)

Price per litre

Diesel

Miles per gallon (MPG)

Price per litre

Electric

Miles per kWh

Price per kWh

An electric car can have a lower energy cost per mile than a petrol or diesel car, particularly when charged at home using a suitable electricity tariff. However, this is not guaranteed for every vehicle or driver.

Public charging costs can be considerably different from home electricity rates. If you regularly use rapid chargers, calculate your costs using the network's actual price per kWh.

When comparing vehicles, use realistic figures for your own driving habits rather than relying only on official efficiency figures.

For a closer look at charging expenses, read our guide: How Much Does It Cost to Charge a Tesla in the UK?

How to Calculate Annual Fuel Costs

A small difference in fuel cost per mile can add up over a year, particularly if you cover a high annual mileage.

To estimate annual fuel spending:

Annual fuel cost = Annual mileage × Fuel cost per mile

For example, compare two cars travelling 12,000 miles a year.

  • Car A costs 17p per mile in petrol: 12,000 × £0.17 = £2,040.

  • Car B costs 13p per mile in petrol: 12,000 × £0.13 = £1,560.

The difference is £480 a year in fuel costs.

This is an illustrative comparison using fixed cost-per-mile figures. Actual annual spending will change if fuel prices or real-world fuel economy change.

If you drive fewer miles, the difference may be smaller. If you cover a higher annual mileage, fuel efficiency can have a greater effect on your budget.

Fuel Costs and Your Total Car Running Costs

Fuel or electricity is only one part of the cost of running a car. A vehicle that is cheap to fuel may still cost more overall once you include insurance, servicing, maintenance and the cost of the vehicle itself.

When comparing cars, consider:

  • Petrol, diesel or electricity costs.

  • Insurance.

  • Servicing and maintenance.

  • Vehicle tax, where applicable.

  • Annual mileage.

  • Purchase or finance payments, or monthly lease payments.

  • Any charging equipment or public charging costs relevant to an electric car.

It is worth comparing these expenses over the period you expect to keep or use the vehicle, rather than choosing a car based on fuel economy alone.

Can a more economical leased car reduce your motoring costs?

If your current car has high fuel costs, comparing it with a more economical model could help you understand whether changing vehicles makes financial sense.

Car leasing gives you access to a vehicle for an agreed period in return for an initial rental and monthly payments. It can be useful if you want to drive a newer petrol, diesel, hybrid or electric car without buying it outright.

However, a lower fuel bill does not automatically make a lease cheaper.

Before choosing a vehicle, compare:

  • The initial rental and monthly lease payments.

  • Your expected annual mileage and the contract mileage allowance.

  • The vehicle's real-world fuel economy or electric efficiency.

  • Your expected annual fuel or charging costs.

  • Whether servicing and maintenance are included in the agreement.

  • Any excess mileage charges that could apply if you exceed your allowance.

For example, a more efficient car may reduce your annual fuel spending, but you need to compare that saving with the difference in monthly lease payments.

You can use the calculations in this guide to estimate fuel or electricity costs first, then add them to the lease payments to build a more realistic monthly motoring budget.

If you are comparing options, you can look at personal car leasing deals or business car leasing, depending on how you intend to use the vehicle.

Fuel Cost Calculations and HMRC Mileage Rates

Your actual fuel cost per mile is not the same as an HMRC mileage rate.

A fuel cost calculation estimates how much you spend on petrol or diesel based on your car's MPG and the price per litre.

HMRC mileage rates are used for specific business mileage and expense purposes. They are not a direct measure of the fuel consumed by your vehicle.

If you are estimating the cost of a personal journey, use your actual fuel price and vehicle efficiency.

If you are claiming business mileage, check the current HMRC guidance on tax relief for employees using their own vehicles and the rates that apply to your circumstances.

FAQs: Fuel Cost Calculator UK

For a petrol or diesel car, divide the journey distance by your car's MPG, multiply by 4.54609 to convert UK gallons into litres, then multiply by the fuel price per litre.

Fuel cost = (Distance ÷ MPG) × 4.54609 × Fuel price per litre.

It depends on the petrol price and your car's MPG. For example, at £1.50 per litre, a car returning 40 MPG costs approximately 17p per mile in petrol.

Diesel cost per mile depends on the price per litre and your car's MPG. At an example price of £1.60 per litre, a 55 MPG diesel car costs approximately 13.2p per mile.

A UK gallon contains 4.54609 litres. Multiply the current petrol price per litre by 4.54609 to calculate the price per UK gallon.

Multiply the current diesel price per litre by 4.54609. For example, diesel at £1.60 per litre works out at approximately £7.27 per UK gallon.

A car returning 40 MPG will use approximately 11.37 litres of petrol over 100 miles. Your actual consumption will depend on the car's real-world fuel economy and driving conditions.