How total cost of ownership is calculated
Net price = Purchase price − Incentives Resale value = Purchase price × Resale % Depreciation cost = Net price − Resale value Interest = interest paid on the loan during the ownership period Running costs = (Energy + Maintenance + Insurance + Fees + Other) × Years Total cost of ownership = Depreciation + Interest + Running costs Cost per distance = Total ÷ (Annual distance × Years)
Interest is calculated month by month on a standard amortising loan and counted only for the months you own the car. If you sell before the loan ends, the outstanding balance is settled from the sale; it is already reflected in the depreciation line, so it is not counted twice.
Worked example
A 45,000 EV kept for six years and resold at 45% of its price loses 24,750 in value. Its running costs at the example values (energy 560, maintenance 600, insurance 1,800, fees 250, other 150) are 3,360 a year, or 20,160 over six years. Add finance interest on 80% of the price at 6% over 60 months, and you have the EV’s total. The calculator does the same for the gasoline car and shows the difference and the cost per mile for each.
What matters most
For many buyers, depreciation is the largest single cost, followed by energy and insurance. Small changes in assumed resale value can outweigh years of fuel savings, so try a range of resale percentages. Use the EV depreciation calculator to explore resale value, the EV vs gas calculator to estimate yearly energy and maintenance, and the EV loan calculator for financing detail.
Limitations
Prices are held constant, no discount rate is applied, and taxes on purchase and registration differ by location. Resale values for electric vehicles have moved sharply in some markets; nobody can guarantee a future resale value, so treat it as your most uncertain input.