Auto Finance · Formula v1.0

Trip Cost Calculator

Estimate the fuel and total cost of a road trip, and each traveler's share.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

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

What if fuel price per gallon changes?

-10% input$143
0% input$154
+10% input$165

Answer first

What this calculator tells you

Estimate the fuel and total cost of a road trip, and each traveler's share. Budget a drive and split the cost among the people in the car. Formula: Gallons = distance ÷ mpg; total = gallons × fuel price + tolls and other costs; per person = total ÷ travelers. At the worked-example inputs, the total trip cost is $154. Holding every other input steady, moving fuel price per gallon from $2.72 to $4.08 moves the result from $132 to $176.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Gallons = distance ÷ mpg; total = gallons × fuel price + tolls and other costs; per person = total ÷ travelersEnter fuel price per gallon in dollars and tolls, parking and other costs in dollars.

Budget a drive and split the cost among the people in the car.

Worked example

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

Example inputs

Trip distance (miles)900
Fuel economy (mpg)28
Fuel price per gallon$3.40
Tolls, parking and other costs$45
Travelers sharing the cost3

How to interpret the result

A drive costs the fuel plus anything else you pay on the way. A 900 mile trip at 28 mpg burns 32.1 gallons, and at $3.40 a gallon that is $109.29 in fuel. Add $45 for tolls and parking and the trip costs $154.29, or $51.43 each when three people share it.

At the worked-example inputs the total trip cost is $154. It rises with trip distance (miles), fuel price per gallon and tolls, parking and other costs and falls as fuel economy (mpg) increases; travelers sharing the cost does not move it.

Interpretation boundary

Confirm taxes, insurance, fees, incentives and contract terms.

Before you rely on it

What to check

Use the mpg you actually 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.

The common error

Where people go wrong with trip cost calculator

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.

Sensitivity evidence

How fuel price per gallon changes the total trip cost

Holding every other input at the worked-example value, moving fuel price per gallon from $2.72 to $4.08 moves the total trip cost from $132 to $176: a spread of $44, or 28% of the worked-example result.

Trip Cost Calculator: total trip cost and cost per traveler and gallons of fuel across a range of fuel price per gallon, every other input held at the worked-example value.
Fuel price per gallonTotal trip costCost per travelerGallons of fuel
$2.72$132$4432.1
$3.06$143$4832.1
$3.40worked example$154$5132.1
$3.74$165$5532.1
$4.08$176$5932.1

Every input, tested

Which input moves the total trip cost most

Of the 5 inputs, fuel economy (mpg) moves the total trip cost most ($24 across the range tested) and tolls, parking and other costs moves it least ($9.00). Travelers sharing the cost does not change it at all.

Trip Cost Calculator: total trip cost with each input moved on its own, every other input held at the worked-example value.
InputTested fromToTotal trip cost at each endSwing
Fuel economy (mpg)2531$167 to $144$24 (15%)
Trip distance (miles)810990$143 to $165$22 (14%)
Fuel price per gallon$3.06$3.74$143 to $165$22 (14%)
Tolls, parking and other costs$41$50$150 to $159$9.00 (5.8%)
Travelers sharing the cost24$154 to $154none

Two variables at once

Total trip cost by fuel price per gallon and trip distance (miles)

Across the grid the total trip cost runs from $115 to $202. Moving fuel price per gallon from $2.72 to $4.08 shifts it by $44 at the middle column, and moving trip distance (miles) from 720 to 1,080 shifts it by $44 at the middle row, so neither is the bigger lever here.

Trip Cost Calculator: total trip cost at each combination of fuel price per gallon (rows) and trip distance (miles) (columns).
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

The highlighted cell is the worked example: $154.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the trip cost calculator.
InputValue usedWhat it means
Trip distance (miles)900The full distance driven, including the return trip.
Fuel economy (mpg)28Enter the fuel economy (mpg) used in this calculation.
Fuel price per gallon$3.40Enter the fuel price per gallon used in this calculation.
Tolls, parking and other costs$45Enter the tolls, parking and other costs used in this calculation.
Travelers sharing the cost3Enter the travelers sharing the cost used in this calculation.
Total trip cost$154
Cost per traveler$51
Gallons of fuel32.1

Inputs, definitions and assumptions

Trip distance (miles)

The full distance driven, including the return trip. The prefilled worked-example value is 900.

Fuel economy (mpg)

Enter the fuel economy (mpg) used in this calculation. The prefilled worked-example value is 28.

Fuel price per gallon

Enter the fuel price per gallon used in this calculation. The prefilled worked-example value is $3.40.

Tolls, parking and other costs

Enter the tolls, parking and other costs used in this calculation. The prefilled worked-example value is $45.

