What you enter stays on this device.
The fuel cost of a journey is the miles divided by your mpg, times 4.54609 litres per imperial gallon, times the price per litre: 300 miles at 45 mpg uses 30.31 litres, which is £42.43 at £1.40 a litre.
Litres, gallons and mpg: how the sum works
UK pumps sell fuel by the litre, but most drivers know their car in miles per gallon. The calculator handles the mismatch: it turns the miles into gallons with your mpg, the gallons into litres, then multiplies by the price per litre. The gallon is the imperial one, 4.54609 litres, as defined in the Weights and Measures Act 1985.
Fuel cost = miles ÷ mpg × 4.54609 × price per litre
Take a 220-mile drive to the coast and back, so 440 miles, in a car doing 45 mpg, with petrol at £1.40 a litre. That price is only an example; enter the one on the forecourt. The trip uses 9.78 gallons, or 44.45 litres, which is £62.23 of fuel. Two people sharing pay £31.12 each, and the fuel works out at 14.1p a mile.
Pence per mile by mpg and pump price
Pence per mile is the quickest figure to compare cars or to check a mileage claim. The table gives it for common fuel economy figures, with the L/100 km equivalent used on the Continent.
| Fuel economy | £1.30 a litre | £1.40 a litre | £1.50 a litre | £1.60 a litre |
|---|---|---|---|---|
| 30 mpg (9.42 L/100 km) | 19.7p a mile | 21.2p a mile | 22.7p a mile | 24.2p a mile |
| 35 mpg (8.07 L/100 km) | 16.9p a mile | 18.2p a mile | 19.5p a mile | 20.8p a mile |
| 40 mpg (7.06 L/100 km) | 14.8p a mile | 15.9p a mile | 17.0p a mile | 18.2p a mile |
| 45 mpg (6.28 L/100 km) | 13.1p a mile | 14.1p a mile | 15.2p a mile | 16.2p a mile |
| 50 mpg (5.65 L/100 km) | 11.8p a mile | 12.7p a mile | 13.6p a mile | 14.5p a mile |
| 55 mpg (5.14 L/100 km) | 10.7p a mile | 11.6p a mile | 12.4p a mile | 13.2p a mile |
| 60 mpg (4.71 L/100 km) | 9.8p a mile | 10.6p a mile | 11.4p a mile | 12.1p a mile |
Driving style matters more than hunting for cheap fuel. Dropping from 45 to 40 mpg at £1.40 a litre adds 1.8p a mile, while paying £1.50 instead of £1.40 adds about 1p at 45 mpg.
What a one-way journey costs
At the sample price of £1.40 a litre, here are three typical cars: 35 mpg for a large SUV or a loaded estate at motorway speed, 45 mpg for a family hatchback, 55 mpg for a frugal small car or diesel.
| Distance (one way) | 35 mpg at £1.40 a litre | 45 mpg at £1.40 a litre | 55 mpg at £1.40 a litre |
|---|---|---|---|
| 25 miles | £4.55 | £3.54 | £2.89 |
| 50 miles | £9.09 | £7.07 | £5.79 |
| 100 miles | £18.18 | £14.14 | £11.57 |
| 200 miles | £36.37 | £28.29 | £23.14 |
| 300 miles | £54.55 | £42.43 | £34.72 |
| 500 miles | £90.92 | £70.72 | £57.86 |
Your real mpg, brim to brim
The official WLTP figure and the trip computer can differ from what you actually pay for at the pump. The brim-to-brim method gives your real number: fill up until the nozzle clicks off, reset the trip meter, drive as usual, then fill up again, ideally at the same pump. Miles driven divided by gallons added is your mpg.
Say you put in 40 litres after 400 miles. 40 litres is 8.8 gallons, so the car did 45.5 mpg, or 6.21 L/100 km. At £1.40 a litre the fill-up cost £56, which is 14p a mile. The ‘My fuel economy’ tab does the sum and keeps each fill-up in ‘My fill-ups’ with a chart, so you can spot the effect of winter, a roof box or soft tyres.
US gallons and the 20% trap
American websites quote mpg in US gallons of 3.785 litres. A car rated 45 mpg in UK gallons does only 37.5 mpg in US gallons, for exactly the same fuel use. If a figure looks low, check which gallon it uses; the unit converter switches between mpg, L/100 km, miles and kilometres.
The daily commute: monthly and yearly cost
The ‘Daily commute’ tab takes the one-way distance and the number of commuting days a year. At 15 miles each way, 220 days, 45 mpg and £1.40 a litre, you drive 6,600 miles a year and burn about 667 litres: £933.46 a year, £77.79 a month on average. Toll roads are rare in the UK, but you can add the Dartford Crossing charge or a bridge toll in the tolls field for trips that use them.
Petrol or electric for the same miles?
Open ‘Compare with an electric car’ under the form. The calculator reruns the distance with an efficiency in miles per kWh and a price per kWh, adding 10% for charging losses. For the 6,600 commuting miles, an electric car doing 3.5 miles per kWh, charged at home at the Ofgem price cap average of 26.32p per kWh (1 October to 31 December 2026), pays for about 2,074 kWh: £545.95 a year, £387.51 less than petrol.
Public and rapid chargers cost much more per kWh than home, and an overnight EV tariff costs much less. The EV charging cost calculator mixes home, public and motorway charging. Driving abroad? Pump prices there are in euros: the currency converter turns them into pounds before you enter them.
Method and sources
References used:
- Weights and Measures Act 1985, Schedule 1 (gallon = 4.54609 cubic decimetres; mile = 1,760 yards; yard = 0.9144 metre)
- Prix-carburants.gouv.fr (France, prices by filling station)
- Spanish Ministry for the Ecological Transition and the Demographic Challenge, Geoportal de gasolineras
- Italian Ministry of Enterprises, Osservaprezzi carburanti
- Gov.uk, Weekly road fuel prices
- EDF, regulated «Tarif Bleu» price grid from 1 August 2026 (France)
- Eurostat, household electricity prices, band DC, first half of 2026 (nrg_pc_204)
- Ofgem, energy price cap unit rates and standing charges, 1 October to 31 December 2026
- Bundeskartellamt, the 12 noon rule for German fuel prices (one rise a day at noon, cuts at any time)
- Bundeskartellamt, Market Transparency Unit for Fuels (MTS-K)
This tool is checked by automated tests against known cases. Spotted a mistake? Report it on the contact page.
Last updated