Home › Calculators › Fuel Cost Calculator
⛽

Fuel Cost Calculator

Work out your road trip fuel cost before you leave. Enter distance, fuel efficiency and fuel price to see how much fuel you need and what the trip costs.

About this tool

A road trip is more fun when you know what it will cost before you leave. This free fuel cost calculator works out how much fuel your trip needs and what you will pay for it, from just three numbers: the distance, your car fuel efficiency and the price of fuel. It works in miles and gallons or kilometres and litres, so it fits drivers in the US and everywhere else. There is nothing to install and no signup, and the maths runs entirely in your browser. Use it to compare routes, to set a travel budget, or to see what a more efficient car would save you on a long drive.

By Azhar Hussain · Last updated: 7 November 2026

How to use

Enter the total trip distance, then pick miles or kilometres. Next choose the fuel efficiency unit — miles per gallon (US or UK), kilometres per litre, or litres per 100 km — and enter your car's figure. You can find it in your car manual, on the dashboard display, or by dividing the distance of your last tank by the fuel you used. Then enter the fuel price per gallon or per litre. The result updates as you type, and the Calculate button works too.

Tick Round trip for a return journey and the distance is doubled for you — tolls and parking are not doubled, because you pay those once per trip as entered. To compare two cars, enter the second car's efficiency in the same unit and, if you like, your annual distance: the tool shows the saving per trip and per year. The optional extras add a total trip cost, a per-person share, a monthly and annual budget, and a CO2 estimate. The calculator covers fuel only unless you add tolls yourself, so add food and hotels separately when you plan your budget.

The math behind it

The maths is simple. Fuel needed equals distance divided by fuel efficiency, so 300 miles at 30 miles per gallon needs 10 gallons. Total cost equals fuel needed times the fuel price, so 10 gallons at 3.50 dollars a gallon costs 35 dollars. In metric units it works the same way: 500 kilometres at 15 kilometres per litre needs about 33.3 litres, and at 1.20 dollars a litre that costs about 40 dollars. The calculator does not add tolls, food or hotel costs, so add those separately when you plan your budget.

With litres per 100 km the maths flips round: fuel needed equals distance in kilometres times the L/100km figure divided by 100, so 100 km at 7.5 L/100km needs 7.5 litres. To convert between units, divide 235.215 by US miles per gallon to get L/100km (30 mpg is about 7.84 L/100km), or divide 282.481 by UK miles per gallon. One US gallon is 3.78541 litres, one UK gallon is 4.54609 litres, and one mile is 1.60934 km.

Fuel efficiency conversion table

One litre per 100 km is the same efficiency written three ways. US miles per gallon = 235.215 ÷ L/100km; UK miles per gallon = 282.481 ÷ L/100km; km per litre = 100 ÷ L/100km.

L/100kmUS MPGUK MPGkm/L
547.056.520.0
639.247.116.7
829.435.312.5
1023.528.210.0
1219.623.58.3

The other way round: 20 US MPG is 11.76 L/100km, 30 MPG is 7.84, 40 MPG is 5.88 and 50 MPG is 4.70. A UK gallon is about 20% bigger than a US gallon, so 40 UK MPG is only about 33.3 US MPG.

Fuel cost by vehicle type

Fuel use and cost at 12,000 miles a year and $3.50 a gallon. Higher MPG means lower L/100km and lower cost.

Vehicle typeMPGL/100kmGallons per yearCost per year
Compact sedan32–386.2–7.4316–375$1,105–$1,313
Midsize sedan26–327.4–9.0375–462$1,313–$1,615
Midsize SUV22–288.4–10.7429–545$1,500–$1,909
Pickup truck16–2210.7–14.7545–750$1,909–$2,625
Hybrid sedan42–554.3–5.6218–286$764–$1,000
Electric (100+ MPGe)100+—Electricityabout $500–$700

The electric row is an approximate electricity cost for a typical electric car at 12,000 miles a year, not a fuel calculation.

What does your commute cost?

