About the Cost per Mile Calculator
This calculator finds the true cost of driving a mile by splitting vehicle expenses into two groups: fixed costs that you pay no matter how far you drive, and variable costs that scale directly with distance. Blending the two over your annual mileage gives a realistic cost-per-mile figure for budgeting, trip planning, reimbursement comparisons, or deciding whether to keep, replace, or sell a vehicle.
The formula
Cost per mile is calculated as:
- Fuel cost per mile = Fuel price per gallon ÷ Fuel economy (miles per gallon)
- Variable cost per mile = Fuel cost per mile + Maintenance & repairs per mile
- Fixed cost per mile = Annual fixed costs ÷ Annual miles driven
- Total cost per mile = Fixed cost per mile + Variable cost per mile
Annual fixed costs typically include insurance premiums, registration and title fees, loan or lease payments, and depreciation — the vehicle's loss in value over the year. These do not change with mileage, so the more miles you drive, the thinner they are spread and the lower the fixed cost per mile becomes. Variable costs — fuel and routine maintenance such as oil changes, tires, and repairs — scale with distance and stay roughly constant on a per-mile basis regardless of how much you drive.
Using the result
Total cost per mile is useful for comparing vehicles, deciding whether a longer commute or road trip is worth the expense, setting a fair per-mile reimbursement or freelance delivery rate, or checking whether a lower-mileage year is actually saving you money once fixed costs are accounted for. If your fixed costs are a large share of the total, driving more miles per year lowers your average cost per mile even though your total spending rises — the two are not the same thing.