Fuel Cost Calculator
Trip cost
$32.34
- Fuel needed9.375 US gallons
- Cost per mi$0.108
How this was worked out
- Trip in kilometres300 mi × 1.609344 = 482.8 km
- Fuel use per 100 km235.214583 (litres per 100 km in one US mpg) ÷ 32 mpg (US) = 7.35 L/100 km
- Fuel for the trip482.8 km × 7.35 ÷ 100 = 35.49 L = 9.375 US gallons
- At the price you pay9.375 US gallons × $3.45 = $32.34
US and imperial gallons differ by about 20%, so a car rated at 40 mpg in the UK is roughly 33 mpg in US terms; pick the row that matches the pump you buy at, because the price and the economy have to mean the same gallon. Prices are in whatever currency you buy fuel in: the picker beside the heading chooses the symbol they are printed with, and nothing is converted between one currency and another. The economy figure is the one you supply, and a manufacturer's rating is usually optimistic: motorway speed, a roof box, cold weather, traffic and a heavy right foot all cost real fuel, so a long trip planned on a brochure number tends to come in under. Nothing here covers tolls, parking or wear.
The worked examples below are in US dollars. The tool itself works in whichever currency you pick above, and never converts between them — what you type is what it does the arithmetic on.
What a journey costs in fuel
Deciding whether to drive or take the train, splitting a road trip between passengers, claiming mileage back from an employer, or comparing two cars before buying one — all of them need the same number, and none of them are served by a vague sense that fuel is expensive. Give this calculator a distance, a fuel economy figure and a price, and it returns the fuel used, the total cost, the cost per mile or kilometre, and the amount each if you are splitting it.
It is the one-figure version of the road trip fuel planner. Use this when the whole journey can honestly be described by a single consumption figure; use the planner when the route is motorway, then hills, then town, and one number would flatter or libel the car.
A worked example: 300 miles at 32 mpg
A 300-mile trip in a car doing 32 mpg, with fuel at $3.45 a US gallon: 300 ÷ 32 = 9.375 gallons, at a cost of $32.34, or 10.8 cents a mile. Split between three people, that is $10.78 each.
The same car expressed in metric terms is 7.35 litres per 100 km, which is the figure a European specification sheet would quote. Running metric directly: 500 km at 7.5 L/100 km is 37.5 litres, and at $1.80 a litre that is $67.50.
The imperial case is where the arithmetic quietly diverges. A 300-mile trip at 40 mpg in imperial gallons uses 7.5 imperial gallons — but that same car is only 33.3 mpg in US terms, because an imperial gallon is about 20% larger. Comparing a UK economy figure against a US one without converting overstates the car by a fifth.
The conversions used
Fuel used is distance ÷ economy in imperial or US units, or distance × consumption ÷ 100 in metric. Everything is normalised internally to kilometres and litres per 100 km so that one code path serves all three systems, then converted back for display.
| Conversion | Value used |
|---|---|
| US gallon | 3.785 litres |
| Imperial gallon | 4.546 litres |
| Imperial mpg to US mpg | divide by 1.20095 |
| mpg to litres per 100 km | 235.214583 ÷ mpg |
The last row is the one worth sitting with. Miles per gallon and litres per 100 km are reciprocals rather than a scale, so a given improvement in mpg is worth much more at the bottom of the range than at the top — going from 15 to 20 mpg saves more fuel over the same distance than going from 40 to 50.
Why the real cost will be higher
The published or dashboard economy figure is an optimistic starting point. Real consumption is worse in cold weather, in traffic, at motorway speeds above about 60 mph, with a roof box or a full car, with under-inflated tyres, and on short trips where the engine never reaches operating temperature. A useful habit is to calculate your own figure from a few full-tank fills rather than trusting the brochure.
The calculation covers fuel and nothing else. Tolls, parking, congestion charges, servicing, tyres, insurance and depreciation are all real costs of the journey.
That is why mileage reimbursement rates, such as the US IRS standard rate or the UK HMRC rate, are several times the pure fuel cost. If you are comparing driving against another mode of transport, fuel alone understates the case considerably.
Gallons, real economy and what else a mile costs
Why is my car’s UK mpg figure so much higher than a US one?
Because the gallons are different sizes. An imperial gallon is 4.546 litres against a US gallon’s 3.785, so the same car scores about 20% higher in UK figures. A 40 mpg UK car is a 33.3 mpg US car.
How do I find my real fuel economy?
Fill the tank, reset the trip meter, drive normally until it is nearly empty, then fill it again and divide the distance by the fuel added. Averaging two or three tanks is more reliable than one, and the result is usually a few per cent worse than the dashboard readout.
Is litres per 100 km a better measure than miles per gallon?
It is easier to reason with, because it is proportional to fuel used rather than inversely proportional. Halving L/100 km halves the fuel burned; with mpg, the saving from any given increase depends entirely on where you started.
Last reviewed 27 August 2026