Fuel Cost Calculator

Estimate the fuel cost of a trip from three inputs: distance, fuel efficiency, and price per gallon (or per liter).

Everyday US + Metric Annual cost
Rate this calculator · 4.5 (2)

Fuel cost for a trip

mi / km · MPG / L/100km · USD / EUR / GBP

Instructions — Fuel Cost Calculator

1

Pick US or metric

The top toggle swaps the whole unit system. US sets miles, MPG, and US gallons; metric sets kilometers, liters per 100 km, and liters. The Efficiency dropdown lets you fine-tune (UK MPG, km/L) without changing distance or fuel units. The calculator handles all the unit conversions internally.

2

Enter distance, efficiency, and fuel price

Distance is the one-way trip length (double it for a round trip). For fuel efficiency, use the EPA combined MPG from the window sticker or the car's real-world average from a trip-meter measurement; real-world MPG typically runs 10-20% below the EPA combined figure. Fuel price is the per-gallon or per-liter pump price.

3

Read trip cost and annual estimate

The headline number is the fuel cost for the trip you entered. The grid shows fuel volume needed (gallons or liters), cost per distance unit, and an annual fuel cost if you fill in the annual mileage field. The US Federal Highway Administration FHWA average is 12,000 mi per year for a single driver.

EPA combined MPG vs real-world MPG. The EPA window-sticker number comes from a dynamometer test under controlled conditions. Real driving (cold starts, AC load, headwind, traffic) typically runs 10-20% below the sticker. For accurate trip cost, measure your own MPG over a few tanks and use that.
UK Imperial gallons are 20% larger than US gallons. A 30 MPG (US) car is a 36 MPG (UK) car — same vehicle, different gallon. The calculator handles the conversion: choose your efficiency unit and the gallon unit will follow.

Formulas

Fuel cost is the product of three numbers: how much fuel the trip needs and how much each unit of fuel costs. The unit conversions handle the rest.

Total fuel cost (US)
$$ \text{Cost} = \frac{\text{Miles}}{\text{MPG}} \times \text{Price/gal} $$
300 miles ÷ 25 MPG = 12 gallons; 12 × $3.50/gal = $42 for the trip. The AAA Gas Prices national average for early 2026 ranges from about $3.30 to $3.80 per gallon depending on octane and region.
Total fuel cost (metric)
$$ \text{Cost} = \frac{\text{Distance (km)} \times \text{L/100km}}{100} \times \text{Price/L} $$
500 km × 7 L/100km / 100 = 35 liters; 35 × EUR 1.65/L = EUR 57.75 for the trip. European pump prices typically run 1.50-2.00 EUR per liter, reflecting higher fuel excise duties than US states.
Cost per mile (or per km)
$$ \text{Cost/mi} = \frac{\text{Price/gal}}{\text{MPG}} $$
$3.50 ÷ 25 MPG = $0.14 per mile. The American Automobile Association Your Driving Costs report puts all-in fuel cost at about $0.13-$0.18 per mile for an average car at 2024-2026 prices.
Annual fuel cost
$$ \text{Annual} = \frac{\text{Annual miles}}{\text{MPG}} \times \text{Price/gal} $$
12,000 mi / 25 MPG × $3.50 = $1,680 per year. The US Bureau of Labor Statistics Consumer Expenditure Survey puts average household gasoline spending at about $2,450 in 2023 (latest published year).

Reference

Trip cost at $3.50/gallon by MPG and distance
MPG100 mi250 mi500 mi1,000 mi
15$23.33$58.33$116.67$233.33
20$17.50$43.75$87.50$175.00
25$14.00$35.00$70.00$140.00
30$11.67$29.17$58.33$116.67
35$10.00$25.00$50.00$100.00
40$8.75$21.88$43.75$87.50
50$7.00$17.50$35.00$70.00

Fuel price ranges by region (2026)

Per US gallon, converted from local pump prices. European prices reflect higher fuel excise duties.

