EV vs gas cost calculator: which car is cheaper for you?
There is no single answer: it depends on how far you drive, whether you can charge at home and how long you keep the car. Enter your figures to see the total cost of each option and when a pricier hybrid or electric car pays back.
Published: ·
Last reviewed:
Result
Total cost depending on how many years you keep it (same resale %)
How to read the result
Total cost: the value the car loses (price minus what you sell it for) plus everything you spend running it over the years you set.
Per km: total cost divided by the kilometres you will drive. Useful to compare with a lease or public transport.
Payback: when a car loses more value but costs less to run, you get the number of years (and kilometres) after which it is cheaper overall.
The chart shows total cost depending on how many years you keep the car. Where two lines cross, the cheaper option changes.
Which figures to use
Consumption: the WLTP figure is on the spec sheet, but real-world use is usually somewhat higher. If you know your current car’s real consumption, use it as a guide.
Plug-in hybrid: the share of electric kilometres drives its result. If you cannot charge often, lower it: an uncharged plug-in behaves like a heavier hybrid.
Price: enter the final price including taxes and minus any grants you will actually receive.
Insurance, maintenance and road tax: use real quotes. Many Spanish town councils discount road tax for electric and hybrid cars.
Energy prices default to Spain’s figures for today. If you live elsewhere, replace them with your local prices: the method works anywhere.
Method
Energy cost per year = km per year × consumption / 100 × energy price. Plug-in hybrids split kilometres between electric and combustion modes. Electricity price blends home and public charging according to your share.
Total cost = price × (1 − resale value) + (energy + maintenance + insurance + road tax) × years.
Limitations
No financing, inflation or future energy price changes: today’s prices are used for the whole period.
Home charger installation is not included; add it to the EV or plug-in price if you need one.
The car values shown on load are examples, not data for real models.
The plug-in label assumes at least 40 km of electric range (below that, Spain’s DGT gives it ECO).
Sources
Fuel prices: Spanish Ministry for the Ecological Transition, Geoportal de gasolineras (open data, updated daily).
Electricity price: Red Eléctrica de España, REData, regulated PVPC tariff.
Environmental labels: Spain’s Directorate-General for Traffic (DGT).