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/100km | US MPG | UK MPG | km/L |
|---|---|---|---|
| 5 | 47.0 | 56.5 | 20.0 |
| 6 | 39.2 | 47.1 | 16.7 |
| 8 | 29.4 | 35.3 | 12.5 |
| 10 | 23.5 | 28.2 | 10.0 |
| 12 | 19.6 | 23.5 | 8.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 type | MPG | L/100km | Gallons per year | Cost per year |
|---|---|---|---|---|
| Compact sedan | 32–38 | 6.2–7.4 | 316–375 | $1,105–$1,313 |
| Midsize sedan | 26–32 | 7.4–9.0 | 375–462 | $1,313–$1,615 |
| Midsize SUV | 22–28 | 8.4–10.7 | 429–545 | $1,500–$1,909 |
| Pickup truck | 16–22 | 10.7–14.7 | 545–750 | $1,909–$2,625 |
| Hybrid sedan | 42–55 | 4.3–5.6 | 218–286 | $764–$1,000 |
| Electric (100+ MPGe) | 100+ | — | Electricity | about $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?
What is a good miles per gallon figure?
How can I save fuel on a long trip?
Does this calculator work for kilometres and litres?
What if I do not know my car fuel efficiency?
How do I convert L/100km to MPG?
Does this calculator work for diesel or LPG?
Can I calculate electric-car costs with this calculator?
Is a round trip just twice the distance?
Should I use city or highway MPG?
Is premium petrol better than regular?
How do I split fuel costs fairly?
Related tools
Auto Loan Calculator
Speed Calculator
EMI Calculator
BMI Calculator
Age Calculator
Percentage Calculator
💬 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.