Electric Vehicle Total Cost of Ownership Calculator

Compare the full cost of owning an electric car and a gasoline car over the years you keep it: depreciation, finance interest, energy, maintenance, insurance, registration and other costs — in total and per mile.

Ownership
years
mi
Electric vehicle
% of price
Use the EV vs gas tool to estimate.
E.g. charging memberships.
%
% of net price
months
Gas or diesel vehicle
% of price
Fuel per year.
%
% of net price
months

Total cost of ownership

Difference over ownership—
EV total cost
—
Gas/diesel total cost
—
EV cost per distance
—
Gas/diesel cost per distance
—
Cost breakdown
ComponentElectricGas/diesel

Example defaults. Projections assume flat prices with no inflation or discounting, and are estimates based on your assumptions.

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.

Frequently asked questions

What is total cost of ownership?

It is everything a car costs you while you own it: the value it loses (purchase price minus resale), finance interest, energy, maintenance, insurance and fees. Comparing totals is fairer than comparing purchase prices or fuel costs alone.

Why use resale value instead of the purchase price?

You get part of the purchase price back when you sell. The cost of owning the car is the difference — its depreciation — plus everything you spend along the way.

Where do the default numbers come from?

They are example values to show how the tool works, not averages. Insurance, resale values and maintenance vary widely, so replace each with quotes and your own figures.

Related calculators

Last reviewed 2026-12-04. Read the methodology and data sources. Found an error? See corrections.

Region, currency & units

Choosing a region fills in its usual units and currency. You can override each one. Changing the currency only changes the symbol; it does not convert amounts.