Trip Cost Calculator

The result gives the total fuel and trip cost and each person's share. A 900-mile trip at 28 mpg uses 32.1 gallons before coarser rounding to 32. At $3.40 a gallon, fuel is $109.29, about $109.

Adding $45 of other costs gives $154.29, about $154, or $51.43 per person among three travelers, about $51. Use it to compare driving with flying or the train, and to split costs fairly. Remember that the real cost of driving includes wear, depreciation and time, which fuel does not show.

Trip Cost Calculator: inputs

Calculated result
Total trip cost$154
Cost per traveler$51
Gallons of fuel32.1

Trip Cost Calculator: Fuel price per gallon sensitivity

Trip Cost Calculator: Fuel price per gallon and Total trip cost5 calculations vary the “Fuel price per gallon” input while holding the other entered inputs constant.$2.72$132$3.06$143$3.40$154$3.74$165$4.08$176

Trip Cost: worked example

Trip distance (miles)900
Fuel economy (mpg)28
Fuel price per gallon$3.40
Tolls, parking and other costs$45
Travelers sharing the cost3
Total trip cost$154
Cost per traveler$51
Gallons of fuel32.1

Trip Cost: formula

Gallons = distance ÷ mpg; total = gallons × fuel price + tolls and other costs; per person = total ÷ travelers

DOE/EPA: fuel costs from mileage, efficiency and fuel price

Trip distance is the total miles driven, including detours and the return journey, from a mapping app. Fuel economy is your vehicle's real-world miles per gallon, and fuel price is the average price you expect to pay along the route. Tolls, parking and other costs cover bridge fees, parking, and any car rental extras.

Travelers sharing the cost is the number of people splitting it.

Highway and city mileage differ, and loads, speed, weather and hills change fuel use. Fuel prices vary by state and can be higher on highways. The calculation does not include lodging, food or the wear on the vehicle.

The federal mileage rate used for business reimbursements is far higher than fuel cost alone because it includes wear and depreciation.

Common error: Leaving out wear. Fuel is the visible cost, but tires, oil and depreciation also grow with every mile, so the fuel-only figure understates the true cost of the drive.

Trip Cost: changing Fuel price per gallon

Fuel price per gallonTotal trip costCost per travelerGallons of fuel
$2.72$132$4432.1
$3.06$143$4832.1
$3.40 (example)$154$5132.1
$3.74$165$5532.1
$4.08$176$5932.1

Trip Cost: compare input ranges

InputTested fromToTotal trip cost: low inputTotal trip cost: high inputSwing
Fuel economy (mpg)2531$167$144$24 (15%)
Trip distance (miles)810990$143$165$22 (14%)
Fuel price per gallon$3.06$3.74$143$165$22 (14%)
Tolls, parking and other costs$41$50$150$159$9.00 (5.8%)
Travelers sharing the cost24$154$154$0.00

Trip Cost: individual input comparisons

InputValueTotal trip costCost per travelerGallons of fuel
Trip distance (miles)720$132$4425.7
810$143$4828.9
900$154$5132.1
990$165$5535.4
1,080$176$5938.6
Fuel economy (mpg)22$184$6140.9
25$167$5636
28$154$5132.1
31$144$4829
34$135$4526.5
Fuel price per gallon$2.72$132$4432.1
$3.06$143$4832.1
$3.40$154$5132.1
$3.74$165$5532.1
$4.08$176$5932.1
Tolls, parking and other costs$36$145$4832.1
$41$150$5032.1
$45$154$5132.1
$50$159$5332.1
$54$163$5432.1
Travelers sharing the cost1$154$15432.1
2$154$7732.1
3$154$5132.1
4$154$3932.1
5$154$3132.1

Trip Cost: combined input changes

Fuel price per gallon / Trip distance (miles)7209001,080
$2.72$115$132$150
$3.06$124$143$163
$3.40$132$154$176
$3.74$141$165$189
$4.08$150$176$202

Trip Cost: which assumptions move the result?

Trip Cost: Total trip cost as Fuel economy (mpg) changesTotal trip cost starts at $184. Moving Fuel economy (mpg) from 22 to 34 changes it to $135, with Trip distance (miles) 900; Fuel price per gallon $3.40; Tolls, parking and other costs $45; Travelers sharing the cost 3 kept fixed.22$18425$16728$15431$14434$135
Chart quantityDisplayed settings
Fuel economy (mpg)22 → 34
Total trip cost$184 → $135
Trip distance (miles)900
Fuel price per gallon$3.40
Tolls, parking and other costs$45
Travelers sharing the cost3
Trip Cost: Total trip cost as Trip distance (miles) changesTotal trip cost starts at $132. Moving Trip distance (miles) from 720 to 1,080 changes it to $176, with Fuel economy (mpg) 28; Fuel price per gallon $3.40; Tolls, parking and other costs $45; Travelers sharing the cost 3 kept fixed.720$132810$143900$154990$1651,080$176
Chart quantityDisplayed settings
Trip distance (miles)720 → 1,080
Total trip cost$132 → $176
Fuel economy (mpg)28
Fuel price per gallon$3.40
Tolls, parking and other costs$45
Travelers sharing the cost3

Trip Cost: values and definitions

Quantity and definitionValue used
Trip distance (miles) — The full distance driven, including the return trip.900
Fuel economy (mpg)28
Fuel price per gallon$3.40
Tolls, parking and other costs$45
Travelers sharing the cost3
Total trip cost$154
Cost per traveler$51
Gallons of fuel32.1

Trip Cost: half and double Fuel economy (mpg)

Fuel economy (mpg)Total trip cost
14$264
28$154
56$100

Auto Finance calculators: Auto Lease Calculator, Lease vs. Buy Calculator, Auto Depreciation Calculator, Fuel Cost Calculator, Vehicle Total Cost of Ownership Calculator, Lease Mileage Calculator.

For a separate explicitly assumed route, 1,000 miles at 30 mpg requires 33.333 gallons. At $3.40 a gallon, fuel costs about $113.33. Adding the same $45 of tolls and parking gives $158.33, or $52.78 each for three travelers.

That route is longer than the 900-mile example but uses better fuel economy, so distance alone does not determine its cost.

Use the mpg you get on the road. Highway numbers beat city numbers, and a loaded car, a roof box or a headwind can take 10 to 20 percent off.

See annual running costs with the fuel cost calculator, and compare energy costs with the EV vs gas calculator. The vehicle total cost of ownership page adds insurance and depreciation. The unit conversion calculators convert miles, kilometers and gallons.

How do I split trip costs fairly?

Divide fuel, tolls and parking by the number of travelers, and consider adding a share for wear on the car if the owner is driving.

Is driving cheaper than flying?

For groups and short distances often yes, since fuel costs are shared, while for one traveler over a long distance flying can cost less than the total cost of driving.

What is the real cost per mile of driving?

Fuel is only part. Depreciation, maintenance and insurance add to it, and the IRS business mileage rate reflects a fuller cost per mile.