EV cost per mile calculator

Enter your electric car's consumption and electricity price, a petrol car's fuel economy and fuel price, and how far you drive in a year. The calculator shows the cost per kilometre or mile for each, the cost per year and the saving. Use your own prices: they vary widely between home and public charging.

Units
kWh/100 mi
/kWh
mpg
/gal
mi/year
Electric car, cost per mile0.042
Saving per year with the electric car896.00
Petrol car, cost per mile
0.117
Electric car, cost per year
504.00
Petrol car, cost per year
1,400.00

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Pick metric or US units.
  2. Enter the electric car’s consumption and your price per kWh.
  3. Enter the petrol car’s fuel economy and fuel price.
  4. Enter your yearly distance and read the cost per distance and per year.

How it works

  • Electric cost per distance = kWh per 100 units × price ÷ 100.
  • Petrol cost per distance = L/100 km × price per litre ÷ 100, or price per gallon ÷ mpg.
  • Per year = cost per distance × yearly distance; saving = petrol − electric.

Worked example

An electric car using 17 kWh/100 km at 0.15 per kWh costs 17 × 0.15 ÷ 100 = 0.0255 per km. A petrol car using 7.5 L/100 km at 1.80 per litre costs 0.135 per km. Over 15,000 km that is 382.50 against 2,025.00, a saving of 1,642.50 a year.

Tips

  • Compare at your real prices. Public fast charging can cost close to petrol per distance.
  • Winter raises consumption for both cars, but more for electric cars in the cold.

Frequently asked questions

How is the cost per mile or kilometre calculated?

For the electric car it is consumption per 100 km (or 100 miles) × price per kWh ÷ 100. For the petrol car it is litres per 100 km × price per litre ÷ 100, or price per gallon ÷ miles per gallon.

Which electricity price should I use?

The price you actually pay per kWh. Charging at home on a standard tariff, an off-peak tariff or at a fast public charger can differ by several times, so run the tool once for each.

Does this include the price of the car, insurance or servicing?

No. It compares energy and fuel only. For a full comparison with depreciation, insurance and maintenance, use a car ownership cost calculator.

Are the gallons US or imperial?

US gallons and US miles per gallon. A negative saving means the petrol car is cheaper to run with the prices you entered.

More in Cars

All tools in this category: Cars ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.