Gas Cost Calculator
Fuel cost of a road trip and how much each passenger should chip in.
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.
You might also need
Age Calculator
Exact age in years, months and days - and how long until your next birthday.
CalculateDays Between Dates
Days, weeks and weekdays between two dates. Defaults to the countdown to Christmas.
CalculateYour Life in Numbers
How many days you've lived, heartbeats, breaths, full moons - and the date of your 10,000th day.
Calculate