Pump prices
RegionUSD / gal
India / SE Asia$3.50-$4.50
United States (avg)$3.30-$3.80
Canada$4.20-$5.20
Japan$4.50-$5.40
Germany / France$5.60-$6.80
United Kingdom$6.00-$7.20
Norway / Netherlands$6.80-$8.00
US fleet MPG by class
ClassMPG (US)
Small sedan35-40
Midsize sedan30-35
Hybrid sedan50-55
Small SUV27-32
Midsize SUV24-28
Full-size pickup18-22
Plug-in hybrid (gas only)40-55

Note: the US Environmental Protection Agency Automotive Trends Report (2024) puts the US new-car fleet average at 28.3 MPG combined (real-world adjusted). The 2024 figure is the highest on record, reflecting the shift toward smaller engines, hybrids, and electric vehicles. Real-world MPG varies with driving conditions and typically runs 10-20% below the EPA sticker.

Article — Fuel Cost Calculator

Fuel cost calculator: trip cost, fuel needed, and annual fuel cost

Fuel cost for a trip equals distance divided by fuel efficiency, multiplied by the fuel price. A 300 mile trip in a 25 MPG car at $3.50 per gallon costs $42 (300 / 25 = 12 gallons; 12 × $3.50 = $42). The same calculation in metric is 482.8 km, 9.41 L/100km, EUR 0.92 per liter, totaling EUR 41.80. The AAA Gas Prices national average for early 2026 ranges around $3.30 to $3.80 per gallon; the EPA Automotive Trends Report puts the US new-car fleet average MPG at 28.3 (real-world adjusted).

Enter trip distance, fuel efficiency, and fuel price. The calculator returns total fuel cost, fuel volume needed, cost per mile (or km), and an annual fuel cost if the annual mileage field is filled. The top toggle switches between US and metric unit systems; the efficiency dropdown handles UK MPG and km/L for non-US regions.

What the fuel cost calculator computes

The fuel cost calculator answers four questions from three inputs: how much fuel the trip needs, how much it costs, cost per mile or km, and the annual fuel cost if you fill in the annual mileage field. All four numbers come from the same arithmetic with different scaling.

The inputs are simple: distance, fuel efficiency, and fuel price. Distance is the trip length (double it for round trips). Fuel efficiency is the car MPG or L/100km, ideally from real-world tank measurements rather than the EPA sticker. Fuel price is the pump price; the calculator handles US and UK gallons and liters.

The fuel cost formula

The math is the same on both sides of the Atlantic, with different unit constants. Distance over fuel efficiency gives fuel volume; fuel volume times price gives cost.

Fuel cost formulas
Trip cost (US) = (miles ÷ MPG) × price/gal
Trip cost (metric) = (km × L/100km / 100) × price/L
Cost per mile = price/gal ÷ MPG
Annual cost = annual miles ÷ MPG × price/gal
MPG to L/100km = 235.215 ÷ MPG (US)

Example: a 250 mile trip in a 30 MPG sedan at $3.60/gal. Fuel needed is 250 / 30 = 8.33 gallons; cost is 8.33 × $3.60 = $30. Cost per mile is $3.60 / 30 = $0.12. At 12,000 annual miles, yearly fuel cost is 12,000 / 30 × $3.60 = $1,440. Cost-per-mile is the right figure for cross-vehicle comparison.

EPA MPG vs real-world fuel cost

The MPG number on every new US car window sticker comes from EPA dynamometer tests under controlled conditions: stable temperature, no accessory load, fixed drive profile. Real-world MPG — the number a driver gets by dividing trip miles by gallons pumped — typically runs 10 to 20 percent below the EPA combined rating.

Did you know

The EPA revised its testing methodology in 2008 specifically to narrow the gap between sticker MPG and real-world MPG. The revision added five test cycles to the original two, including high-speed (US06), air-conditioning (SC03), and cold-temperature (Cold FTP at 20 °F) profiles. The combined real-world adjusted figure replaces the older single-cycle number for window stickers and is the value cited in the EPA Automotive Trends Report.

