Gas Calculator
Estimate the fuel a trip burns and what it costs to fill the tank.
Seventeen preset cars, city, highway or mixed driving, and 20 currencies.
Updated November 27, 2026
Introduction
Three numbers decide what a drive costs at the pump: how far you are going, how thirsty the car is, and what a litre — or a gallon — costs where you fill up. This page takes those three, works out the fuel the trip will burn, turns it into money, and divides the bill between whoever is in the car.
Most people arrive with one of three questions in mind. How much will this weekend trip cost in fuel? What is my share if four of us drive to the coast? And if I only want to spend 60 on fuel, how far is that? All three are the same calculation read in a different direction, which is why every box on the page doubles as an input and as a result: fill in the ones you know and the rest follow.
The car menu carries the published fuel economy of seventeen common vehicles, so a rough answer is one click away. Nothing stops you from replacing that figure with your own: pick “Other vehicle”, or the “Custom” trip type, and type the number your own car actually delivers. That difference matters — a figure off a specification sheet and a figure measured at the pump are rarely the same number.
What this page does not do is price the rest of driving. Tolls, parking, insurance, servicing and depreciation stay outside the fuel bill, and the trip is priced exactly once — if you are driving there and back, enter the round-trip distance rather than trusting something to double it for you. For a drive you repeat every week, the commute calculator turns the same arithmetic into a monthly comparison against public transport.
17 vehicles
Published figures for city, highway and combined
4 economy units
Litres per 100 km, US mpg, UK mpg, km per litre
20 currencies
Fuel price and money results, at the current rate
Quick start
Pick the car and the kind of driving
Choosing a vehicle loads the fuel economy published for it and locks the economy box, because that figure belongs to the car rather than to your trip. “Trip type” says which of the three published figures to use: City, Highway, or Urban and Highway for the combined one. If the car is not in the list, choose “Other vehicle” and the menu disappears, the economy box opens, and you type your own.
Enter the distance, once
Kilometres are the default; metres, thou, feet, yards and miles are all accepted, and the answer is given in whatever unit the box is showing. Enter the whole distance you intend to drive. A 250 km weekend out is 250, not 125 — nothing here doubles a trip behind your back.
Price the fuel the way the pump quotes it
The fuel price carries two menus: currency first, then the volume it is quoted per — litre, US gallon or UK gallon. Set the volume to match the pump and the currency to match your wallet; switching either one converts the number without changing what you are actually paying per litre.
Say how many people are sharing
The share is the fuel bill divided by this number, so count everyone who pays — yourself included if you are driving and paying. Leave it empty and you will still see the total cost; fill it in and the cost per person appears beside it.
Read the fuel, the bill and the share
A Ford F150 on a 250 km city drive, with fuel at 1.50 a litre, split four ways:
The car burns a little over 29 litres, the fill costs about 44, and each of the four pays a shade over 11. Notice what the trip-type menu is worth on the very same drive: the same 250 km costs 22.62 litres on the highway figure and 25.57 litres on the combined one.
How the figures are built
Three multiplications and one division, in a fixed order: fuel from distance and economy, money from fuel and price, share from money and headcount.
Fuel burned on the trip
A fuel economy quoted in litres per 100 kilometres tells you how much the car drinks over each 100 km block. So the distance is expressed in those blocks first, then multiplied by the economy:
Measure the same relation in the base units the page works in — metres for distance, litres for fuel — and the two conversion factors fold into one denominator of 100,000, which is simply 1,000 metres to a kilometre times the 100 km block:
What that fuel costs
The pump price is money per volume, so the fuel and the price have to be quoted per the same volume before they multiply. Choose the volume the pump quotes and the page normalises the price to money per litre first:
The share each person pays
Every box works in both directions
The same three statements rearranged answer the questions that arrive the other way round — a budget instead of a distance, a measured fill instead of a published figure, a share instead of a headcount:
One direction is deliberately closed. While a car from the menu is selected, its fuel economy has no reverse direction at all: you can drive the trip distance or the litres back out of the bill, but the published figure itself cannot be rewritten by the arithmetic. Anything else would let a measured fuel amount quietly move a sedan from 11.76 to 13 litres per 100 km and leave you believing the car had changed. Choose “Other vehicle” or the “Custom” trip type and that box belongs to you again, in both directions.
The three published figures are different measurements
City, Highway and Urban and Highway are not three guesses at the same number. The urban figure is measured in low-speed stop-and-go traffic with a cold start, the highway figure in free-flowing traffic with the engine already warm, and the combined one weights the two. A Ford F150 published at 20 mpg in town and 26 on the motorway comes out at 23 combined, which is why the trip-type menu moves the answer so much on a long drive.
Miles per gallon and litres per 100 km pull in opposite directions
A bigger mpg number is a better car; a bigger L/100 km number is a worse one. That is why the unit menu converts by division rather than by a simple multiplier, and why the same 20 mpg reads as 11.76 litres per 100 km:
Worked examples
The same drive, three ways of describing it
Situation: A 250 km motorway run to a client meeting in a Ford F150, fuel at 1.50 a litre, four people travelling. The only thing that changes between these three results is the trip type.
Inputs
Result
City: 11.7607 L/100 km → 29.4018 L, 44.10 total, 11.03 each.
Urban and Highway: 10.2267 L/100 km → 25.5668 L, 38.35 total, 9.59 each.
Highway: 9.0467 L/100 km → 22.6168 L, 33.93 total, 8.48 each.
Starting from a budget instead of a distance
Situation: Four friends agree to put 60 of fuel in the tank at 1.50 a litre on the same city trip. They want to know how far that buys them before they set off.
Inputs
Result
The bill buys 40 litres of fuel, which at the F150’s city economy is about 340 km. The share is 15 each.
A car that is not in the menu
Situation: A diesel estate nobody lists, driven 250 km on 18 litres by the trip meter. Three of you shared the driving and will split the fuel, which cost 1.75 a litre.
Inputs
Result
The measured fill works backwards to 7.2 litres per 100 km, a bill of 31.50 and 10.50 each. That measured figure is worth more than any published one, because it already contains your driving style, the load in the boot and the road you actually covered.
Inputs worth checking
The distance is the whole trip
Nothing is doubled inside the calculation. If you are driving out and back, enter 500 km rather than 250, and the fuel and the bill will follow.
A grey economy box is not a locked calculator
It means a published figure is in charge. Switch the car to “Other vehicle”, or the trip type to “Custom”, and the box opens so you can type a measured value.
Watch the volume the price is quoted per
A US gallon is 3.785 litres and a UK gallon is 4.546, so the same pump price becomes a very different number per gallon. Choose the volume in the second price menu to match the one on the forecourt sign.
Mixing up the two economy scales
Typing 30 into a box set to L/100 km when your figure was 30 miles per gallon overstates the fuel by more than a factor of two. Check the unit menu before blaming the car — or convert the figure first.
Count the people who actually pay
The share is the bill divided by the number you enter, with no separate line for the driver. If you drive and pay, include yourself. If the passengers are covering the fuel between them, enter only the passengers: three people sharing a 44.10 bill pay 14.70 each.
Questions
Does the calculator double my distance for a return trip?
No. The distance you enter is the distance that gets priced, once. A 250 km figure is billed as 250 km of fuel, so enter the return leg yourself when you need both directions.
Why can I not type into the fuel economy box?
Because a car is selected from the menu, and that car’s figure is treated as a published property rather than something the arithmetic may rewrite. Choose “Other vehicle” in the car menu, or “Custom” as the trip type, and the box becomes editable in both directions — you can then also work the economy back out of a measured fill.
How do we split the fuel so the driver pays nothing?
Enter the number of people who are paying rather than the number of seats occupied. A 44.10 bill covered by three passengers is 14.70 each; add the driver to the count only if the driver is also paying a share. If the real question is who owes what after the trip — including whoever already paid at the pump — the carpooling calculator is built for exactly that settlement.
Why does my real fuel use differ from the car's published figure?
Published figures come from standardised test cycles: the city cycle is a cold start in stop-and-go traffic averaging a little over 30 km/h, the highway cycle a warm engine in free-flowing traffic. A US Department of Energy and EPA description of those cycles sets out the speeds and conditions each one covers. Load, tyre pressure, air conditioning, gradient, temperature and how heavy your right foot is all sit outside the test, which is why a measured figure usually beats a published one here.
Can I use it for a price quoted per gallon in another currency?
Yes — the two menus on the fuel price are independent. Set the currency to whatever you pay in and the volume to the unit on the sign; the page converts both before anything is multiplied. The money results follow the same currency, so a total can be read as dollars, euro, yen or anything else on the list.
How far to trust it
A planning estimate, not a fuel receipt
The arithmetic here is exact; the inputs are not. What you get is the best estimate the numbers you typed can support, and real consumption can move well away from any published figure.
Fuel economy is a range, not a constant
Published figures come from laboratory cycles and assume a warm, unloaded car in moderate weather. A roof box, four adults, a hill and a cold morning will all add litres the table never promised.
Prices and rates both move
The pump price is whatever you type, so it is only as current as your last look at the forecourt. Currency conversions use a rate fetched when the page loads and refreshed daily, so a saved link can reopen with a slightly different rate.
Fuel is not the whole cost of driving
Tolls, parking, insurance, servicing and depreciation sit outside this bill. On a short trip they can easily outweigh the fuel; on a long one they are a smaller addition. Fold the ones you pay during the trip into your own budget.
Rounded for reading, exact underneath
Figures are shown rounded to a readable number of digits — 11.7607 rather than the full decimal expansion — and that rounding never feeds into the next step of the calculation, so the totals are not built from rounded pieces.
None of this makes the page a substitute for a fuel card statement or a fleet accounting system. Treat the result as a sound estimate for deciding whether a trip fits the budget, splitting a bill fairly, or comparing one car against another — not as a guaranteed figure.
Related Calculators
Cost of Owning a Dog Calculator
Calculates the total cost of owning a dog based on size and various expense categories.
Back to School Calculator
Plan a back-to-school budget across clothing, electronics, shoes, supplies and extras, with itemised costs and a remainder for every category.
Commute Calculator
Compare the monthly cost of driving to work with the same commute by public transport, including fuel, parking, wear and tickets, per person.
MPG Calculator
Work out miles per gallon, the fuel a drive burns and the trip cost from the distance, the fuel economy and the pump price, in US or UK mpg, L/100 km or km/L.
Compression Ratio Calculator
Work out an engine's static compression ratio from its bore, stroke, chamber, gasket and deck volumes, then its dynamic ratio from the intake valve closing point, with a reverse solve for every geometry figure and for the engine volume.
MPG to L/100 km Converter
Convert fuel economy between US mpg, UK mpg, L/100 km and km/L instantly. Enter any one value and see the other three with inverse-proportional conversion.