Everyday

Electric vs Gas Car Cost Calculator

Compare the purchase, energy and maintenance costs of an electric car and a gasoline car over a chosen ownership period.

How the calculation works

Annual energy use equals annual distance divided by 100 times consumption; battery-side electricity is divided by charging efficiency. Add the entered annual maintenance to energy costs. Multiply each annual running cost by years and add the corresponding purchase price. Divide a positive purchase premium by positive annual savings for simple payback.

Worked example

Example inputs — Distance driven per year (km): 15000; Electricity consumption (kWh per 100 km): 18; Electricity consumption measured at: battery; Charging efficiency (%): 90; Electricity price per kWh: 0.25; Gasoline consumption (litres per 100 km): 7; Gasoline price per litre: 1.7; Electric car maintenance per year: 300; Gasoline car maintenance per year: 600; Electric car purchase price after incentives: 40000; Gasoline car purchase price after incentives: 30000; Ownership period (years): 5. Expected results — Electricity purchased per year: 3000 kWh; Gasoline purchased per year: 1050 litres; Electric car energy and maintenance per year: 1050 your currency/year; Gasoline car fuel and maintenance per year: 2385 your currency/year; Annual running-cost savings with electric car: 1335 your currency/year; Additional electric car purchase price: 10000 your currency; Simple payback of extra purchase cost: 7.490636704 years; Electric car purchase plus running costs: 45250 your currency; Gasoline car purchase plus running costs: 41925 your currency; Electric minus gasoline cost over period: 3325 your currency.

Assumptions and limits

Enter comparable purchase prices after any incentives and estimates appropriate for your driving. Select outlet measurement if the consumption figure already includes charging losses; US EPA electric vehicle fuel-economy figures are measured at the charging source. Electricity prices can differ between home and public charging; enter an average if needed. Simple payback assumes unchanged annual running costs and does not account for financing, insurance, resale value, depreciation, taxes, charger installation, changing prices or the time value of money. If the electric car has no extra upfront cost, a later running-cost disadvantage can still make it more expensive over the chosen period.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.