Skip to main content
Skip to calculator
Advertisement

Last updated: July 16, 2026

Cost per Mile Calculator

Quick Answer

The Cost per Mile Calculator divides total trip cost by distance in miles to yield the cost per mile metric. Inputs include total cost (fuel, tolls, parking), distance, and distance unit (miles or kilometers — automatically converted). The primary output is cost per mile; secondary outputs include cost per kilometer and converted distances. The IRS 2024 standard mileage rate is $0.67/mile. Typical all-in costs range from $0.45/mile (economy car) to $0.95/mile (SUV/truck).

To find cost per mile, divide your total trip cost by the number of miles driven. For example, a $120 trip over 200 miles costs $0.60 per mile. If your distance is in kilometers, multiply by 0.621 to convert to miles first.

Key Takeaways

  • Cost per mile = Total Trip Cost ÷ Distance in miles — a simple formula with powerful budgeting implications.
  • The IRS standard mileage rate for 2024 is $0.67/mile, covering fuel, depreciation, insurance, and maintenance.
  • Including all costs (fuel, tolls, parking, wear) gives a more accurate cost per mile than fuel alone.
  • Electric vehicles typically achieve $0.30–$0.45/mile, significantly lower than comparable gasoline vehicles.
  • Comparing cost per mile across routes or vehicles helps identify the most economical travel option.
Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

Cost per Mile = Total Cost ÷ Distance (miles)

Where:

  • CPM=Cost per Mile($/mile)
  • C_total=Total Trip Cost(currency)
  • d_miles=Distance in Miles(miles)
Cost per Mile — Formula and Trip ExamplesDiagram illustrating how to calculate cost per mile by dividing total trip cost by the distance traveled in miles. Shows a road trip from point A to point B with the formula Cost per Mile equals Total Cost divided by Distance in miles, and three worked examples: road trip at $0.60/mile, commute at $1.50/mile, and business trip at $1.43/mile.Cost per Mile CalculatorTrip DiagramTotal Cost = $CStartFinishABd = distanceKey:Cost/Mile = Total Cost / Miles1 km = 0.621 miles1 mile = 1.609 kmLower cost/mile = more efficient tripFormulaCost per Mile=Total CostDistance (miles)ExamplesRoad trip: $120 / 200 mi= $0.60/mileCommute: $45 / 30 mi= $1.50/mileBusiness: $500 / 350 mi= $1.43/mile
Cost per Mile = Total Trip Cost ÷ Distance in Miles. To convert kilometers to miles, multiply by 0.621371. The IRS standard mileage rate for 2024 is $0.67 per mile.

Worked Examples

Road Trip — $0.60 per Mile

A family road trip costing $120 total over 200 miles.

  1. 1Identify total cost: $120
  2. 2Identify distance: 200 miles
  3. 3Apply formula: $120 ÷ 200 miles = $0.60 per mile
Final Answer: $0.60 per mile $/mile

Daily Commute — $1.50 per Mile

A daily commute costing $45 in fuel and tolls over 30 miles.

  1. 1Identify total cost: $45
  2. 2Identify distance: 30 miles
  3. 3Apply formula: $45 ÷ 30 miles = $1.50 per mile
Final Answer: $1.50 per mile $/mile

European Business Trip — €0.625 per km

A business trip costing €500 over 800 kilometers.

  1. 1Identify total cost: €500
  2. 2Identify distance: 800 km
  3. 3Convert to miles: 800 × 0.621371 = 497.1 miles
  4. 4Cost per mile: €500 ÷ 497.1 = €1.006 per mile
  5. 5Cost per km: €500 ÷ 800 = €0.625 per km
Final Answer: €0.625 per km $/mile

Introduction

The Cost per Mile Calculator helps you determine exactly how much you spend for every mile (or kilometer) of travel. Whether you are budgeting a road trip, tracking business mileage for reimbursement, or comparing the true cost of different vehicles, knowing your cost per mile is essential for informed financial decisions. Simply enter your total trip cost and distance to get an instant breakdown. For related estimates, try our fuel cost calculator or the mpg calculator.

How to Calculate Cost per Mile

The formula is straightforward: Cost per Mile = Total Cost ÷ Distance (miles). Total cost should include all trip-related expenses — fuel, tolls, parking fees, and any other out-of-pocket costs. If your distance is in kilometers, multiply by 0.621371 to convert to miles first. For example, a $120 trip covering 200 miles gives you $120 ÷ 200 = $0.60 per mile. For a deeper breakdown of fuel spend alone, use the fuel cost calculator alongside this tool.

IRS Standard Mileage Rate

