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.
Trip Fuel Cost
$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
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.
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.
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.
Enter the fuel price
Type the price of one gallon or one liter from the station sign or a price app.
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.
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.
| Units | Trip | Fuel used | Price | Cost |
|---|---|---|---|---|
| US: miles, MPG | 350 miles at 28 MPG | 12.5 gallons | $3.805 a gallon (US average, regular) | $47.56 |
| UK: miles, imperial MPG | 200 miles at 45 MPG | 20.2 liters (200 ÷ 45 × 4.54609) | £1.6707 a liter (UK average, petrol) | £33.76 |
| Metric: km, L/100 km | 600 km at 8 L/100 km | 48 liters | $1.85 a liter (illustration) | $88.80 |
| Canada: km, L/100 km | 800 km at 9.5 L/100 km | 76 liters | C$1.796 a liter (Statistics Canada, October 2026 average) | C$136.50 |
| Australia: km, L/100 km | 1,000 km at 7.5 L/100 km | 75 liters | A$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.
| Country | Fuel economy usually quoted as | Fuel usually sold by | Units option to choose |
|---|---|---|---|
| United States | Miles per US gallon | US gallon | Miles, MPG, US gallons |
| United Kingdom | Miles per imperial gallon | Liter | Miles, MPG (imperial), liters |
| Canada | Liters per 100 km | Liter | Kilometers, L/100 km, liters |
| Australia | Liters per 100 km | Liter | Kilometers, 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 MPG | Liters per 100 km | Km per liter |
|---|---|---|
| 20 | 11.8 | 8.5 |
| 25 | 9.4 | 10.6 |
| 30 | 7.8 | 12.8 |
| 35 | 6.7 | 14.9 |
| 40 | 5.9 | 17.0 |
| 50 | 4.7 | 21.3 |
| Imperial MPG | Liters per 100 km | Same in US MPG |
|---|---|---|
| 30 | 9.4 | 25.0 |
| 40 | 7.1 | 33.3 |
| 50 | 5.6 | 41.6 |
| 60 | 4.7 | 50.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.
| MPG | Cost per mile | 100 miles | 500 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.
| Fuel | US average, 16 Nov 2026 (EIA, $ per gallon) | UK average, 16 Nov 2026 (DESNZ, pence per liter) |
|---|---|---|
| Regular gasoline / unleaded petrol | $3.805 | 167.07 |
| Premium gasoline | $4.834 | Not 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.
| Factor | Reported 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 mph | Gas mileage usually decreases rapidly. Each 5 mph over 50 is like paying about $0.28 more per gallon |
| Large roof cargo box | 2% 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 weight | About 1% for every 100 pounds |
| Idling | A quarter to a half gallon of fuel per hour |
| Under-inflated tires | About 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 conditioning | Air 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.
Frequently Asked Questions
Sources & Methodology
The fuel prices, the driving effects and the average MPG come from the sources below, read on 19 November 2026, except the Canada and Australia fuel prices, which were read on 20 November 2026. The arithmetic, the planning default for the real-world margin and the example fuel price marked illustration are ours.
- U.S. Energy Information Administration: Weekly Retail Gasoline and Diesel Prices
- GOV.UK, DESNZ: Weekly road fuel prices
- Statistics Canada: Table 18-10-0001-01, monthly average retail prices for gasoline and fuel oil
- Australian Government, Fuel Plan: Fuel statistics (ACCC weekly monitoring data)
- Fueleconomy.gov: Driving More Efficiently
- Fueleconomy.gov: Keeping Your Vehicle in Shape
- Fueleconomy.gov: Fuel Economy in Cold Weather
- Fueleconomy.gov: Fuel Economy in Hot Weather
- Fueleconomy.gov: Your Mileage Will Vary
- Australian Government, Department of Infrastructure, Transport, Regional Development, Communications, Sport and the Arts: Fuel consumption label (the label shows fuel consumption in liters per 100 km)
- Natural Resources Canada: Fuel Consumption Guide, understanding the tables (Canadian ratings in liters per 100 km)
- EPA: Highlights of the Automotive Trends Report
- NIST Guide to the SI, Appendix B.8: conversion factors (mile, gallon, liter)