For accurate trip cost, use real-world MPG measured from your own tanks. Fill, reset the trip meter, drive normally, then refill to the same shutoff click and divide trip miles by gallons pumped. Average three tanks to remove single-tank noise. The result is the number to enter here.

Fuel cost by vehicle class

Vehicle class drives most of the fuel-cost variation. The EPA Automotive Trends Report 2024 puts the US new-car fleet average at 28.3 MPG combined, but the spread by class is wide — a pickup truck spends roughly twice as much fuel cost per mile as a hybrid sedan.

  • Small sedan 35-40 MPG (Civic, Corolla, Sentra)
  • Midsize sedan 30-35 MPG (Camry, Accord, Altima)
  • Hybrid sedan 50-55 MPG (Prius, Insight, Camry Hybrid)
  • Small SUV 27-32 MPG (CR-V, RAV4, Tucson)
  • Midsize SUV 24-28 MPG (Highlander, Explorer, Pilot)
  • Full-size pickup 18-22 MPG (F-150, Silverado, Ram 1500)
  • Plug-in hybrid (gas only) 40-55 MPG once battery is depleted

At $3.50/gallon and 12,000 miles per year, a 20 MPG pickup costs $2,100 annually; a 40 MPG hybrid costs $1,050. The $1,050 gap compounds over a decade of ownership. The AAA Your Driving Costs report puts all-in fuel cost at $0.13-$0.18 per mile for the average US vehicle at 2024-2026 prices.

Fuel cost in metric units and abroad

Outside the US and a handful of other markets, fuel economy is reported in liters per 100 km (Europe, Australia) or kilometers per liter (Japan, India, parts of Latin America). The calculator switches the entire unit system at the top toggle and accepts each variant via the efficiency dropdown.

US
US fuel price
$3.50/gal
$0.92/L equivalent
EU
EU fuel price
EUR 1.65/L
$6.80/US gal equivalent

European pump prices typically run 1.50-2.00 EUR per liter, roughly twice the US gallon-equivalent. The gap is fuel excise duty: the US federal gas tax is 18.4 cents per gallon, while most EU countries charge 50-80% of pump price in excise and VAT. This is why European fleet MPG averages are structurally higher.

Annual fuel cost and household budget

The US BLS Consumer Expenditure Survey puts average household gasoline spending at about $2,450 per year (2023 data). That is roughly 3-4% of pre-tax income for a median household, the second-largest variable transportation expense after car payments and insurance.

Hybrids do not always pay back the price premium

A hybrid sedan typically costs $3,000-$5,000 more than its gasoline equivalent. Annual fuel savings at $3.50/gallon and 12,000 miles per year are roughly $400-$600. Payback period is 6-10 years, close to the average length of new-car ownership. The math favors high-mileage drivers (20,000+ miles per year) and drivers who plan to keep the vehicle past the payback period.

The FHWA average single-driver figure is 12,000 miles per year. Commuters and rideshare drivers can hit 20,000-30,000; urban drivers without a daily commute may stay under 6,000. Annual fuel cost scales linearly with miles — doubling miles doubles the bill.

Common fuel cost mistakes

The first mistake is using the EPA combined MPG without an adjustment. Real-world MPG runs 10-20% below the sticker, and the cost calculation amplifies the gap: a $30 trip at sticker MPG is closer to $33-$36 in reality.

Tip

For a quick mental estimate of US fuel cost, divide trip miles by 20 and multiply by the gas price. The 20 figure is roughly 80% of the new-car fleet average and bakes in a small real-world penalty. A 200 mile trip at $3.50/gal is roughly 200 / 20 × $3.50 = $35, close to the calculator's exact figure. The shortcut is accurate to within 10% for most non-hybrid sedans and SUVs.

