Travel
Total cost and cost per mile
Add the fuel cost to the added charges (tolls plus nights times nightly rate) to get the total, then divide by distance for the cost per mile.
Last updated
The Formula
T = F + A, C = T / d
Add the fuel cost to the added charges (tolls plus nights times nightly rate) to get the total, then divide by distance for the cost per mile.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| F | Fuel cost | currency | The priced gallons from the previous step. |
| A | Added charges | currency | Tolls plus lodging, treated together as a lump. |
| d | Trip distance | miles | Used as the denominator for the per-mile figure. |
What Each Symbol Means
Fcurrency
Fuel cost
The priced gallons from the previous step.
Acurrency
Added charges
Tolls plus lodging, treated together as a lump.
dmiles
Trip distance
Used as the denominator for the per-mile figure.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate a road trip cost page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate A Road Trip Cost, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Total cost and cost per mile?
The formula for Total cost and cost per mile is T = F + A, C = T / d. Add the fuel cost to the added charges (tolls plus nights times nightly rate) to get the total, then divide by distance for the cost per mile.
What units should I use with Total cost and cost per mile?
Substitute F in money (any currency, as long as every money input uses the same one), A in money (any currency, as long as every money input uses the same one), d in miles. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Total cost and cost per mile?
Forgetting the tolls. Tolls can be a substantial share of a route's cost, especially where bridges, tunnels or chargeable motorways are involved. Leaving them out makes the total look artificially attractive and can tilt a route comparison the wrong way.