Fuel Cost Calculator

Last Updated:

Work out the fuel cost of any trip from distance, fuel economy and fuel price. Miles or kilometers, US, UK, Australian or Canadian units, round trip and cost per person.

Quick answer: A fuel cost calculator divides the trip distance by your fuel economy to get the fuel used, then multiplies by the fuel price. A 350-mile trip at 28 MPG uses 12.5 gallons, and at $3.805 a gallon (the US Energy Information Administration average for regular on 16 November 2026) it costs $47.56. Pick miles or kilometers, then tick Round trip to double the distance.

Required One way.
Required
$
Required
Optional. Whole number, from 1 to 500.
Optional. Adds weekly, monthly and yearly cost.
Optional. Adds this percentage to the fuel.

Trip Fuel Cost

$0

Gallons Needed0 gal
Cost per Mile$0
Cost per Person$0

📐 Formula

US: Fuel used (gallons) = Distance ÷ MPG. Metric: Fuel used (liters) = Distance (km) × L/100 km ÷ 100. Imperial MPG: Fuel used (liters) = Distance ÷ MPG × 4.54609. Cost = Fuel used × Price. Cost per Mile = Cost ÷ Distance

How to Use the Fuel Cost Calculator

1

Pick your units and currency

Choose miles with MPG, miles with imperial MPG, kilometers with L/100 km or kilometers with km per liter, then choose US, UK, Australian or Canadian currency.

2

Enter the trip distance

Type the one-way distance from your map app in miles or kilometers. Use the route distance, not the straight-line distance.

3

Enter your fuel economy

Type your MPG, liters per 100 km or km per liter to match the units you picked. For a US vehicle, the EPA rating is at fueleconomy.gov.

4

Enter the fuel price

Type the price of one gallon or one liter from the station sign or a price app.

5

Add the options you need

Tick Round trip to double the distance. Enter the number of people to split the cost, a margin for real-world driving, or trips per week to see the weekly, monthly and yearly cost.

6

Read the result

The trip fuel cost, the fuel needed and the cost per mile or kilometer update as you type. Change any figure to compare vehicles, routes or fuel prices.

How do you calculate fuel cost for a trip?

Work out how much fuel the trip uses, then multiply by the price of that fuel. Fuel used is the distance divided by your miles per gallon, or the distance times your liters per 100 km divided by 100. For a 350-mile trip at 28 MPG that is 350 ÷ 28 = 12.5 gallons, and 12.5 × $3.805 = $47.56. The same trip is the same sum in every unit system; only the fuel economy figure and the price per unit change. Here is one worked example for each of the four countries this site covers, plus a generic metric one.

UnitsTripFuel usedPriceCost
US: miles, MPG350 miles at 28 MPG12.5 gallons$3.805 a gallon (US average, regular)$47.56
UK: miles, imperial MPG200 miles at 45 MPG20.2 liters (200 ÷ 45 × 4.54609)£1.6707 a liter (UK average, petrol)£33.76
Metric: km, L/100 km600 km at 8 L/100 km48 liters$1.85 a liter (illustration)$88.80
Canada: km, L/100 km800 km at 9.5 L/100 km76 litersC$1.796 a liter (Statistics Canada, October 2026 average)C$136.50
Australia: km, L/100 km1,000 km at 7.5 L/100 km75 litersA$2.19 a liter (five-largest-city petrol average, 11 November 2026)A$164.25

The US and UK prices are the national averages for 16 November 2026 from the US Energy Information Administration and the UK Department for Energy Security and Net Zero. The Canadian price is Statistics Canada's October 2026 average and the Australian price is the five-largest-city petrol average for 11 November 2026 (see the fuel price section below). The price in the metric example is a round number we chose to show the arithmetic, marked illustration. It is not a current average for any country.

The kilometers and L/100 km example is also the answer to "cost of gas to drive 36 km" style questions: 36 km at 8 L/100 km is 2.88 liters, so at $1.85 a liter the fuel costs $5.33. A 10 km drive at the same 8 L/100 km uses 0.8 liters. Type your own distance in the box above and it does the sum. That is also how to calculate gas cost for a trip when all you have is a distance: this gas calculator for a trip needs only the distance, your fuel economy and the price.

Which units should you use: MPG, L/100 km or km per liter?

