An electric car usually costs more to buy and less to run. This calculator adds up the whole picture over the years you plan to keep the car, so you can see which one is actually cheaper for you. Note: the US $7,500 federal EV tax credit ended on 30 September 2025, so no credit is included in the purchase prices used here — if a state or manufacturer incentive applies to you, simply lower the EV purchase price by that amount.
Your total cost of ownership
Enter both cars' prices and running costs to see the total cost of ownership.
How it works
The calculator works out each car's running cost per year, multiplies it by the years you keep the car, then adds the purchase price and subtracts what the car will still be worth when you sell it.
Formula: Fuel cost per mile = fuel price ÷ MPG (for the UK and Canada, fuel price × litres per gallon ÷ MPG, because MPG there is measured in imperial or US gallons while fuel is sold by the litre). EV running cost per year = annual miles × EV efficiency ÷ 100 × electricity rate + EV maintenance per year. Fuel car running cost per year = annual miles × fuel cost per mile + fuel car maintenance per year. Total cost of ownership = purchase price + (years × running cost per year) − resale value. The difference between the two totals is the amount shown in the result panel.
What this calculator does not include
- Insurance differences between the two cars.
- Financing, loan interest or lease payments.
- Home charging installation costs (see our Home Charger Payback Calculator for those).
- Taxes, registration and inspection differences.
- Repairs outside routine maintenance, tyres and breakdown cover.
- Resale values are estimates — change them to match prices for cars like yours.
Frequently asked questions
Is an electric car cheaper than a gas car over 5 years?
On the default US figures in this calculator, yes. The EV costs $25,318 to own over 5 years against $27,775 for the fuel car, so the EV wins by $2,457. Its lower running costs more than cover its higher purchase price once resale value is counted. The result changes with your mileage, electricity price and the prices you actually pay, so enter your own figures.
What if I can only use public charging?
Public-only charging can flip the result. At a US public-charging rate of $0.48 per kWh, the same EV costs $29,892 to own over 5 years, so the fuel car wins by $2,117. Home charging at a standard residential rate is what makes the EV running-cost advantage large enough to win.
Does this calculator include the US $7,500 federal EV credit?
No. The US $7,500 federal EV tax credit ended on 30 September 2025, so no credit is included in the purchase prices used here. If a state, local or manufacturer incentive applies to a car you are considering, lower its purchase price in the calculator by that amount.
What costs does this calculator not include?
It does not include insurance differences, financing or interest, home charging installation costs, taxes and registration differences, or repairs outside routine maintenance. Resale values are estimates you can change. It compares purchase price, fuel or electricity, routine maintenance and resale value only.
How many miles a year do I need to drive for an EV to pay off?
There is no single mileage that works for everyone, because it depends on the price gap between the cars, your electricity and fuel prices, and how long you keep the car. The more miles you drive each year, the faster the EV's lower running costs close that purchase-price gap — high-mileage drivers break even sooner, while low-mileage drivers may need to keep the EV longer or pay less for it upfront. Enter your own annual miles, prices and ownership period in the calculator above to find your personal break-even point.
Does this calculator include insurance?
No. This calculator covers purchase price, energy or fuel, routine maintenance and resale value only — it does not include insurance. EVs often cost more to insure than a comparable petrol or gas car, which can narrow the saving, so get insurance quotes for both cars and factor the difference into your decision separately.
Is an electric car cheaper than a petrol car in the UK over 5 years?
On this calculator's UK default figures, yes — but only just. The EV costs £23,877 to own over 5 years against £24,768 for the petrol car, so the EV wins by £890. Its lower running costs at Ofgem price-cap electricity rates just outweigh its higher purchase price once resale is counted. Your result will change with your mileage, tariff and the prices you actually pay, so switch the calculator to UK and enter your own figures.
Related calculators
Sources: US electricity and fuel rates from the EIA, UK rates from the Ofgem price cap, Canadian rates from the Canada Energy Regulator. Fuel prices and maintenance figures are national averages — replace them with your own bill, fuel station and service costs for a personal result.