
Home / Split gas cost
Split gas cost calculator
Enter the distance, the car's mpg, the gas price and how many people are in the car. The calculator says what each person owes for gas, with or without the driver paying a share.
Nothing you type leaves your browser. The numbers are kept on this device so they are still there next time.
Each share, step by step
First the gas for the whole drive, then the division. For 200 miles in a 25 mpg car at $3.505 a gallon, with four people:
200 / 25 = 8 gal × $3.505 = $28.04
$28.04 / 4 = $7.01
If the driver rides free, because they bring the car and wear it out, the same $28.04 is divided by the three passengers: $9.35 each.
Rounding to whole dollars
Few people want to send $7.01. The result rounds each share up to the next dollar and says how much is left over once everyone has paid: with four people paying $8 each, there is $3.96 too much, which can go to the driver, the parking or the next coffee.
Shares for common trips
Each cell is one person's share at 25 mpg and $3.505 a gallon, everyone paying including the driver. The last column has the driver riding free.
| People | 100 mi | 200 mi | 400 mi | 400 mi, driver free |
|---|---|---|---|---|
| 2 | $7.01 | $14.02 | $28.04 | $56.08 |
| 3 | $4.67 | $9.35 | $18.69 | $28.04 |
| 4 | $3.51 | $7.01 | $14.02 | $18.69 |
| 5 | $2.80 | $5.61 | $11.22 | $14.02 |
For a trip there and back, enter the distance both ways: a 100-mile drive to the coast and home again is 200 miles.
What is fair
There is no single rule. Splitting gas evenly is the simplest and the most common. Some groups also pay the tolls and parking, which the road trip cost calculator adds in. Others want to pay toward the car itself, since tires, oil and depreciation are part of what a mile costs: the cost per mile calculator gives a figure for that, which you can use as the price per mile instead.
When people get in and out along the way, split each leg on its own: run the calculator once for the miles everyone shared and once for the miles only some people rode.
Questions
Should the driver pay for gas?
Many groups let the driver ride free because they bring the car; others share evenly. Pick Rides free or Pays a share and compare.
How do I split gas for a commute or carpool?
Work out a week's or a month's driving and divide it the same way. The commute cost calculator gives the miles.
What if passengers have different distances?
Run the calculator once per leg and add each person's legs.
Is the gas price the one I paid?
Use the price on your receipt for the fill-up, or the average price along the way.
Other calculators
Sources
- U.S. Energy Information Administration, Gasoline and Diesel Fuel Update (weekly retail prices)
- fueleconomy.gov (DOE and EPA), Learn more about the fuel economy label for electric vehicles
Figures checked on 2026-12-02. Page updated 2026-12-02.