Use the unit your car is rated in, so you never have to convert by hand. In the US, fuel economy is quoted in miles per US gallon and fuel is sold by the gallon. In Canada and Australia, fuel use is commonly quoted in liters per 100 kilometers and fuel is sold by the liter. In the UK, MPG is usually quoted per imperial gallon, but fuel is sold by the liter. That last mix is the one that trips people up, so the calculator has a separate imperial MPG option. These are common practice, not a rule from a single authority.

CountryFuel economy usually quoted asFuel usually sold byUnits option to choose
United StatesMiles per US gallonUS gallonMiles, MPG, US gallons
United KingdomMiles per imperial gallonLiterMiles, MPG (imperial), liters
CanadaLiters per 100 kmLiterKilometers, L/100 km, liters
AustraliaLiters per 100 kmLiterKilometers, L/100 km, liters

The conversion factors are the NIST Special Publication 811 values (the mile and imperial gallon are exact there; the US gallon is given to six digits): 1 mile = 1.609344 km, 1 US gallon = 3.785412 liters and 1 imperial gallon = 4.54609 liters. From them, L/100 km = 235.215 ÷ US MPG and L/100 km = 282.481 ÷ imperial MPG (our arithmetic). When you change the Units box, the calculator converts the distance, fuel economy and price you have already typed, so the trip stays the same. For other conversions such as kilometers to miles or gallons to liters, use the Unit Converter.

US MPGLiters per 100 kmKm per liter
2011.88.5
259.410.6
307.812.8
356.714.9
405.917.0
504.721.3
Imperial MPGLiters per 100 kmSame in US MPG
309.425.0
407.133.3
505.641.6
604.750.0

A lower L/100 km is better, the opposite of MPG, where higher is better. An imperial gallon is about 20% bigger than a US gallon, so a UK car rated 40 MPG is the same car as one rated about 33 MPG in the US. If you are comparing a UK rating with a US one, convert first.

What does a trip cost per mile at different MPG?

Cost per mile is the price per gallon divided by your MPG. The table uses $3.805, the US Energy Information Administration average retail price for regular gasoline on 16 November 2026. Prices move every week, so treat the figures as a guide and use the calculator with your own price.

MPGCost per mile100 miles500 miles
22$0.173$17.30$86.48
25$0.152$15.22$76.10
30$0.127$12.68$63.42
35$0.109$10.87$54.36
40$0.095$9.51$47.56
50$0.076$7.61$38.05

Over 500 miles, a 50 MPG car costs $38.05 and a 22 MPG car costs $86.48, a gap of $48.43. That is the whole case for checking the MPG figure before you price a trip: it moves the answer more than a few cents on the pump price does. Not sure of your car's real MPG? The Gas Mileage Calculator works it out from your own fill-up data.

What fuel price should I use?

Use the price on the sign at the station where you will fill up. National averages are a starting point, because prices differ by region and by station. The US Energy Information Administration (EIA) publishes a weekly national average retail price, including taxes, and also publishes regional and some state and city figures. In the UK, the Department for Energy Security and Net Zero (DESNZ) publishes a weekly average pump price for unleaded petrol and diesel.

FuelUS average, 16 Nov 2026 (EIA, $ per gallon)UK average, 16 Nov 2026 (DESNZ, pence per liter)
Regular gasoline / unleaded petrol$3.805167.07
Premium gasoline$4.834Not published in this table
Diesel$5.937 (on-highway)196.77

For the UK figure, divide the pence by 100 before you type it in: 167.07 pence is 1.6707 pounds a liter. DESNZ's table also lists fuel duty of 52.95 pence a liter and VAT at 20% for the same week. For Canada, Statistics Canada publishes monthly average retail prices: regular unleaded gasoline at self-service stations averaged 179.6 cents a liter in October 2026, or C$1.796. For Australia, the Australian Government's Fuel statistics page, which draws on the ACCC's weekly monitoring, gives the average across the five largest cities (Sydney, Melbourne, Brisbane, Adelaide and Perth) on 11 November 2026 as A$2.19 a liter for petrol and A$2.66 for diesel. That is a five-largest-city average, not an Australia-wide one, and the Canadian figure is a monthly average, so for either country the price on the station sign is the better one to type in.

Does diesel or premium gas change the cost of a trip?

Only through the price you type in, because the sum is the same. What changes is how the price compares with the fuel economy. At the US averages above, diesel cost about 56% more per gallon than regular ($5.937 against $3.805). Cost per mile is price divided by MPG, so a diesel vehicle has to be about 56% more fuel efficient to cost the same per mile. In the UK, diesel at 196.77 pence a liter was about 18% dearer than petrol at 167.07, so the gap that fuel economy has to close is smaller. Premium gasoline was about 27% dearer than regular ($4.834 against $3.805). On the 350-mile, 28 MPG trip, premium would add 12.5 × ($4.834 − $3.805) = $12.86. Whether your car needs premium is a question for its owner's manual. The arithmetic above is ours.

