Fuel Cost Calculator
Find the fuel a drive will burn and what it will cost.
Litres or gallons, miles or kilometres, twenty currencies, and a tank-to-tank mode that measures your own car.
Updated November 27, 2026
What this calculator answers
Two questions come up before every drive that is long enough to matter: how much fuel will this take, and what will that fuel cost? Type the distance, the price at the pump and what the car does with a litre, and both numbers appear together. Change any one of them afterwards and the rest move with it, so a route that grows by fifty kilometres, a pump that has gone up a few cents, or a different car all take one edit rather than a whole new calculation.
This is a planning tool, not a ledger. It suits the weekend that is still being decided, the commute you are about to start driving instead of taking the train, the first long trip in a car you have just bought, or the moment in a car park when four people want to know what the fuel for tomorrow will come to.
There are two ways to tell it what the car does
- If you know the figure — from the dashboard, the handbook or the sticker on the windscreen — type it into Fuel efficiency/consumption.
- If you do not, choose I don't know my car's fuel efficiency and enter one tank of fuel instead. The page divides the kilometres by the litres for you and feeds the result straight into the trip.
What comes back is fuel and fuel alone. Tolls, parking, tyres, servicing and everything you eat on the way are real costs of a drive, but they are not fuel, and the last section explains what to add and where.
Running one trip, step by step
Describe one leg of the drive
Put the distance of a single leg into One-way distance and set the menu to kilometres or miles, whichever your route is measured in.
Say whether you are coming back
Tick Two-way trip when the drive is there and back. The distance inside the calculation doubles, while the box keeps the one-way figure you typed — so you can still change your route without rethinking the return leg.
Quote the price the way your station does
Enter Fuel price at your gas station, then set both menus to match: the currency you are paying in and the volume the price is quoted per. A per-gallon price left on the per-litre setting is off by a factor of nearly four, and that error flows straight into the bill.
Enter the car's economy, or measure it
Type what the car does with a litre in Fuel efficiency/consumption, in whichever of the four units you know it. If you would rather start from a tank, choose I don't know my car's fuel efficiency: the two fill-up boxes open above the economy box, and the walkthrough further down covers the rest.
Read the two answers
Fuel used during this trip and Fuel cost sit at the bottom. Both of them also work backwards: type a bill you can afford, or a tank you know you have, and the page solves for the distance or the economy instead.
A drive of 240 km each way, in a car that uses 7.9 L/100 km, with fuel at 1.62 per litre
The fuel box shows 37.92 litres and the cost box shows 61.43. The money figure is rounded to the cent for reading — the value behind it is 61.4304 — and divided over the 480 km actually driven it is a little under 13 cents a kilometre.
The three equations behind the boxes
Fuel is distance divided by economy. The trip distance is the one-way figure multiplied by the two-way factor, which is 1 for a one-way drive and 2 for a return:
The bill is that fuel multiplied by the price per litre:
And when you measure the economy from a tank, the distance you drove divided by the fuel you put back in gives the economy the first equation needs:
with the one-way distance in kilometres, the two-way factor, the economy in kilometres per litre, the fuel in litres, the price in dollars per litre, the bill, the distance driven on a tank and the fuel that went into it.
The two-way factor is a switch, never an answer: the page will not invent a value for it, and it will not overwrite the one-way distance you typed. Everything else is free in both directions. Give the page a bill and it solves for the distance; give it a tank and it solves for the economy; give it a distance and a bill and it solves for the price you must have paid. Whichever box you touched last stays exactly as you left it.
Everything is worked through four base quantities
Kilometres, litres, dollars per litre and kilometres per litre. A mile, a gallon or a different currency is converted into those four before it takes part in the arithmetic, and converted back only to be printed. That is why a trip described in miles, priced per US gallon and driven by a car quoted in UK miles per gallon still comes out right — and why the unit menus cannot change the answer, only how it reads.
Miles per gallon, litres per 100 km and two gallons
Most wrong answers from a calculator like this come from the units, not the arithmetic. Three of the four economy options run the same way: a bigger number is a better car, whether that is kilometres per litre, US miles per gallon or UK miles per gallon. Litres per 100 kilometres is the exception — there, a bigger number is a thirstier car — and it is the exact reciprocal of kilometres per litre:
The same car at 7.9 L/100 km is doing about 29.8 US mpg, and NIST publishes the conversion the other way round for US figures: divide 235.215 by the miles per gallon. Their Guide to the SI, Appendix B.8 also carries the factors this page uses for the mile (1.609 344 km exactly) and for both gallons.
Those gallons are not the same size, and the gap is big enough to matter. The US gallon is 3.785 412 litres and the imperial gallon is 4.546 09 litres, so a car that returns 40 UK mpg is only about 33.3 US mpg, which is 7.06 L/100 km. If your dashboard quotes one and your brain thinks in the other, change the menu rather than converting in your head.
The price has the same trap on its volume side. A litre price of 1.62 is 6.13 per US gallon and 7.36 per imperial gallon, so enter the price in the volume the station actually quotes — most of the world prices by the litre, the United States by the US gallon, and a few places by the imperial gallon. The two menus next to the price box are where you say which.
The two money boxes carry their own currency menus. If the bill is shown in a different currency from the price, it is the same money converted at a live exchange rate, not a second price; the note under the boxes names where that rate comes from. For a one-off conversion of a single economy figure, the MPG to L/100 km converter does exactly that one job.
Working out your own car's economy
A handbook figure describes a test bench, not the school run. If you would rather plan with what your car actually does, measure one tank: the page needs two numbers and nothing else.
Fill the tank until the pump clicks itself off, then reset the trip meter to zero.
Drive the way you normally drive — the point is your driving, not the most economical driving possible.
At the next fill-up, fill until the pump clicks off again and note two things: the litres it took — Fuel put into the tank — and the kilometres on the trip meter, Distance driven.
The economy box under those two figures fills itself the moment both are in, and the trip starts using the number immediately — the tank you just emptied has told you what the next trip will cost. It also stays yours to type: give it a figure of your own and the calculation runs backwards, adjusting one of the fill-up numbers to match. Checking a tank that looked thirsty is a common way to use that — "the car does 7 L/100 km, so why did 520 km take 42 litres?"
Two full tanks are the whole method
If you top up a tank that is still half full, the litres box no longer describes the distance box: you have counted fuel that was not burned over those kilometres, or missed fuel that was. Filling to the same cut-off both times is what makes the two numbers comparable.
One tank carries the noise of one week — a lot of motorway, a lot of town, a cold snap, a roof box. Three to five tanks averaged together give a figure worth planning with. And if the two numbers you entered cannot be true — half a litre over 500 km, say — the efficiency box turns red and explains why, but it keeps the figure on screen rather than quietly hiding it, because the cause is usually a mistyped distance rather than a car that runs on air.
Two trips, worked through
1. Planning with a tank you just measured
Your last tank took 42 litres and covered 520 km, and the weekend away is 240 km each way. The measurement gives the economy:
With fuel at 1.62 per litre and the two-way tick on, the trip burns 38.77 litres and the bill comes to 62.81. That is the figure the page puts in the two boxes at the bottom — not an estimate from the handbook, but what your own car did on its last tank.
2. Starting from a budget instead of a distance
Same car, same pump price, but the question is the other way round: 40 is what you can spend on fuel this weekend, so how far can you go? Type 40 into Fuel cost and the page works backwards. It buys 24.69 litres of fuel:
and with 12.38 km to each litre, and the return leg counted, that is 152.85 km each way — about 306 km of driving for the money. If you also want to know how long those kilometres will take, the Drive Time Calculator takes the same distance and turns it into hours and arrival times.
What the fuel figure leaves out
- Fuel only. Tolls, parking, a car park you had to pay for, the wear on tyres and brakes, servicing, insurance and depreciation are all real costs of driving and none of them are here. For the whole cost of a trip, start from this figure and add the rest; for the whole cost of a car, fuel is usually the smaller half.
- The price is the one you typed. This is not a forecast. Pump prices move, and they differ between a motorway services and the supermarket down the road, so the bill is only as current as the number you entered.
- Real economy drifts. A loaded car, a roof box, headwind, air conditioning, stop-start traffic and cold mornings all move the figure. A measured economy is an average of the driving you did, so expect the next trip to land near it rather than exactly on it.
- The measurement is only as good as the fill-up. A partly filled tank, a forgotten trip meter reset, or two different pump cut-offs all corrupt the two numbers the economy is built from.
- Cross-currency bills use a live rate. A bill shown in a currency you did not price in is a conversion at the day's rate, so it can shift between visits even when nothing about the trip has changed.
- Red means "check this", not "wrong". Economies beyond the range of a road car — over 100 km/L, or under 1 km/L — and pump prices over 10 per litre are flagged in red while the figure stays on screen. The first thing to check is almost always the unit menu.
Frequently asked questions
Why is the cost different from what the pump charged me?
A receipt records what you put in the tank, which is not the same thing as what a particular drive uses — and it records it at the price on that day. The calculator bills the fuel a drive of the length you entered will burn, at the price you typed, so treat it as a budget for the trip rather than a prediction of the next receipt.
Can I get a cost per kilometre or per mile?
Divide the fuel cost by the distance actually driven — the round trip, not the one-way figure in the box. The example further up is 61.43 over 480 km, which is about 0.128 per kilometre. If you would rather the answer came from your own car, measure one tank first; the cost per kilometre follows from the same two numbers.
What happens if I only fill part of the tank when measuring?
The division still works, but it is dividing the distance by the wrong amount of fuel: the litres you add to a half-full tank do not describe the kilometres you have driven since the last full one. Either fill to the same cut-off both times, or treat the answer as a rough guide. If you would rather split the bill between passengers, the Carpooling Calculator starts with the same fuel cost and divides it between everybody in the car.
Related Calculators
Bra Size Calculator
Convert an underbust and bust measurement into US, UK and EU bra sizes, with cup letters and sister sizes in centimetres or inches.
Dress Size Calculator
Turn bust, waist and hip measurements into US, UK, EU and international dress sizes, with a consensus size and the spread between them.
Sock Size Calculator
Turn a US, UK/AU or EU shoe size into the sock size band and general size name, for adults and for children by age or shoe size.
Sunglasses Size Calculator
Turn forehead, cheek, jawline and face-length measurements into a lens-bridge-temple sunglasses size in millimetres, plus your face shape and lens depth.
Appliance Depreciation Calculator
Value a used appliance from its age and replacement price: see the actual cash value, or solve back for the age, the price or the depreciation rate.
0-60 Calculator
Estimate your vehicle's 0-60 mph acceleration time based on engine power, weight, drivetrain, tires, and road conditions.