25 miles each way. A 50-mile round trip at 20 MPG uses 2.5 gallons a day (50 ÷ 20). At $3.50 a gallon that is $8.75 a day, $183.75 a month over 21 working days, and $2,205.00 a year. The same commute in a 40 MPG hybrid costs $4.38 a day and $1,102.50 a year — a saving of $1,102.50 a year.

20-mile round trip. At 28 MPG and $3.50 a gallon, 20 miles needs 0.71 gallons (20 ÷ 28) and costs $2.50 a day, or $625 a year over 250 working days. If you see $5 a day quoted for a 20-mile round trip, that figure is for a 40-mile trip — the maths for 20 miles is 20 ÷ 28 × $3.50 = $2.50 a day.

Work it out for your own commute with the calculator above: enter your one-way distance, tick Round trip, and add your trips per month under Trip extras to see the monthly and annual budget.

Worked examples

Daily commute. 30 km at 7.5 L/100km uses 2.25 litres (30 × 7.5 ÷ 100). At $1.50 a litre that is $3.38, or $0.113 per km.

Road trip. 500 km at 6 L/100km uses 30 litres. At $1.65 a litre that is $49.50, or $0.099 per km.

Business trip. 250 km at 9 L/100km uses 22.5 litres. At $1.40 a litre that is $31.50, or $0.126 per km.

Splitting a road trip. An SUV doing 800 miles round trip at 18 MPG uses 44.44 gallons (800 ÷ 18). At $3.60 a gallon that is $160.00, or $40.00 each for four people.

Driving vs flying. Chicago to Orlando is 1,150 miles one-way, 2,300 miles round trip. A minivan at 24 MPG uses 95.83 gallons (2,300 ÷ 24). At $3.30 a gallon that is $316.25, against four flights at $250 each — $1,000. Driving saves the family $683.75, nearly $700.

Comparing two cars. A 22 MPG SUV and a 38 MPG hybrid over 15,000 miles a year at $3.50 a gallon cost $2,386.36 and $1,381.58 — the hybrid saves $1,004.78 a year, about $5,023.92 over five years.

Common mistakes

US vs UK gallons. A UK (Imperial) gallon is about 20% bigger than a US gallon (4.54609 litres against 3.78541), so the same car reads about 20% better in UK MPG: 40 UK MPG is only about 33.3 US MPG. Check which gallon your MPG figure uses before you compare cars.

Doubling an already-doubled distance. If you enter the round-trip distance yourself, do not also tick Round trip — the tool would double it again. Enter the outward leg and let the box do the doubling.

Tolls are not doubled. Tolls and parking are charged once per trip as you enter them; only the fuel doubles on a round trip. Sharing divides the whole total — fuel plus tolls — not just the fuel.

28 means different things. 28 entered as L/100km is a very thirsty car (about 8.4 MPG), while 28 MPG is economical (about 8.4 L/100km). Always check the unit next to the number.

Rounding in the middle. 300 miles at 36 MPG and $3.40 a gallon needs 8.333 gallons. Round that to 8.33 first and you get $28.32; the exact total is $28.33. Keep the full figure until the last step, then round.

City MPG on a highway trip. Most cars are 20–30% thirstier in town than on the highway. A road-trip estimate built on a city figure will come out too high.

Fuel-saving tips that actually work

Slow down. Above 50 mph, fuel efficiency falls about 7% for every 5 mph over the limit. Driving 80 mph instead of 65 mph can be up to 25% worse.

Drive smoothly. Gentle acceleration and braking instead of hard stops and starts saves roughly 15–30%.

Check tyre pressure. Under-inflated tyres cost about 0.2% extra fuel per PSI below the recommended pressure.

Take the roof box off. Roof racks and roof boxes add drag — roughly 5–15% more fuel on the highway when you do not need them.

Combine trips. One warm-engine trip instead of several cold starts can save 15–20%.

Every 10% helps the same amount. A 10% improvement in fuel efficiency cuts the fuel cost by the same 10% — the saving is proportional, whatever your starting point.

Add a buffer. Traffic, detours and price changes mean the real trip usually costs a little more than the estimate, so add 10–15% to the figure when you set your budget.

Methodology and sources

