Personal Finance Insurance Credit Score Credit Cards Loans Investing Calculators All guides Subscribe

Fuel Cost Calculator

This fuel cost calculator estimates the gas cost of a road trip, splits it among passengers, and projects your monthly and yearly fuel spending from your weekly mileage. It is handy for trip planning, carpool cost sharing and building a realistic car budget.

What is fuel cost?

Fuel cost is what you spend on gasoline or diesel to drive a given distance. It depends on three things: how far you drive, how efficiently your vehicle uses fuel (miles per gallon) and the price you pay at the pump. Change any one of them and the total moves in direct proportion.

For most drivers, fuel is the most visible running cost of a car, and one of the easiest to estimate. Knowing your cost per mile also helps with decisions beyond a single trip, such as whether a longer commute is worth a cheaper rent, or how much a more efficient car would save each year.

How to use the Fuel Cost Calculator

  1. Trip distance (miles) — the one-way distance from a map app.
  2. Round trip? — choose Round trip to double the distance, or One way.
  3. Fuel economy (MPG) — your vehicle’s real-world MPG. The trip computer or the EPA rating on fueleconomy.gov works; use the highway figure for long interstate drives.
  4. Fuel price per gallon — the current local price, or an average along your route. Use the premium price if your car requires it.
  5. People sharing the cost — the number of travelers splitting fuel equally.
  6. Or: miles per week for a monthly estimate — your usual weekly driving, used for the monthly and yearly projections.

How fuel cost is calculated

The calculator divides the total distance by your MPG to get gallons, then multiplies by the price per gallon. For the monthly estimate it converts weekly miles to monthly miles (× 52 ÷ 12) and applies the same math.

Trip fuel cost = (Distance ÷ MPG) × Price per gallonwhere Distance is doubled for a round trip, Cost per person = Trip cost ÷ People, and Cost per mile = Price per gallon ÷ MPG

The results show the trip fuel cost, gallons needed, the cost per person, the cost per mile, and your projected monthly and yearly fuel spending from your weekly mileage.

Worked example

You are driving 300 miles one way in a car that gets 28 MPG, with gas at $3.20 a gallon. You also drive about 250 miles in a normal week.

Item Value
Gallons needed (300 ÷ 28) 10.7
Cost per mile ($3.20 ÷ 28) $0.114
Round trip cost (600 miles) $68.57
Round trip cost per person (3 people) $22.86
Monthly fuel at 250 miles a week $123.81
Yearly fuel $1,486
One-way trip fuel cost $34.29

A 10-cent change in the gas price moves the one-way trip cost by about $1.07, while getting 32 MPG instead of 28 would trim it to $30.00.

Tips to cut fuel costs

  • Keep tires inflated to the pressure on the driver’s door jamb. Underinflated tires raise rolling resistance and fuel use.
  • Ease off at highway speeds. Fuel economy generally drops as speed rises above about 50 mph, so cruising a little slower saves fuel on long trips.
  • Remove roof racks and cargo boxes when not in use, and avoid carrying unnecessary weight.
  • Use a price-comparison app on road trips; prices can vary a lot between nearby stations and states.
  • Use regular fuel unless your owner’s manual requires premium. Paying for premium in a car that only recommends it rarely pays off.
  • Combine errands into one trip. A warm engine is more efficient than several cold starts.

Keep in mind: real-world MPG varies with speed, terrain, weather, air conditioning, cargo and traffic. For a trip budget, add a cushion of 10% or so, and remember that fuel is only part of a car’s cost per mile.

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 300-mile trip at 28 MPG and $3.20 a gallon uses about 10.7 gallons and costs about $34.29.

How do I split gas money with friends?

Calculate the total fuel cost for the whole trip, including the drive home, and divide by the number of people. Some groups also add a share of tolls and parking, or a per-mile amount for wear on the driver’s car.

How much does it cost to drive one mile?

For fuel alone, divide the price per gallon by your MPG. At $3.20 and 28 MPG it is about 11.4 cents a mile. Including insurance, depreciation and maintenance, the full cost per mile is much higher.

How can I find my car’s real MPG?

Fill the tank, reset the trip odometer, drive normally, then refill. Divide the miles driven by the gallons needed to refill. Averaging a few tanks gives a reliable figure.

How much will I spend on gas per month?

Multiply your weekly miles by 52 and divide by 12 to get monthly miles, then divide by MPG and multiply by the gas price. At 250 miles a week, 28 MPG and $3.20, that is about $124 a month.

Results are estimates for educational purposes and are not financial, tax or legal advice. Figures reflect 2026 rules where noted; confirm details with official sources or a qualified professional.

Learn more

Guides that use this calculator

Scroll to Top