Why does my real fuel cost differ from the calculation?

The calculation is only as good as the MPG you enter. Fueleconomy.gov, run for the US Department of Energy and the EPA, says EPA ratings are a useful tool for comparing vehicles but may not accurately predict the average MPG you get. How and where you drive, vehicle condition, fuel and engine break-in all matter. These are the effects it reports.

FactorReported effect on fuel economy
Aggressive driving (speeding, rapid acceleration and braking)Roughly 15% to 30% lower at highway speeds, 10% to 40% lower in stop-and-go traffic
Speed above 50 mphGas mileage usually decreases rapidly. Each 5 mph over 50 is like paying about $0.28 more per gallon
Large roof cargo box2% to 8% in city driving, 6% to 17% on the highway, 10% to 25% at 65 to 75 mph. Rear-mount boxes: 1% to 5% on the highway
Extra weightAbout 1% for every 100 pounds
IdlingA quarter to a half gallon of fuel per hour
Under-inflated tiresAbout 0.2% for every 1 psi drop in the average pressure of all tires
Cold weather (conventional gasoline car)City driving is roughly 15% lower at 20°F than at 77°F, and as much as 24% lower on short trips of 3 to 4 miles
Hot weather and air conditioningAir conditioning can cut a conventional vehicle's fuel economy by more than 25% under very hot conditions, particularly on short trips

Real-world MPG is often quoted as 10% to 20% below the EPA rating. That is a common-practice range, not an EPA figure, and we have not sourced it. To allow for the gap, type a percentage in the real-world margin box. It adds that percentage to the fuel used. A 10% margin on the 350-mile, 28 MPG trip raises the fuel from 12.5 to 13.75 gallons and the cost from $47.56 to $52.32. Ten percent is our planning default, an estimate and not a measured figure. If you want your own number, fill the tank, note the miles, and use the Gas Mileage Calculator over a few tanks.

How much does a commute or regular trip cost per week, month and year?

Type the one-way distance, tick Round trip and enter how many times you make the trip each week. The weekly cost is the trip cost times the trips. The yearly cost is the weekly cost times 52, and the monthly cost is the yearly cost divided by 12. A 15-mile commute each way is 30 miles a day. At 28 MPG and $3.805 a gallon that is $4.08 a day, $20.38 a week, $88.33 a month and $1,059.96 a year for five days a week. At three days a week the year drops to $635.98. That makes this calculator the quick way to compare a long commute with a shorter one, or to see what a fuel price rise costs you over a year.

How do you split fuel cost between passengers?

Enter the number of people sharing the car in the People box. The cost per person is the trip fuel cost divided by that number, with nothing added for the driver's time or the wear on the car. For a carpool, agree on whether the driver pays a share. For a longer trip that also has tolls, parking, hotels and food, use the Road Trip Cost Calculator, which adds those costs and splits the total.

Gas or electric: what does the same trip cost?

Take the same 350-mile trip in an electric vehicle that uses an illustrative 0.30 kWh per mile, charged at an illustrative $0.15 per kWh: 350 × 0.30 × $0.15 = $15.75. That is about a third of the $47.56 gas trip above. Both inputs are round numbers to show the arithmetic, not averages. The gap narrows on road trips that need public fast charging, which in common practice can be priced well above home electricity, and widens for home-charged local driving. So an EV comparison depends on where you charge, not only on the vehicle's efficiency.

Fuel is only part of what a trip costs

Fuel is one line in a trip budget. Tolls, parking, food and the wear on the vehicle sit beside it, and they vary too much by route to guess here. For the whole budget, use the Road Trip Cost Calculator.

⚠️ Disclaimer Fuel costs calculated here are estimates based on the fuel economy and fuel price you enter. Actual fuel use varies with driving conditions, vehicle load, weather and terrain, and EPA ratings may not predict the MPG you get. Check the price at the station before budgeting for a trip.

Frequently Asked Questions