Fuel needed = distance ÷ efficiency (miles per gallon or kilometres per litre), or distance × L/100km ÷ 100. Total cost = fuel needed × fuel price. Cost per mile or per kilometre = total cost ÷ distance. A round trip doubles the distance only — tolls and parking are charged once per trip. Calculations use full precision and only the displayed result is rounded to two decimal places.

Constants used: 1 mile = 1.609344 km exactly; 1 US gallon = 3.78541 litres; 1 UK gallon = 4.54609 litres; L/100km = 235.215 ÷ US MPG = 282.481 ÷ UK MPG; km/L = 100 ÷ L/100km. The CO2 estimate multiplies the trip distance in kilometres by the rate you enter (default 120 g/km).

This tool does not fetch live fuel prices: prices change daily and differ by place, so enter your local price. No fuel price on this page is a live quote.

Frequently asked questions

How do I calculate fuel cost for a road trip?
Divide the trip distance by your fuel efficiency to get the fuel needed, then multiply by the fuel price. For example, 300 miles at 30 miles per gallon needs 10 gallons, and at 3.50 dollars a gallon the trip costs 35 dollars. This calculator does both steps for you.
What is a good miles per gallon figure?
Most petrol cars manage 25 to 35 miles per gallon on the highway, hybrids often reach 45 to 55, and large SUVs and trucks sit around 15 to 22. Your real figure depends on speed, load, air conditioning and driving style, so check your dashboard display for your own average.
How can I save fuel on a long trip?
Drive at a steady speed, keep your tyres at the right pressure, remove roof boxes and heavy loads you do not need, and use cruise control on the highway. Air conditioning at low speed costs fuel, but at highway speed open windows cost more through drag, so use the air conditioning there.
Does this calculator work for kilometres and litres?
Yes. Pick kilometres as the distance unit, enter your efficiency in kilometres per litre and the price per litre, and the result comes out in litres and total cost. The maths is identical in both unit systems.
What if I do not know my car fuel efficiency?
Fill the tank, reset the trip meter, drive normally until the tank is nearly empty, then divide the miles you drove by the gallons you put in at the next fill. Do this twice and take the average. Most cars also show a live average on the dashboard display.
How do I convert L/100km to MPG?
Divide 235.215 by the L/100km figure for US miles per gallon: 6.0 L/100km is 39.2 MPG and 9.0 L/100km is 26.1 MPG. For UK (Imperial) gallons divide 282.481 instead: 6.0 L/100km is 47.1 UK MPG. The other way, 30 US MPG is about 7.84 L/100km.
Does this calculator work for diesel or LPG?
Yes. Enter that fuel's economy and its price per gallon or litre, and the maths is identical. Diesel cars usually manage better mileage than the same car on petrol, and LPG is cheaper per litre but the car uses more of it, so enter the real figures for your car and fuel.
Can I calculate electric-car costs with this calculator?
Not directly. An electric car uses kilowatt-hours, not litres or gallons: multiply your kWh per 100 km by your electricity price per kWh to get the cost per 100 km. This calculator only handles liquid fuels — petrol, diesel and LPG.
Is a round trip just twice the distance?
For fuel, yes: tick the Round trip box and the distance is doubled for you. Tolls and parking are not doubled, because you enter them once per trip. The return leg usually costs the same fuel, unless the route or traffic is very different.
Should I use city or highway MPG?
Use highway MPG for a long road trip and your combined or city figure for commuting. Most cars are 20–30% thirstier in town than on the highway, so a road-trip estimate built on a city figure will come out too high.
Is premium petrol better than regular?
No, unless your car's engine requires it. Premium petrol does not give a normal engine more power or better mileage — it only resists knocking in high-compression engines. Check your manual: if it says regular is fine, premium is money spent for nothing.
How do I split fuel costs fairly?
Take the total round-trip cost — fuel plus any tolls — and divide it by the number of people, driver included. For example, an 800-mile round trip in an SUV at 18 MPG and $3.60 a gallon costs $160.00 in fuel, which is $40.00 each for four people.

Related tools

💬 Comments

Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.