Fuel Cost Calculator

Estimate how much fuel a trip will cost from distance, vehicle efficiency, and gas price.

Reviewed & updated:
Fuel economy scale
Thirsty · 0 MPGEfficient · 80 MPG
Trip cost
$37.50
10.71 gal
Gallons needed10.71
Cost per mile$0.13
Total cost$37.50

Results are estimates for general information only and are not professional financial, medical, tax, or legal advice. Read the full disclaimer.

500 miles at 32 mpg and $3.60/gallon = $56.25 in fuel — before any tolls or detours.

The formula behind the number

The math is intentionally simple. In U.S. units: Trip cost = (Distance ÷ MPG) × Price per gallon. In metric: Trip cost = (Distance × L/100km ÷ 100) × Price per litre. The dividing quantity is always fuel economy — the higher your MPG (or the lower your L/100km), the less you spend. Everything else is arithmetic.

Worked example

You're driving 500 miles from Denver to Salt Lake City in a car that averages 32 MPG. Gas at the highway stations is running $3.60 per gallon. Gallons needed: 500 ÷ 32 ≈ 15.6. Cost: 15.6 × $3.60 ≈ $56.25. Cost per mile: 3.60 ÷ 32 ≈ 11.25¢. Round trip: about $112.50 in fuel.

MPG$3.00/gal$3.60/gal$4.20/gal$5.00/gal
20 MPG$75.00$90.00$105.00$125.00
25 MPG$60.00$72.00$84.00$100.00
32 MPG$46.88$56.25$65.63$78.13
40 MPG$37.50$45.00$52.50$62.50
50 MPG (hybrid)$30.00$36.00$42.00$50.00
500-mile trip cost at different fuel economies and gas prices

Figuring out your actual MPG

The window sticker MPG is an EPA estimate under controlled conditions — your real-world number is often 5%–15% lower. To measure it yourself: fill up completely, reset the trip odometer, drive normally until you're near empty, then fill up again. Miles driven ÷ gallons pumped on the second fill-up = your actual MPG. Do this two or three times across seasons and take the average — winter and short trips both drop MPG measurably.

What actually moves the needle

  • Speed: fuel economy drops sharply above 55–60 mph. Every 5 mph over 60 costs roughly 7% MPG.
  • Aggressive driving: hard acceleration and braking can cut highway MPG by 15%–30%.
  • Cold weather: a gasoline engine takes 15–20 minutes to warm up; short cold trips can halve advertised MPG.
  • Tire pressure: 10 psi under-inflated tires drop MPG by 3%–4%.
  • Roof cargo: an add-on roof box can cost 15%–25% MPG on highway trips.
  • AC vs. windows: at highway speed, closed windows plus AC is more efficient than open windows (drag beats compressor load).

Comparing gas cost with an EV

For an apples-to-apples comparison, convert an EV's efficiency to gasoline-gallon equivalents. The EPA uses 33.7 kWh per gallon of gasoline (a GGE). A car rated at 30 kWh/100 miles is equivalent to 33.7 / (30/100) = 112 MPGe. At $0.15/kWh, that 500-mile trip costs 500 × 0.30 × $0.15 = $22.50 — less than half the $56.25 gas cost above. Public DC fast charging at $0.40–$0.60/kWh narrows that gap considerably.

Business mileage reimbursement

For 2026 the U.S. IRS standard business mileage rate is 70¢ per mile. That figure covers fuel, depreciation, maintenance, insurance, and registration — not just gas. Using this calculator you can separate the fuel-only portion (11¢–15¢/mile for most gas cars) from the ownership costs when negotiating a company car allowance or freelance travel reimbursement.

How to use this fuel cost calculator

  1. Enter the trip distance one way (or the round trip — the tool handles either).
  2. Enter your car's real-world MPG or L/100 km.
  3. Enter the current fuel price at the pump.
  4. Read the total fuel needed, total cost, and cost per mile/km.
  5. Toggle between U.S. and metric units if your inputs are mixed.

Where this calculator is only an estimate

It assumes constant MPG for the whole trip — a mountainous route or heavy city traffic will use more fuel than the average predicts. Trailer towing or a fully-loaded car can drop MPG by 20%–40%. Ethanol-blended gasoline (E15, E85) has lower energy density than regular unleaded; expect 3%–25% lower MPG depending on blend. For a route split across cities and countries, break the trip into legs and calculate each separately, then sum.

Combine with the auto loan calculator to see the full cost of ownership (payment plus fuel), the salary calculator to gauge what share of your income vanishes at the pump each month, and the inflation calculator to project how a $3.60 gallon compares to prices a decade from now.

Glossary

MPG
Miles per gallon — U.S. measure of fuel economy; higher is better.
L/100 km
Litres per 100 kilometres — metric measure of fuel consumption; lower is better.
MPGe
Miles per gallon equivalent — EPA metric that compares electric-vehicle efficiency to gasoline.
GGE
Gasoline gallon equivalent — 33.7 kWh, the energy in one U.S. gallon of gasoline.
EPA fuel economy label
Standardized U.S. window sticker listing city, highway, and combined MPG.

How it works

Cost = (distance / mpg) · price per gallon. Metric: (distance/100) · L/100km · price/L.

Example

300 mi at 25 mpg with $3.75/gal → 12 gal × $3.75 = $45.

Frequently asked questions

MPG vs L/100km?
Both measure efficiency inversely — higher mpg = lower L/100km.
Real-world MPG?
Usually 10–20% below EPA-rated depending on driving.
Does hilly terrain matter?
Yes — more elevation gain lowers effective mpg.
EVs?
Use kWh/mile × electricity price.
How do I convert MPG to L/100 km?
Divide 235 by MPG. A 32 MPG car ≈ 7.3 L/100 km. Divide 235 by L/100 km to convert the other way.
Does speed really affect fuel economy that much?
Yes. Fuel economy typically drops sharply above 55–60 mph — roughly 7% per 5 mph over 60. Slowing down on long trips is the single biggest lever.
Windows down or A/C on at highway speed?
A/C with windows closed usually wins on the highway — the drag from open windows exceeds the compressor load above ~45 mph.
Is it cheaper to drive an EV than a gas car?
In most U.S. markets yes. At $0.15/kWh home rates, an EV commonly runs 3–5¢/mile versus 11–15¢/mile for a 32 MPG gas car at $3.60/gallon.

More in Other

You might also need

Tools from other categories that people commonly pair with the Fuel Cost Calculator.

Browse related categories