Home / Articles / Home and car
Article · 2026-11-18
Electric car or gas car: which costs less over 8 years
An electric car usually costs more to buy and less to run, and what decides it is the total cost over the time you keep the car. This article shows how to compare: energy, maintenance, insurance, tax, depreciation and the cost of money, and how yearly distance and the price of energy can flip the conclusion.
We follow a fictitious case, Maya’s, in four scenarios. Each chart is explained in three steps (what it shows, how to read it, what decision to make) and the calculation box redoes the math for the chosen scenario. It is an educational estimate, with made-up numbers you swap in the calculator.
Educational simulation. Not investment advice. Results are estimates based on the data you enter and do not replace advice from a qualified professional.
The case: Maya has to pick her next car
Maya is buying a car and has two options: an electric car (EV) at US$ 36,000 or a gas car at US$ 28,000. She plans to keep it for 8 years. The numbers below are made up, in an editable currency, so you can redo the math with yours.
The EV uses 15 kWh per 100 km; the gas car does 11 km per liter, with fuel at US$ 1.26 a liter. Home electricity costs US$ 0.19 per kWh and public fast charging US$ 0.44. Maintenance is US$ 240 a year for the EV and US$ 560 for the gas car; insurance is US$ 1,300 and US$ 1,000. The yearly vehicle tax or registration fee is assumed at 4% of the car’s value on both (a made-up rate, because each place sets its own). The EV loses 13% of its value a year and the gas car 11%. Maya’s money would earn 5% a year after inflation if it stayed invested (an assumption, not a forecast).
Two things matter more than the rest: how many km she drives a year and what she pays for energy, which depends on where she charges. Pick a scenario below; the charts and the calculation box update.
How to think about it: total cost, not sticker price
The price tag is only the start. What you need to compare is the total cost over the time you will keep the car: energy or fuel, maintenance, insurance, yearly vehicle tax, depreciation and the opportunity cost of the money (what it would earn if it were not in the car). An EV usually costs more to buy and less to run. The question is whether the running savings pay back the price gap before you sell the car.
Energy is the item that depends on you. It equals km per year × efficiency × price. The average price per kWh blends where you charge: someone who charges almost always at home pays the residential rate; someone who relies on fast chargers pays much more. That is why two drivers with the same car can reach opposite conclusions.
Depreciation is usually the biggest item and the least certain: nobody knows what a car will be worth in 8 years. Look at listings of the same model, older, and also test a higher depreciation for the EV. Two values depend on where you live and are not built in here: the yearly vehicle tax, and any incentives or fees specific to EVs. Type the ones that apply to you.
Where the money goes over 8 years
Where the money goes over 8 years
Each car’s total cost over 8 years, split by item. Depreciation and opportunity cost show up on no bill, but they count.
Chart generated with SimulaCalc. Make your own in the calculator: Electric vs. gas car: which costs less?.
What the chart shows. Two stacked bars with each car’s total cost over 8 years, split into six items. The number at the end of each bar is the total.
How to read it. Compare the overall size of the two bars first, then the makeup. The EV’s energy is much smaller than the fuel, and so is its maintenance. On the other hand, the EV’s depreciation and opportunity cost are larger, because the car is worth more at the start. The savings from driving compete with the cost of owning a pricier car.
What decision to make. Look at which items grow with use (energy and fuel) and which exist even with the car parked (depreciation, opportunity cost, insurance, tax). The more you drive, the more the first group weighs and the more the EV is favored.
The calculation step by step
The calculation step by step, with the numbers of the chosen scenario
It is the script the electric car calculator follows.
The box redoes what the electric car calculator does. Each year, depreciation is the fall in value over that year, and tax and opportunity cost apply to the value at the start of the year. The sum of the 8 years is the total cost.
Notice that simple payback (price gap ÷ yearly savings) and the break-even in total cost are different things. The first ignores depreciation; the second includes it and is usually more realistic.
Cumulative cost: when the EV catches up with the gas car
Cumulative cost year by year
Sum of each car’s cost up to each year, in the chosen scenario. Where the lines cross, the EV starts to cost less overall.
Chart generated with SimulaCalc. Make your own in the calculator: Electric vs. gas car: which costs less?.
What the chart shows. The sum of each car’s cost up to each year of ownership. If the lines cross, the dashed line marks the break-even year.
How to read it. The EV starts higher: the first year carries the depreciation of a pricier car. Afterwards its line rises more slowly, because running it costs less. The crossing is the year when the accumulated savings covered the extra cost. If the lines do not cross, the gas car wins over the chosen horizon.
What decision to make. Compare the crossing year with how long you really tend to keep a car. A break-even in year 7 does little for someone who changes cars every 4 years.
How many km a year the EV needs to pay off
EV savings by km driven per year
Gas car cost minus EV cost over 8 years, at other yearly distances. Above zero the EV costs less; the dot marks the break-even.
Chart generated with SimulaCalc. Make your own in the calculator: Electric vs. gas car: which costs less?.
What the chart shows. The total cost difference (gas car minus EV) over 8 years for distances from 0 to 45,000 km a year, using the scenario’s energy prices. Above zero, the EV costs less.
How to read it. The line is straight: each extra km saves the same amount, the gap between the cost of a km on fuel and a km on electricity. At 0 km the EV carries the penalty of its price and depreciation. The point where the line crosses zero is the break-even. In the base case it sits near 15,800 km a year.
What decision to make. Compare your real distance with that point. Someone who drives little rarely recovers the price gap; someone who drives a lot almost always does. If your distance is close to the point, the rest (comfort, garage, long trips) decides.
What if energy costs more: the average price per kWh
EV savings by average price per kWh
The same difference at other average energy prices for the EV, with the scenario’s km. The dot marks the price where the two cars tie.
Chart generated with SimulaCalc. Make your own in the calculator: Electric vs. gas car: which costs less?.
What the chart shows. The same cost difference, now for other average prices per kWh, keeping the scenario’s km.
How to read it. The line falls as the kWh gets pricier. Where it crosses zero is the price at which the two cars tie; in the base case, about US$ 0.35 per kWh, against the US$ 0.24 Maya pays. The average price changes a lot with the share of charging done away from home, and fuel prices also go up and down: test both sides.
What decision to make. Find out what you would really pay per kWh in daily life, including public chargers if you need them, and compare it with the tie point. Without a home charger, the conclusion can flip.
What changes in each scenario
- 8,000 km a year. EV: US$ 55,551; gas car: US$ 50,679. The gas car costs US$ 4,872 less: with light use, the energy savings do not pay for the EV (break-even near 15,800 km a year).
- 20,000 km a year (base case). EV: US$ 59,007; gas car: US$ 61,676. The EV saves US$ 2,668.
- 35,000 km a year. EV: US$ 63,327; gas car: US$ 75,421. The EV saves US$ 12,094, because each extra km costs far less.
- 20,000 km with no home charger. Average price of US$ 0.58 per kWh. EV: US$ 67,263; gas car: US$ 61,676. The gas car costs US$ 5,588 less: the same distance as the base case turns into a loss because of the energy price alone.
The conclusion changes with the km and with the energy price, not with the car: the same choice is good or bad depending on use and on how you charge.
Common mistakes in this comparison
- Comparing only the purchase price. An EV usually costs more to buy and less to run; without adding everything up, you do not know who wins.
- Using the home price per kWh for everything. If part of the charging is at fast chargers, the average price goes up.
- Forgetting depreciation. It is the biggest item and has no bill. Use a resale value you really believe in.
- Ignoring the opportunity cost. Money in the car does not earn anything. If you prefer not to count it, enter 0%, but the math then favors the pricier car.
- Using the distance on paper. Add what you really drive, trips included. Efficiency figures from a spec sheet tend to be optimistic.
- Assuming prices never change. Energy and fuel go up and down. Test different prices, as in the last chart.
Formulas and assumptions
Formulas used in the charts and in the calculation box (the same as the electric car calculator):
- EV energy per year = km ÷ 100 × kWh per 100 km × average price per kWh; gas car = km ÷ km per liter × price per liter
- Value at the end of year a = price × (1 − depreciation rate)^a; depreciation of the year = value at the start − value at the end
- Tax of the year = rate × value at the start of the year; opportunity cost of the year = return × value at the start of the year
- Total cost = sum over the years of energy, maintenance, insurance, tax, depreciation and opportunity cost
- Simple payback = price gap ÷ (gas car’s first-year running cost − the EV’s, without depreciation)
- Break-evens: the total cost difference is a straight line in km and in the average price per kWh; the point where it equals zero is solved directly
Assumptions and limits of the example:
- The data are fictitious and fixed; Maya does not exist. The dollar amounts in the English and Spanish versions are the Brazilian-real numbers multiplied by 0.2, and distances stay in km (1 mile ≈ 1.6 km).
- Energy, fuel, insurance and maintenance prices stay constant, with no inflation, and the return is real (above inflation).
- Tax applies to the car’s value in that year, a simplification; incentives, exemptions and fees for EVs depend on the country and are not included.
- Not included: the cost of installing a home charger, battery life, real resale prices and the value of your time. If you install a charger, add its cost to the EV’s price.
- It is an educational estimate, not a purchase recommendation.
Frequently asked questions
Is an electric car cheaper than a gas car?
It depends on the km per year and the energy price. In Maya’s case, at 20,000 km a year, the EV saves US$ 2,668 over 8 years; at 8,000 km, the gas car costs US$ 4,872 less. Replace the numbers with yours in the calculator.
From how many km a year does an EV pay off?
In Maya’s case, with electricity at US$ 0.24 per kWh on average, about 15,800 km a year. The point rises if energy costs more, if the EV costs more or loses more value, and falls if fuel is expensive.
How does charging away from home enter the math?
Work out the average price per kWh: home price × share charged at home + public price × share charged away. In Maya’s case, 20% away gives US$ 0.24 per kWh on average, against US$ 0.58 when 60% of the charging is at fast chargers.
Are simple payback and break-even the same thing?
No. Simple payback divides the price gap by the first-year running savings and ignores depreciation. Break-even uses the cumulative total cost, with depreciation and opportunity cost, and is usually more realistic. In the base case, simple payback is 6.3 years and break-even comes near year 5.2.
What about depreciation and battery life?
They are the biggest uncertainties. The article uses 13% a year for the EV and 11% for the gas car, made-up values. Look at listings of the same model, older, and test a higher depreciation for the EV; battery life is not part of the math.
Do taxes and incentives count?
The yearly tax counts as a percentage of the car’s value, but the 4% in the example is made up. Incentives, exemptions and fees specific to EVs depend on the country: type what applies to you.
Do the article and the calculator recommend buying an EV?
No. They are educational estimates using the values you type. The decision also involves a garage, long trips, comfort and your financial situation, which the math does not measure.
References
- Total cost of ownership (TCO) and opportunity cost of capital, standard concepts in engineering economics and personal finance.
- Energy use of your model: use the spec sheet or the real consumption read on the car’s display, and add about 10% to the catalog figure.
Continue in the calculators
When you have the numbers for your own cars, use the calculators below.
Next step
Take this page’s results to another calculator with the fields already filled in.