The second mistake is treating the EPA city MPG as the city-driving figure. The EPA city test runs at moderate speed with no aggressive acceleration; real urban driving with stop-and-go traffic and lots of idling can run 30-40% below the EPA city sticker. The calculator should use real-world numbers from your own tanks, especially for city-heavy routes.

The third mistake is ignoring regional fuel-price variation. AAA Gas Prices publishes daily averages by state; pump prices can vary 30-40 cents per gallon between neighboring states because of fuel excise taxes (California, Pennsylvania, and Washington run highest; Texas and Missouri run lowest). For long multi-state trips, use the average pump price along the route.

FAQ

Fuel cost = (distance ÷ MPG) × fuel price. For a 300 mile trip in a 25 MPG car at $3.50 per gallon: 300 / 25 = 12 gallons; 12 × $3.50 = $42 for the trip. The metric version is (distance in km × L/100km / 100) × price per liter. The calculator handles both unit systems and converts between MPG and L/100km automatically.
At 25 MPG and $3.50/gallon, $140. The figure scales linearly with both MPG and fuel price: 30 MPG drops the cost to $117, 20 MPG raises it to $175. At $4.00/gallon the 25 MPG cost is $160. Use the calculator to plug in your own MPG and price for an exact figure.
For trip-cost planning, use your real-world MPG, not the EPA combined sticker. Real-world MPG typically runs 10-20% below the EPA combined figure. The US fleet average for new 2024 vehicles is 28.3 MPG combined per the EPA Automotive Trends Report; the long-haul highway figure for the same fleet is closer to 32. If you do not know your real-world MPG, take 85% of the EPA combined number as a working estimate.
Divide 235.215 by your MPG (US). 25 MPG = 235.215 / 25 = 9.41 L/100km. 30 MPG = 7.84 L/100km. 50 MPG = 4.70 L/100km. Lower L/100km is better; higher MPG is better; the two are inverse relationships. The 235.215 constant combines 3.78541 liters per US gallon and 1.60934 km per mile.
The relationship is non-linear. Going from 20 MPG to 25 MPG saves 20% on fuel; 25 to 30 saves 17%; 30 to 35 saves 14%. The biggest absolute fuel savings come at the low-MPG end of the scale. Replacing a 15 MPG truck with a 25 MPG sedan cuts fuel cost by 40%; replacing a 35 MPG sedan with a 45 MPG hybrid cuts it by 22%.
The US Department of Energy estimates each 5 mph above 50 mph cuts MPG by about 7%. Driving at 75 mph instead of 65 mph on a long highway trip raises fuel cost by 12-15%. Aggressive acceleration is the biggest single MPG killer in city driving, with EPA estimates of a 15-30% penalty on highway and 10-40% in stop-and-go traffic.
The US BLS Consumer Expenditure Survey puts average household gasoline spending at about $2,450 per year (2023 data). The figure varies with miles driven (US FHWA average is 12,000 mi per driver per year), vehicle efficiency, and regional fuel prices. At 25 MPG and $3.50 per gallon, 12,000 miles costs $1,680; at 18 MPG (a full-size pickup) the same miles cost $2,333.
The EPA combined MPG is a weighted average of city (55%) and highway (45%) dynamometer-test MPG. It is the figure on the window sticker of every new US car. Real-world MPG typically runs 10-20% below the EPA combined number because the dynamometer test does not simulate cold starts, accessory loads, headwinds, or aggressive driving. The EPA acknowledges this in its 2008 testing-method revision.
This calculator is for liquid fuel (gasoline, diesel). For an electric vehicle the equivalent figure is energy cost per mile: kWh per mile × $/kWh. A typical EV uses 0.25-0.35 kWh per mile; at $0.16/kWh that is $0.04-$0.06 per mile, roughly one-third the cost of a 25 MPG gasoline car at $3.50/gallon. Plug-in hybrid vehicles in gasoline-only mode use the standard MPG calculation in this calculator.