Divide the trip distance by your fuel economy to get the fuel used, then multiply by the price. In miles per gallon that is distance ÷ MPG × price per gallon. In liters per 100 km it is distance × L/100 km ÷ 100 × price per liter. A 350-mile trip at 28 MPG with gas at $3.805 a gallon uses 12.5 gallons and costs $47.56.
Choose Kilometers, L/100 km, then enter the distance in kilometers, your consumption in liters per 100 km and the price per liter. A 600 km trip at 8 L/100 km uses 48 liters, and at $1.85 a liter it costs $88.80. If your car is rated in km per liter, choose that option instead: 12.5 km per liter is the same as 8 L/100 km.
Choose Miles, MPG (imperial) and enter the price per liter. UK MPG uses the imperial gallon of 4.54609 liters, about 20% larger than a US gallon, so 40 imperial MPG is about 33.3 US MPG. A 200-mile trip at 45 MPG uses about 20.2 liters. At 1.6707 pounds a liter (the 167.07 pence average for petrol that DESNZ published for 16 November 2026) it costs £33.76.
Yes. Choose Canadian or Australian dollars and the Kilometers, L/100 km option, which is how fuel use is commonly quoted in both countries. Enter the pump price per liter. For example, 800 km at 9.5 L/100 km uses 76 liters, and at C$1.796 a liter (Statistics Canada's October 2026 average for regular gasoline) that is C$136.50. In Australia, 1,000 km at 7.5 L/100 km uses 75 liters, and at A$2.19 a liter (the five-largest-city petrol average for 11 November 2026) that is A$164.25. These averages move, so use the price on the station sign.
No. It uses the fuel economy figure you type in. For a US vehicle, the EPA rating is on fueleconomy.gov under Find a Car, where you pick the year, make and model. In the UK, use the MPG in the handbook or the manufacturer specification. Your own driving will differ, so to measure your real figure from fill-ups, use the Gas Mileage Calculator.
EPA's Automotive Trends Report puts the average new vehicle for model year 2024 at an estimated real-world 27.2 MPG, a record high. That average includes electric and plug-in hybrid vehicles. Without them it was 1.7 MPG lower, about 25.5 MPG. These are new vehicles of one model year, not every car on the road.
Fueleconomy.gov says gas mileage usually decreases rapidly above 50 mph and that each 5 mph over 50 is like paying about $0.28 more per gallon. It also says aggressive driving (speeding, rapid acceleration and braking) can lower gas mileage by roughly 15% to 30% at highway speeds and 10% to 40% in stop-and-go traffic. Use the real-world margin box to add a percentage to the fuel used.
Tick the Round trip box to double your one-way distance. If the route differs, for example a scenic route out and a highway back, run the calculation separately for each leg and add the results. Round-trip totals matter for budgeting the full journey; one-way figures are more useful for comparing a single leg of a multi-stop trip.
Enter the one-way distance, tick Round trip, then type how many times you make the trip each week. The calculator multiplies the trip cost by 52 for the year and by 52 ÷ 12 for the month. A 15-mile commute each way at 28 MPG and $3.805 a gallon costs $4.08 a day, $20.38 a week, $88.33 a month and $1,059.96 a year for five days a week.
Type the number of people sharing in the People box and the calculator divides the trip fuel cost by that number. It splits fuel only. Tolls, parking and wear on the car are not included. The Road Trip Cost Calculator adds those costs and splits the total.
Yes, through the price you enter. The US Energy Information Administration put the national average retail price on 16 November 2026 at $3.805 a gallon for regular, $4.834 for premium and $5.937 for on-highway diesel. Diesel cost about 56% more than regular per gallon, so a diesel vehicle needs about 56% better fuel economy to cost the same per mile. In the UK, DESNZ put diesel at 196.77 pence a liter against 167.07 for petrol, about 18% more expensive.
Yes. Fueleconomy.gov reports that in city driving a conventional gasoline car's gas mileage is roughly 15% lower at 20°F than at 77°F, and as much as 24% lower on short trips of 3 to 4 miles. In very hot weather, air conditioning can reduce a conventional vehicle's fuel economy by more than 25%, particularly on short trips.
Fueleconomy.gov lists these: drive sensibly (aggressive driving can lower gas mileage by roughly 15% to 30% at highway speeds), take a roof cargo box off when you are not using it (a large blunt box can cost 6% to 17% on the highway), keep tires at the pressure on the door-jamb sticker (about 0.2% for every 1 psi the average tire is low), carry less weight (about 1% per 100 pounds) and avoid idling, which uses a quarter to half a gallon an hour.
Yes. Get the route distance from Google Maps or any map app, enter it in the distance box and set miles or kilometers to match. This calculator does not draw a route or look up tolls. For a trip that has tolls, hotels and food as well as fuel, use the Road Trip Cost Calculator.