MPG and fuel cost calculator

Work out how much fuel a trip, a month or a year uses, what it costs, and what that means per gallon and litres per 100 km.

By CarGarag Editorial Team · Last updated 22 November 2026

Your trip

mi
Enter the distance for the period you choose below.
The distance above is for this period.
MPG
UK average for a petrol car is about 45 MPG.

Fuel

p/L
DESNZ weekly average: petrol 167.07p/L, diesel 196.77p/L. Checked 21 November 2026.

Your figures stay in this browser — nothing is sent or stored.

Your fuel cost

Fuel used0 litres
Fuel used0 gallons
Fuel cost per trip£0.00
Fuel cost per month£0.00
Fuel cost per year£0.00
Cost per mile0.0p
Fuel economy0 L/100km
Fuel economy0 MPG

Quick answer

With the defaults — 100 miles at 45 MPG on petrol at 167.07p a litre — a trip uses 10.10 litres (2.22 gallons) and costs £16.88, or 16.9p a mile. That is 6.28 litres per 100 km.

How this MPG and fuel cost calculator works

First it turns your miles into gallons using your car’s MPG, then into litres using the UK gallon of 4.546 litres. The cost is the litres multiplied by the fuel price. Cost per mile is the total cost divided by the miles, and the L/100km figure is the metric equivalent of your MPG.

Formula: gallons = miles ÷ MPG. Litres = gallons × 4.546. Fuel cost = litres × fuel price (p/L) ÷ 100. Cost per mile (p) = fuel cost ÷ miles × 100. L/100km = 282.48 ÷ MPG. MPG = 282.48 ÷ L/100km. Monthly and yearly figures scale from your chosen period: a trip is assumed to be made once a week (×52 a year), a month ×12, a year ÷12 for the month.

Defaults checked 21 November 2026. Fuel prices change weekly — check the pump price before you rely on a figure.

Frequently asked questions

How do I calculate fuel cost for a trip?

Divide the miles by your car’s MPG to get gallons, multiply by 4.546 for litres, then multiply by the fuel price in pence per litre and divide by 100. For 100 miles at 45 MPG on petrol at 167.07p/L: 100 ÷ 45 = 2.22 gallons, 2.22 × 4.546 = 10.10 litres, 10.10 × 167.07 ÷ 100 = £16.88.

How many litres are in a UK gallon?

One UK (imperial) gallon is 4.546 litres. A US gallon is smaller, at 3.785 litres, so do not mix them up when comparing MPG figures.

How do I convert MPG to L/100km?

Divide 282.48 by the MPG figure. So 45 MPG is 282.48 ÷ 45 = 6.28 L/100km. To go the other way, divide 282.48 by the L/100km figure.

What is a good MPG for a petrol car?

Around 40–50 MPG is typical for a modern petrol family car. Small petrol cars can do 50–60 MPG, while large petrol SUVs are often below 35 MPG. Diesel cars are usually higher, at 50–65 MPG.

How much does it cost per mile?

Divide the fuel cost of a trip by the miles. At 45 MPG on petrol at 167.07p a litre, a mile costs 16.9p in fuel. At 60 MPG it costs 12.7p a mile.

Does this calculator store my details?

No. The calculation runs entirely in your browser and nothing you enter is sent to us or stored.

How this MPG fuel cost calculator works

MPG — miles per gallon — is how the UK measures fuel economy, and it is also the quickest way to see what a journey really costs. A car that does 45 MPG uses far less fuel than one that does 30 MPG, but the difference in pounds is not obvious until you turn the MPG figure into litres, then into money. This MPG fuel cost calculator does that in one step: enter your miles, your car’s MPG and the fuel price, and it tells you the fuel used in litres and gallons, the cost of the trip, the cost per mile, and the metric equivalent in litres per 100 km.

The maths is simple, but the units trip people up. In the UK a gallon is the imperial gallon, 4.546 litres — not the smaller US gallon of 3.785 litres. So first divide your miles by the MPG to get gallons, then multiply by 4.546 for litres. A 100-mile trip at 45 MPG uses 2.22 gallons, or 10.10 litres. Multiply the litres by the fuel price to get the cost: at 167.07p a litre, that trip costs £16.88.

