Cost per Mile Calculator

Find the cost per mile for a trip, or reverse the formula to estimate the total cost from a known rate.

This is handy for travel budgets, business mileage reimbursement, delivery planning, and side-by-side trip comparisons.

Result

--

Run the calculation to see the trip rate.

Quick Answer

Cost per mile is total trip cost divided by total miles traveled. Reverse it by multiplying the rate by the distance.

How to Use It

  1. Choose whether you want the rate or the total cost.
  2. Enter the trip distance and the known value.
  3. Switch to metric if you want the answer in cost per kilometer.
  4. Click Calculate to see the result.

Formula

Cost per mile = total cost / distance traveled in miles

Total trip cost = cost per mile x distance traveled in miles

Worked Examples

Example 1: A $200 trip over 400 miles costs $0.50 per mile.

Example 2: A 350-mile trip at $0.50 per mile costs $175.

Example 3: In metric mode, 800 km at $0.50 per mile would be converted to a per-kilometer rate first.

How to Interpret Your Results

OutputMeaningAction
Cost per mileThe average trip cost for each mile driven.Compare it across routes or vehicles.
Total trip costThe full price of the trip based on the rate and distance.Use it to build a travel budget.
Metric rateThe same logic expressed per kilometer.Useful if you plan trips in kilometers.

Frequently Asked Questions

Include fuel, parking, tolls, maintenance, and any other trip-specific expense you want to average across the miles driven.

Not necessarily. Fuel cost is only one part of the trip; this calculator can include all trip costs you enter.

Yes. It works well for mileage reimbursement estimates and for comparing one business route against another.

Related Calculators

References