Gas Cost Calculator

Fuel cost of a road trip and how much each passenger should chip in.

Units
mi
mpg
$/gal
Trip
Gas cost
$35.36
$11.79 per person
Fuel used
10.7 gal
Distance
300 mi
Cost per mile
$0.118

How it works

Gallons = miles / mpg (or liters = km × L/100 km / 100), multiplied by the price per gallon or liter.

Worked example

Using these inputs: trip distance 300 mi, fuel economy 28 mpg, gas price $3.3/gal, people in the car 3 and trip One way.

The result is Gas cost: $35.36.

  • $11.79 per person
  • Fuel used: 10.7 gal
  • Distance: 300 mi
  • Cost per mile: $0.118

Formula reviewed November 2026 · How we build calculators

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the distance by your car's mpg to get gallons, then multiply by the price per gallon.

How should passengers split gas money?

Most people divide the total fuel cost evenly between everyone in the car, sometimes including tolls and parking.

Esc