Fuel & efficiency

Fuel cost & trip calculator

Work out the fuel cost of a trip, a month or a year. Pick your car to use its official EPA MPG, or enter your own MPG and local gas price.

Free · no signupNothing you type is storedEPA fuel economy data

Your numbers

Every field can be changed. Nothing is stored.
Your car
mpg

Your real MPG, or the EPA rating

Trip
miles
$/gal

Enter your local price

people
mi/yr

Fuel only. Tolls, parking and wear are not included. EPA ratings are lab-based; real-world MPG varies with speed, load, weather and driving style.

Trip fuel cost
$35.00
10.0 gallons for 300 miles at 30.0 mpg and $3.50/gal.

Breakdown

Cost per mile
$0.117
Cost per 100 miles
$11.67
Per month
$117
Per year
$1,400
Estimate based on the numbers you entered.

Fuel cost comes down to three numbers: how far you drive, how many miles you get per gallon, and what a gallon costs where you fill up. The calculator above multiplies them out for a single trip, a month and a year, and splits a road-trip bill between passengers if you like.

How the calculation works

  1. Gallons used = distance ÷ fuel economy (MPG).
  2. Trip cost = gallons used × price per gallon.
  3. Cost per mile = price per gallon ÷ MPG.
  4. Yearly cost = miles per year × cost per mile.

For example, 300 miles at 30 mpg uses 10 gallons. At $3.50 a gallon that's $35, or about 11.7 cents a mile.

Where the MPG comes from

When you pick your car, we fill in its official rating from the EPA's fueleconomy.gov (opens in a new tab) data, which covers model years from 1984 on. You can switch between the combined, city and highway ratings:

  • Use highway for long interstate trips at steady speeds.
  • Use city for short, stop-and-go driving.
  • Use combined (55% city, 45% highway in the EPA's weighting) for a typical mix.

EPA ratings come from standardized lab tests, so your real-world number can differ, especially at high speeds, with a roof box or trailer, in cold weather, or with lots of idling. If you track fill-ups, your own average is the best number to use; the MPG calculator works it out.

Free tool
MPG calculator

Your real gas mileage from fill-ups, averaged over several tanks.

Tips for a more accurate trip estimate

  • Use the price where you'll actually buy fuel. Prices can vary a lot between states and between highway and in-town stations.
  • Add a margin for detours and for speed: fuel economy usually drops at sustained highway speeds above the speed the car was tested at.
  • Check the fuel type. Cars that require premium cost more per gallon; see the regular vs premium calculator.
  • Going electric? Compare charging costs with the EV vs gas calculator.

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the trip distance by your car's MPG to get gallons, then multiply by the price per gallon. A 450-mile trip at 25 mpg needs 18 gallons; at $3.50 a gallon that's $63.

What MPG should I use for a road trip?

The EPA highway rating is a reasonable start for steady interstate driving. If you'll be driving fast, loaded with luggage, or towing, expect to get less.

How much does it cost to drive 100 miles?

Divide 100 by your MPG and multiply by the gas price. At 30 mpg and $3.50 a gallon, 100 miles costs about $11.67 in fuel.

Does this include tolls or wear and tear?

No, it's fuel only. For everything a car costs to run, use the cost per mile calculator.

Results are estimates from the numbers you enter and, where noted, EPA ratings. Not financial advice. Page updated .