How to calculate cost per mile

Use one formula for any vehicle: cost per mile = total costs ÷ miles driven. Total costs are everything you spend to own and run the vehicle over the same period as the miles.

Worked example (the calculator's default gas car). Driving 1,000 miles a month at 28 mpg and $3.40 per gallon costs about $121 in fuel. Add $140 insurance, $60 maintenance and $35 parking and tolls and the month totals about $356. Divide by 1,000 miles: about $0.36 per mile, or roughly $4,277 a year.

What counts toward cost per mile

CostTypeIn this calculator
Fuel or EV chargingVariable (rises with miles)Yes
Maintenance and repairsVariableYes (monthly average)
InsuranceFixedYes
Parking and tollsMixedYes
Registration and feesFixedAdd to "Parking & tolls"
DepreciationFixed over timeNo (included in TORQ Track)

Fixed costs spread out as you drive more, so your cost per mile drops as mileage rises. Variable costs scale with every mile. Tracking both over time is what makes the number trustworthy.

Gas vs. electric cost per mile

For a gas car, fuel cost per mile is the gas price divided by miles per gallon. For an EV it is the electricity price per kWh divided by miles per kWh. Switch the tabs above to compare. EVs usually win on fuel and maintenance; depreciation can narrow or reverse the gap, which is covered in our EV vs. gas cost-per-mile breakdown.

From an estimate to your real number

A calculator uses averages. TORQ Track uses your actual receipts: every fill-up, charge, repair, insurance bill and toll, plus estimated depreciation, so your cost per mile updates as you log. Read the full guide, how much your car is actually costing you per mile, or compare standard mileage rate vs. actual expenses if you drive for work. Rideshare and delivery drivers can see profit per mile with TORQ Track Driver.