Formula and method
First estimate annual fuel spending from miles, economy and price. Add an entered total for non-fuel annual costs, then divide by annual miles. The other-cost input can include insurance, maintenance, registration, depreciation and finance charges. Use a consistent accounting basis; a full purchase payment and depreciation should not both be treated as the same consumed cost.
Annual fuel cost = annual miles / US MPG × price per US gallon
Annual car cost = annual fuel cost + other annual ownership costs
Total cost per mile = annual car cost / annual miles
Allocated trip cost = total cost per mile × trip miles
Understanding your inputs
- Distance unit
- miles or kilometers
- Trip distance
- Enter mi. Accepted input range: 0–1000000.
- Annual distance
- Enter mi. Accepted input range: 1–10000000.
- Fuel economy unit
- MPG (US) or MPG (Imperial) or L/100 km or km/L
- Vehicle fuel economy
- Enter mpg (US). Accepted input range: 0.01–1000.
- Comparison fuel economy
- Enter mpg (US). Accepted input range: 0.01–1000.
- Fuel price volume unit
- US gallons or Imperial gallons or liters
- Fuel unit price
- Enter USD/US gal. Accepted input range: 0–1000.
- Other annual ownership costs
- Enter USD/year. Accepted input range: 0–10000000. Illustrative total excluding fuel: insurance, maintenance, registration, depreciation and financing. Replace with your own annual estimate.
Worked example
The original fuel scenario is 300 mi per trip, 30 US MPG, $3.50 per US gallon and 12,000 annual miles. Add an illustrative $4,400/year of non-fuel costs. Total annual cost becomes $5,800 and average cost per mile about $0.4833.
Example inputs
- Distance unit
- miles
- Trip distance
- 300 mi
- Annual distance
- 12000 mi
- Fuel economy unit
- MPG (US)
- Vehicle fuel economy
- 30 mpg (US)
- Comparison fuel economy
- 40 mpg (US)
- Fuel price volume unit
- US gallons
- Fuel unit price
- 3.5 USD/US gal
- Other annual ownership costs
- 4400 USD/year
Default result: Total car cost per mile: 0.4833 USD/mi.
Assumptions
- Other annual costs exclude fuel and use USD over the same annual period.
- The comparison economy keeps the entered non-fuel cost total unchanged so its result isolates fuel changes.
Limitations
- This is an allocation of entered costs, not a market valuation, tax mileage allowance or guaranteed reimbursement.
- Depreciation, unexpected repairs and financing vary by vehicle; no AAA average dollar amounts are imported.
Common mistakes
- Using zero annual miles as a denominator.
- Double-counting fuel within other costs or counting both the full purchase amount and full depreciation in the same annual cost model.
Sources and methodology
Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.
- AAA — vehicle ownership cost categories ↗
Fuel and non-fuel ownership costs must be distinguished. No AAA market-average amounts are imported.
- US EPA — fuel economy and annual fuel cost conventions ↗
MPG, consumption per distance and estimated annual fuel costs depend on explicit assumptions.
Frequently asked questions
Is allocated trip cost the cash I spend on that trip?
No. It includes a share of annual ownership expenses, even if insurance or depreciation is not paid during the trip.
Can I calculate fuel-only cost?
Set other annual costs to zero. The result then equals normalized fuel price divided by US MPG.