Cost per mile is the figure that matters most for comparing cars and journeys. Divide the trip cost by the miles and you get 16.9p a mile at 45 MPG on petrol. At 60 MPG the same mile costs 12.7p, and at 30 MPG it costs 25.3p — so a 15 MPG improvement is worth about 4p a mile, or £320 a year for someone driving 8,000 miles. The L/100km figure is the same economy expressed the European way: 45 MPG is 6.28 litres per 100 km, and the conversion is simply 282.48 divided by the MPG.

A few things to keep in mind. The MPG you enter should be your real-world figure, not the manufacturer’s official figure — most cars do 10–20% worse in real driving than in the official test, especially on short trips in winter. Fuel prices change weekly, so use the price on the pump, not a price from months ago. And this MPG fuel cost calculator covers fuel only: insurance, tax, servicing, depreciation and finance are in our car running cost calculator.

MPG fuel cost calculator
Work out fuel cost per mile from your car’s MPG and the pump price.

Worked example

A 100-mile trip at 45 MPG on petrol at 167.07p a litre. Gallons = 100 ÷ 45 = 2.22. Litres = 2.22 × 4.546 = 10.10. Cost = 10.10 × 167.07 ÷ 100 = £16.88. Cost per mile = £16.88 ÷ 100 = 16.9p. L/100km = 282.48 ÷ 45 = 6.28. If you made the same trip once a week, that would be £73.14 a month and £877.64 a year.

Assumptions

FigureDefaultSource
Petrol price167.07p/LDESNZ weekly average
Diesel price196.77p/LDESNZ weekly average
Litres in a UK gallon4.546Fixed conversion
Kilometres in a mile1.60934Fixed conversion
Fuel economy45 MPGTypical petrol car — editable
Distance100 milesEditable
AssumptionDefaultNote
Distance100 milesPer trip — editable
Fuel economy45 MPGTypical petrol car — editable
Petrol price167.07p/LDESNZ weekly average — checked 21 November 2026
Diesel price196.77p/LDESNZ weekly average — checked 21 November 2026
Litres in a UK gallon4.546Fixed conversion
Kilometres in a mile1.60934Fixed conversion
Monthly and yearly trip figuresTrip once a weekMonthly = yearly ÷ 12

Frequently asked questions

How do I calculate fuel cost for a trip?

Divide the miles by your car’s MPG to get gallons, multiply by 4.546 for litres, then multiply by the fuel price in pence per litre and divide by 100. For 100 miles at 45 MPG on petrol at 167.07p/L: 100 ÷ 45 = 2.22 gallons, 2.22 × 4.546 = 10.10 litres, 10.10 × 167.07 ÷ 100 = £16.88. Or use this MPG fuel cost calculator instead.

How many litres are in a UK gallon?

One UK (imperial) gallon is 4.546 litres. A US gallon is smaller, at 3.785 litres, so do not mix them up when comparing MPG figures.

How do I convert MPG to L/100km?

Divide 282.48 by the MPG figure. So 45 MPG is 282.48 ÷ 45 = 6.28 L/100km. To go the other way, divide 282.48 by the L/100km figure.

What is a good MPG for a petrol car?

Around 40–50 MPG is typical for a modern petrol family car. Small petrol cars can do 50–60 MPG, while large petrol SUVs are often below 35 MPG. Diesel cars are usually higher, at 50–65 MPG.

How much does it cost per mile?

Divide the fuel cost of a trip by the miles. At 45 MPG on petrol at 167.07p/L, a mile costs 16.9p in fuel. At 60 MPG it costs 12.7p a mile.

Does this MPG fuel cost calculator store my details?

No. The calculation runs entirely in your browser and nothing you enter is sent to us or stored.

Related guides

Work out everything else a car costs in our car running cost calculator, compare electric and petrol in our EV vs petrol calculator, read our car running costs guide, or see all of them on the free car tools page.

Sources

Figures checked 21 November 2026. Fuel prices change weekly — check the pump price before you rely on a figure.

Your result
Inputs ↑