The IRS publishes an annual standard mileage rate for business travel deductions. For 2024, the rate is $0.67 per mile for business use of a personal vehicle. This rate accounts for fuel, depreciation, insurance, maintenance, and registration. If your actual cost per mile exceeds the IRS rate, your business travel is costing more than the standard allowance. Learn more at IRS.gov. For accurate tracking, log every trip with an odometer app and save fuel receipts.

What to Include in Total Cost

For an accurate cost per mile, include all variable and fixed costs: fuel (your biggest variable cost — the fuel mileage calculator helps estimate this), tolls, parking, wear and tear (tires, brakes, oil changes — typically $0.08–$0.12/mile for average vehicles), and depreciation (most significant for new vehicles). The U.S. Department of Transportation notes that total vehicle ownership costs often exceed $10,000 per year when all factors are included.

Miles vs. Kilometers

The United States and United Kingdom use miles as their primary road distance unit. Most other countries use kilometers. The conversion factor is: 1 mile = 1.60934 km and 1 km = 0.62137 miles. This calculator handles both units automatically, displaying results in both $/mile and $/km. The NIST Guide for the Use of SI Units provides authoritative unit conversion references. For international business travel, always clarify which distance unit is being used before comparing costs.

Typical Cost per Mile Benchmarks

Understanding whether your cost per mile is high or low requires context. Economy cars typically cost $0.40–$0.55/mile all-in. Midsize sedans average $0.55–$0.72/mile. SUVs and trucks range from $0.65–$0.95/mile. Electric vehicles often achieve $0.30–$0.45/mile due to lower fuel costs. Rideshare services (Uber/Lyft) typically cost $1.50–$3.00/mile including surge pricing. For fleet or corporate travel, compare your actual cost per mile against the GSA reimbursement rates to ensure budget compliance.

Comparing Trips and Vehicles

The real power of cost per mile analysis is comparison. If Route A costs $80 over 120 miles ($0.667/mile) and Route B costs $65 over 90 miles ($0.722/mile), Route A is more economical per mile even though its total cost is higher. Similarly, when evaluating vehicles, a car that gets 30 MPG at $3.50/gallon costs $0.117/mile in fuel, while a 20 MPG vehicle costs $0.175/mile — a 50% premium. Pair this tool with the commute calculator to optimize your daily driving costs.

Quick Reference Card

Cost per Mile Quick Reference

Quick referenceCost per Mile Calculator

CPM = Total Cost ÷ Distance (miles)

Valid range: Any positive cost and distance values

Common Values

Economy car (all-in avg)$0.45–$0.55/mile
Midsize sedan (all-in avg)$0.61–$0.72/mile
SUV/truck (all-in avg)$0.75–$0.95/mile
IRS standard rate 2024$0.67/mile
Electric vehicle (all-in avg)$0.35–$0.45/mile

Watch Out

  • Always include fuel, tolls, parking, and wear costs — not just fuel.
  • Fuel prices fluctuate — recalculate regularly for accurate results.
  • Short trips cost more per mile due to fixed costs (insurance, registration).
  • Highway vs. city driving significantly affects MPG and thus cost per mile.

Pro Tips

  • Track mileage with a phone app for accurate odometer readings.
  • Compare cost per mile when choosing between renting and driving your own car.
  • Use the IRS standard rate ($0.67/mile) as a benchmark for business reimbursement.
  • Combine with an MPG calculator to optimize route fuel efficiency.

FAQs

What is cost per mile?

Cost per mile is the total amount of money spent for each mile of travel. It is calculated by dividing the total trip cost (fuel, tolls, parking, etc.) by the total distance in miles. A lower cost per mile means more efficient, economical travel.

How do I calculate cost per mile?

Divide your total trip cost by the distance in miles. For example, if a 300-mile trip costs $180 in fuel and tolls, your cost per mile is $180 ÷ 300 = $0.60 per mile. Include all relevant costs for the most accurate result.

What is a good cost per mile for a car?

A good cost per mile for fuel alone is $0.08–$0.15/mile for most gasoline vehicles. When including all vehicle costs (depreciation, insurance, maintenance, fuel), the AAA estimates the average all-in cost at $0.61–$0.72 per mile for a midsize sedan.

How do I convert kilometers to miles for this calculator?

Select 'Kilometers' in the Distance Unit field and enter your distance in km. The calculator automatically converts using the factor 1 km = 0.621371 miles. You will see results in both $/mile and $/km.

Can I use this for mileage reimbursement?

Yes. Enter your actual trip costs and distance to see your cost per mile. Compare it against the IRS standard mileage rate ($0.67/mile for 2024) or your employer's reimbursement rate. If your actual cost is higher, you may be under-reimbursed.

Does this calculator account for vehicle depreciation?

The calculator uses whatever total cost you enter. To include depreciation, estimate your depreciation cost per trip and add it to your other expenses before entering the total. The IRS standard mileage rate ($0.67/mile) already includes an allowance for depreciation.