Road Trip Price Calculator: Gas, Stays, the Split and Per Mile

A road trip costs the gas (miles over the MPG you will really get, times the fuel price), plus the wear the miles put on your car, plus lodging and food, plus tolls, parking and extras. In the illustrative example below, the gas for 1,325 miles is $167.86, but the whole trip is $2,116.15, and split 4 ways each rider pays $529.04. The gas is only 7.9% of it. A friend’s one-off ride works the same way per mile: $0.78 a mile of their ride in the example, once the empty drive home is counted.
Every price, MPG and rate here belongs to one made-up trip: 4 people, one car, 3 nights in 2 rooms. None of it is a real fuel price, a hotel rate or a government mileage rate. Copy in your own figures from your own pump receipts, bookings and car records.
The road trip cost formula
miles = route miles + side-trip miles
trip MPG = your own MPG x (1 - share lost to a loaded car)
gas = miles / trip MPG x fuel price per gallon
wear = miles x your own wear cost per mile
lodging = nights x rooms x room price x (1 + taxes and fees)
food = people x days x food per person a day + road snacks
whole trip = gas + wear + lodging and food + tolls, parking, extras
each rider = whole trip / riders, rounded UP to the cent
How much gas will a road trip cost
The example’s route is 1,240 miles round trip, with 85 more for side trips and getting around. The car gets 29 MPG on the owner’s own fill-ups, and the owner allows 8% less for a full car, luggage and highway speed. The fuel price is $3.38 a gallon, an example to overwrite with the price you expect to pay.
| Line | Working | Amount |
|---|---|---|
| Miles you will drive | 1,240 route + 85 side trips | 1,325 |
| MPG on this trip | 29 x (1 - 8%) | 26.68 |
| Gallons | 1,325 / 26.68 | 49.663 |
| Fuel for the trip | 49.663 gallons x $3.38 | $167.86 |
| Fuel at the full 29 MPG | 1,325 / 29 x $3.38 | $154.43 |
That is $167.86 of gas, or $12.67 per 100 miles. At the full 29 MPG it would have been $154.43; the allowance for a loaded car adds $13.43. The MPG to use is the one from your own fill-ups, not the sticker, and the loaded-car allowance is your own estimate. If prices differ along the route, use a blended figure of your own.
Taking an electric car instead? At the example’s own 3.4 miles per kWh, charging 25% at home and the rest at public chargers, with some energy lost while charging, the same miles cost $173.20, which is $5.34 more than the gas here. A higher home share would turn that around. The EV charging cost calculator works through home and public charging in detail.
Lodging, food, tolls and parking
3 nights in 2 rooms at $128.00 a night, with 13% of taxes and fees from the booking, is $867.84. Food at $38.00 per person a day for 4 people over 4 days, plus road snacks on the 2 driving days, brings lodging and food to $1,523.84. Tolls both ways, 3 days of parking and other road costs such as park entry add $146.20.
The wear on your own car
Gas is not the only thing the miles cost. Tires, servicing, repairs and the value the car loses all move with the miles. The example owner’s own records put that at $0.21 a mile, which over 1,325 miles is $278.25: more than the gas. That figure is the owner’s, not a published allowance; work out your own from your own receipts, leaving out payments and bills you pay whether the car moves or not.
The same figure answers whether to rent. Your own car costs $278.25 of wear plus $167.86 of gas, $446.11. The example’s rental quote covers the 4 days away at $54.00 a day plus 22% of taxes and fees, and at 34 MPG it burns $143.17 of gas: $406.69 in all, so here the rental costs $39.42 less than your own car. The answer turns on your wear per mile: the two cost the same at a wear cost of about $0.180 a mile, so with a lower wear figure than that, your own car would win. Quote the rental for the days you are actually away, not a day more.
The insight: split the trip, and round up
Here is the whole trip as the example drives it, in the owner’s own car, with the car’s wear included. If you take the rental instead, its $406.69 replaces the fuel and wear lines.
| Line | Amount |
|---|---|
| Fuel | $167.86 |
| Wear on the car | $278.25 |
| Lodging and food | $1,523.84 |
| Tolls, parking and extras | $146.20 |
| Whole trip | $2,116.15 |
| Exact share, 4 riders | $529.0375 |
| Each rider pays, rounded up to the cent | $529.04 |
| Collected | $2,116.16 |
Divided 4 ways the exact share is $529.0375, which is not a whole number of cents. Round each share to the nearest cent and, on some totals, the shares add up to less than the trip cost, leaving the driver to cover the gap. Rounding each share up to the cent means what you collect, $2,116.16 here, always covers the $2,116.15 trip, by less than a cent per rider: $0.01 over in this example.
Including the wear in the split is the car owner’s call. Leave it out and each rider pays $459.48, but then the owner alone carries $278.25 of wear for a trip all 4 took. The trip works out to $1.60 per mile driven all in, which is the figure to compare with any other way of getting there.
How much to charge for a car ride, per mile
The same arithmetic answers how much to charge for travel per mile when you drive a friend somewhere. The ride puts its own miles on your car, plus the drive back if you would not otherwise have made it.
| Line | Working | Amount |
|---|---|---|
| Miles the ride puts on your car | 38 with them + 38 back empty | 76 |
| Fuel | 76 / 29 MPG x $3.38 | $8.86 |
| Wear | 76 x $0.21 | $15.96 |
| Tolls and parking | $4.50 | |
| What the ride costs you | $29.32 | |
| Per mile of their ride, rounded up | $29.32 / 38 | $0.78 |
At the example’s gas price and MPG plus its wear figure, every mile driven costs about $0.327. But the friend’s ride is 38 miles and your car drives 76, because the trip back is empty. With your friend covering 100% of the cost, the rate per mile of their ride is $0.78, more than twice the cost per mile driven, and 38 miles at that rate collects $29.64, which covers the $29.32. If you were going that way anyway, there are no empty miles to charge, and the rate falls to $0.45 a mile. The delivery per mile calculator works through the same empty-return problem for paid deliveries.
This is cost-sharing arithmetic, not a fare or a business rate. Check your own insurance and local rules before taking money for rides.
How these were calculated
Gas is miles over your MPG less the loaded-car allowance, times the fuel price; the gallons are counted per leg (out, back and side trips) and must match the single sum. Charging is miles over miles per kWh, grossed up for charging loss, at a blend of home and public prices. Wear is miles times your own wear per mile. Lodging is nights times rooms times the room price, plus the booking’s taxes and fees; food is people times days times the daily budget, plus road snacks. The rental is days times the daily rate plus its taxes and fees, plus gas at the rental’s MPG with the same loaded-car allowance. The whole trip adds gas, wear, lodging and food, and tolls, parking and extras, each carried as the spreadsheet shows it, to the cent; each share is the total over the riders, rounded up to the cent. A ride’s rate is fuel, wear and tolls for every mile the ride causes, over the miles of the ride, rounded up to the cent.
Every figure was computed twice: once by the code behind the pack below and once by an independent program written for this page in exact fractions. The two agree to the cent. All inputs are illustrative, not real fuel prices, room rates, rental quotes or any government mileage rate. None of this is financial, legal, tax or insurance advice.
To run this on your own car, bookings and riders, the pack below has eight linked calculators, from the gas and an electric car’s charging to the split, driving against flying, and a per-mile rate for a friend’s ride.