Guide
Electric or petrol: comparing the total cost of owning each car over several years
Choosing between an electric car and a petrol or diesel one is rarely a question of the sticker price alone. The electric car usually costs more to buy and less to run, so the answer depends on how far you drive, what you pay for energy and what the cars are worth when you sell. This calculator puts those items in one total, for the number of years you plan to keep the car.
What is counted
For each car the total is the purchase price, minus any incentive or grant, plus the yearly running costs times the years, minus the value of the car at the end. Running costs are the energy or fuel, the maintenance and the insurance. Resale is entered as a percentage of the purchase price after the period. The result is also given per year and per kilometre, which makes the two cars easy to compare with a lease or a subscription.
Energy and fuel
For the electric car the yearly energy cost is the distance times the consumption in kWh per 100 km times the price. The price blends home and public charging: you enter a home price, a public price and the share of charging done in public. For the petrol or diesel car it is the distance times the litres per 100 km times the fuel price. Public fast charging can cost two to three times as much as home electricity, so a driver without a home charger sees a much smaller advantage.
A worked example
Press the first sample, a five-year comparison at 15,000 km a year in dollars. The electric car costs $42,000 and uses 17 kWh per 100 km, with 20 percent of charging in public. It runs for $663 a year in energy, against $2,025 in fuel for a 7.5 L/100 km car. After insurance, maintenance and resale the electric car totals $33,665 and the petrol car $37,075, so the electric one is $3,410 cheaper, at $0.449 per kilometre against $0.494. The second sample, in euros at 25,000 km a year, gives €35,800 against €43,094, and the electric car’s outlay overtakes the petrol car’s in the fourth year.
The break-even year
The tool also shows the year in which the electric car’s cumulative outlay, before counting resale, drops below the petrol car’s. It is found from the purchase prices and the yearly costs, and the chart shows both totals growing year by year. In the default example the electric car does not catch up within five years on outlay alone, but it does once resale is included, which is a reminder that the two views can differ.
Adjusting for your situation
Replace every example number: the prices, the consumption, the maintenance and insurance quotes and the resale values come from you. Try a lower mileage to see how a small saving per kilometre fades, and try a government grant in the incentive box. A trial with a high public charging share shows how much a home charger is worth.
Limits
Loan interest, the cost of installing a home charger, road tax, tyres, parking and the electric car’s battery warranty are not included, so add them to the maintenance or purchase price when they differ between the cars. Prices and resale values change quickly, and the future cost of energy is unknown, so treat the result as a comparison under the assumptions you enter.
Related tools
- EV Charging Calculator finds the time and cost of a single charge.
- Fuel Cost Calculator gives the fuel cost of one petrol trip.
- Car Loan Calculator adds the financing cost the comparison leaves out.
- Electricity Cost Calculator shows what any device costs to run.
Checked against the current version of the EV vs Petrol Calculator on .

