Fuel Cost Calculator

Estimate trip fuel cost from distance, fuel economy, fuel price, passengers, tolls, and parking.

Total trip cost

$51.78

Fuel plus tolls and parking

Fuel cost

$21.78

6 gal needed

Cost per person

$25.89

2 passengers

Cost per mile

$0.28

185 mi total

Trip inputs

Estimate fuel cost for a commute, road trip, or shared drive.

Total distance

185 mi

1 trip segment

Gallons needed

6 gal

Distance divided by fuel economy

Extra costs

$30.00

Parking and tolls

Passenger split

$25.89

Total cost divided evenly

Related calculators

What is the fuel cost calculator?

The fuel cost calculator estimates how much a drive will cost in gas based on the distance, your vehicle fuel economy, and the price per gallon. Add tolls and parking for a realistic trip budget, and split the total across passengers for carpools and road trips.

Whether you are planning a daily commute, a long road trip, or a shared ride, knowing the cost up front helps you budget and compare routes or vehicles.

How fuel cost is calculated

  • Gallons needed = total distance ÷ fuel economy (mpg)
  • Fuel cost = gallons needed × price per gallon
  • Total trip cost = fuel cost + tolls + parking
  • Cost per person = total trip cost ÷ passengers

Worked example

A 400-mile round trip

  • Distance: 400 miles
  • Fuel economy: 30 mpg
  • Price: $3.60 per gallon
  • Gallons needed: 400 ÷ 30 = 13.3 gallons
  • Fuel cost: 13.3 × $3.60 = about $48
  • With $20 tolls and $15 parking: about $83 total
  • Split among 4 people: about $21 each

What affects your fuel economy

The miles per gallon on the window sticker is an estimate. Real-world economy depends on how and where you drive.

  • Speed: fuel economy usually peaks around 50 mph and drops sharply at high speeds.
  • Driving style: hard acceleration and braking waste fuel; smooth driving saves it.
  • Load and roof racks: extra weight and drag lower mpg.
  • Tire pressure: underinflated tires increase rolling resistance.
  • Climate control: heavy air-conditioning use raises consumption.
  • Terrain and traffic: hills and stop-and-go driving cut economy.

Gas vs electric cost

Electric vehicles are usually cheaper per mile because electricity costs less than gasoline per unit of energy and motors are more efficient. To compare, divide your home electricity rate by the vehicle efficiency (miles per kWh) and set it against the gas cost per mile from this calculator. Charging on the road at fast chargers narrows the gap.

Frequently asked questions

Should I use city or highway mpg?

Use the rating that matches your trip. For a long highway drive use the highway figure; for a commute in traffic use the city figure or a combined number for mixed driving.

How do I find my real fuel economy?

Fill the tank, reset the trip meter, and at the next fill divide the miles driven by the gallons added. Average a few tanks for a reliable number.

Is splitting fuel cost the full cost of a ride?

Fuel is only the direct cost. Wear, maintenance, insurance, and depreciation add up over time, so a per-mile rate beyond fuel is fairer for frequent shared driving.

Tips to cut fuel cost

  • Drive smoothly: gentle acceleration and steady speed save the most.
  • Keep tires inflated: check pressure monthly for better economy.
  • Lighten the load: remove roof racks and unneeded weight.
  • Combine trips: a warm engine is more efficient than several cold starts.
  • Compare gas prices: apps can find cheaper stations on your route.
  • Carpool: sharing a ride is the simplest way to cut cost per person.