Travelers sharing the cost

Enter the travelers sharing the cost used in this calculation. The prefilled worked-example value is 3.

How to use this calculator

  1. 1Verify the inputs. Gather trip distance (miles), fuel economy (mpg), fuel price per gallon, tolls, parking and other costs and travelers sharing the cost from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the total trip cost at $154. Store your own version of it as Scenario A.
  3. 3Test one change. Start with fuel economy (mpg), the input with the biggest effect here: moving fuel economy (mpg) from 25 to 31 takes the total trip cost from $167 to $144, a swing of 15% of the worked-example figure.
  4. 4Check the extremes. At half the example fuel economy (mpg) (14) the total trip cost is $264; at double (56) it is $100.

People also ask

Frequently asked questions

How do you calculate trip cost?

Gallons = distance ÷ mpg; total = gallons × fuel price + tolls and other costs; per person = total ÷ travelers. Enter fuel price per gallon in dollars and tolls, parking and other costs in dollars. At the worked-example inputs the total trip cost is $154.

What does the trip cost result mean?

Budget a drive and split the cost among the people in the car. At the worked-example inputs the total trip cost is $154. It rises with trip distance (miles), fuel price per gallon and tolls, parking and other costs and falls as fuel economy (mpg) increases; travelers sharing the cost does not move it.

How much does fuel price per gallon change the total trip cost?

Holding every other input at the worked-example value, moving fuel price per gallon from $2.72 to $4.08 moves the total trip cost from $132 to $176, a spread of $44.

What are the limits of this trip cost calculator?

Confirm taxes, insurance, fees, incentives and contract terms. The tables on this page test fuel price per gallon only from $2.72 to $4.08; a value outside that range is not tabulated here.

Which input moves the total trip cost most in the trip cost calculator?

Ranked by how far each moves the total trip cost across the range tested: fuel economy (mpg) ($24, 15%), trip distance (miles) ($22, 14%), fuel price per gallon ($22, 14%) and tolls, parking and other costs ($9.00, 5.8%). Travelers sharing the cost does not change it.

If I double fuel economy (mpg) in the trip cost calculator, does the total trip cost double?

Doubling it from 28 to 56 takes the total trip cost from $154 to $100, which is 0.65 times the worked-example figure. So it falls instead of rising. Halving it to 14 gives $264.

How much does trip distance (miles) matter in the trip cost calculator?

The worked example uses 900. With the other inputs left at the worked example, moving trip distance (miles) from 810 to 990 takes the total trip cost from $143 to $165, a swing of 14% of the worked-example figure.

How much does fuel economy (mpg) matter in the trip cost calculator?

The worked example uses 28. Holding every other input at its worked-example value, moving fuel economy (mpg) from 25 to 31 takes the total trip cost from $167 to $144, a swing of 15% of the worked-example figure.

How much does tolls, parking and other costs matter in the trip cost calculator?

The worked example uses $45. With the other inputs left at the worked example, moving tolls, parking and other costs from $41 to $50 takes the total trip cost from $150 to $159, a swing of 5.8% of the worked-example figure.

How much does travelers sharing the cost matter in the trip cost calculator?

The worked example uses 3. The total trip cost does not depend on travelers sharing the cost; it moves the cost per traveler from $77 to $39 instead when travelers sharing the cost goes from 2 to 4.

Which inputs change the cost per traveler in the trip cost calculator?

At the worked-example inputs it is $51. Trip distance (miles) takes it from $48 to $55, fuel economy (mpg) takes it from $56 to $48, fuel price per gallon takes it from $48 to $55 and tolls, parking and other costs takes it from $50 to $53.

Which inputs change the gallons of fuel in the trip cost calculator?

At the worked-example inputs it is 32.1. Trip distance (miles) takes it from 28.9 to 35.4 and fuel economy (mpg) takes it from 36 to 29.

Is it better to lease or buy?

Over one lease term, leasing often costs less in cash outflow because you pay only for depreciation. Over a longer horizon, buying and keeping the vehicle past the loan usually wins, because the years without a payment are where the saving accumulates. It depends heavily on how long you actually keep vehicles.

All auto finance questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Depreciation : glossary term
The allocation of an asset's cost across its useful life. An accounting and tax concept distinct from the asset's actual change in market value.
Money factor : glossary term
How a lease expresses its finance charge. Multiply by 2,400 for an approximate equivalent annual interest rate.
Underwater : glossary term
Owing more on an asset than it is worth. Common early in a long vehicle loan because depreciation is front-loaded while principal reduction is not.
Total cost of ownership : glossary term
Every cost of owning an asset over its life, purchase, financing, insurance, fuel, maintenance, repairs and disposal, not just the payment.