Skip to content

EV vs Petrol Cost Calculator

See how much an electric car saves over a petrol or diesel car: cost per km, a year’s fuel against a year’s charging, CO2, and when the higher price pays back.

More options
Petrol or diesel car
$
Fuel

Only changes the CO2 estimate.

Electric car

Most small and mid-size electric cars use about 14–20 kWh per 100 km in real driving. Your car’s trip screen shows it.

$ / kWh

From your electricity bill. A cheap night rate counts if you charge at night.

$ / kWh

Rapid and fast chargers usually cost more than home.

%

The rest is at public chargers. 100% if you only charge at home.

%

Some energy is lost as heat while charging, often 10–15% on a home socket. Use 0 if your figure is measured from the plug (like US EPA label figures).

ResultUpdates as you type—Electric saves a year—Fuel a year—Charging a year—Fuel per km—Electric per km—Saved a month—Petrol CO2 a year—Electric CO2 a year (grid)—Break-even home kWh price
CO2 from electricity
kg / kWh

A rough, typical figure. It depends on how your country makes electricity: grids with lots of hydro, nuclear, wind or solar can be under 0.1, coal-heavy grids 0.7 or more. Your energy supplier or national grid publishes yours. With home solar, use close to 0.

Time spent charging (optional)
kW

A wall box is often 7 kW; a normal socket about 2–3 kW.

kW
L
min
—Plugged in at home a year
—At public chargers a year
—Petrol fill-ups a year
—At the pump a year

Total cost of owning each car
years
Petrol or diesel car
$
$
$
$
% of price
%
Electric car
$
$
$
$
% of price
%
$

Whatever your country or state offers. Taken off the price.

$

0 if you’ll use a normal socket or public chargers.

$
year

Most batteries outlast the warranty (often 8 years). Leave empty unless you expect one.

How you pay
Total costOver 8 years—Electric car comes out ahead after—Petrol car, total cost—Electric car, total cost—Electric saves overall—Price gap paid back in—Petrol, all-in per km—Electric, all-in per kmPetrol or diesel carElectric carNet cost so far if you sold that year

How your EV vs petrol cost is worked out

Cost per km for each car, times how far you drive in a year.

  1. 1

    Fuel per km

    7 L/100 km ÷ 100× $1.00/L= $0.070/km

  2. 2

    Electricity per km

    17 kWh/100 km ÷ 100× $0.17 ÷ 90%(charging losses)= $0.032/km

  3. 3

    Over a year

    15,000 km a yearFuel $1,050.00Electric $481.67= 2.2× cheaper

  4. 4

    Electric saves

    $1,050.00 − $481.67÷ 12 = $47.36/month= $568.33 a year

Read more: the formula, worked example, charging mix, CO2, break-even and total cost

An electric car costs less to run when a kWh of electricity takes it further for less money than a litre of fuel does. The fair way to compare is cost per km (or per mile) for each car, then multiply by how far you drive. At home you pay for the energy lost while charging too. Public chargers usually bill the energy they put into the car, but often at two or three times the home price. Over the years you keep a car, its price, servicing, insurance, tax and what it is worth when you sell matter as much as fuel, so Advanced mode adds them all up.

The formula

km a year = distance × times a year (a day: 365 × days a week ÷ 7)
petrol cost per km = litres per 100 km ÷ 100 × price per litre
price per kWh paid = home share × home price ÷ (1 − losses) + public share × public price
electric cost per km = kWh per 100 km ÷ 100 × price per kWh paid
cost a year = cost per km × km a year
saving a year = petrol cost a year − electric cost a year
petrol CO2 = litres × 2.31 kg (diesel 2.68 kg)
electric CO2 = kWh into the battery ÷ (1 − losses) × grid kg per kWh
net cost after N years = price − incentive + charger + yearly costs + interest − what it’s worth then
worth after t years = price × (resale % ÷ 100)^(t ÷ N)
simple payback = extra upfront cost ÷ (yearly costs of petrol car − yearly costs of electric car)

Worked example

With the starting inputs (shown in US dollars; they follow your currency) you drive 15,000 km a year. The petrol car uses 7 L/100 km and fuel costs $1.00 a litre, so it burns 15,000 × 7 ÷ 100 = 1,050 litres and costs 0.07 × 1.00 = $0.070 a km, or $1,050.00 a year.

The electric car uses 17 kWh/100 km, so 15,000 × 17 ÷ 100 = 2,550 kWh goes into the battery. Simple mode assumes you charge at home at $0.17 a kWh and lose 10% while charging, so you pay for 2,550 ÷ 0.9 = 2,833.33 kWh: 2,833.33 × 0.17 = $481.67 a year, or 0.17 × 0.17 ÷ 0.9 = $0.032 a km. The electric car saves 1,050.00 − 481.67 = $568.33 a year ($47.36 a month), and is 1,050 ÷ 481.67 = 2.2 times cheaper to run.

In Advanced mode the starting mix is 80% at home and 20% at a public charger at $0.45. You then pay 0.8 × 0.17 ÷ 0.9 + 0.2 × 0.45 = 0.15111 + 0.09 = $0.24111 for each kWh in the battery, so a year costs 2,550 × 0.24111 = $614.83 and the saving is $435.17. Home electricity would have to reach about $0.36 a kWh before the two cars cost the same to run.

CO2

Burning a litre of petrol gives off about 2.31 kg of CO2 (diesel about 2.68 kg), so 1,050 litres is 1,050 × 2.31 = 2,425.5 kg, about 2.4 tonnes a year. The electric car draws 2,550 ÷ 0.9 = 2,833.33 kWh from the grid; at a rough world-average 0.45 kg per kWh that is 2,833.33 × 0.45 = 1,275 kg. Change the grid figure to match your country: a low-carbon grid makes the electric car far cleaner, a coal-heavy grid narrows the gap. These are tailpipe and power-station figures only; making the car and its battery adds more, which is not counted here.

Total cost and break-even

Starting values, kept for 8 years, paid in cash: the petrol car costs $25,000 and $900 servicing + $1,500 insurance a year, so with fuel its yearly costs are 1,050 + 2,400 = $3,450. The electric car costs $30,000 plus an $800 home charger, and 614.83 + 450 + 1,700 = $2,764.83 a year. It costs 30,800 − 25,000 = $5,800 more up front and saves 3,450 − 2,764.83 = $685.17 a year, so the price gap is paid back in 5,800 ÷ 685.17 = 8.5 years.

Resale changes the picture. After 8 years the petrol car is worth 40% of its price ($10,000) and the electric car 35% ($10,500). The petrol car’s total cost is 25,000 + 8 × 3,450 − 10,000 = $42,600; the electric car’s is 30,800 + 8 × 2,764.83 − 10,500 = $42,418.67, so it saves $181.33 overall. Counting what each car is worth year by year (losing the same share of its value each year), the electric car’s net cost drops below the petrol car’s after about 7.6 years, the break-even point.

With a loan, both cars use the same down payment, rate and term. At 20% down, 7% and 5 years, the petrol car’s loan costs $3,761.44 in interest and the electric car’s $4,513.73, because it borrows more.

Things that change the answer

  • Where you charge. Home charging, especially on a night rate, gives the biggest saving. Mostly public rapid charging can cost as much as petrol.
  • Incentives. Grants, tax credits, lower road tax or free parking differ by country and change often, so none are built in. Type in what applies to you.
  • Insurance and resale. Electric cars can cost more to insure and may lose value faster or slower depending on the model and market. Use quotes and local used-car prices if you can.
  • Servicing. Electric cars have no oil, spark plugs or exhaust, and brakes wear less, so servicing is usually cheaper. Tyres can wear a little faster because the cars are heavier.
  • Battery. Most makers give a battery warranty of around 8 years. A replacement out of warranty is expensive but uncommon; add one if you plan to keep the car a long time.

Related calculators

Work out your real fuel economy with the fuel economy calculator, the cost of one trip with the fuel cost calculator, what charging adds to your power bill with the electricity cost calculator, and monthly payments with the car loan calculator.

Unit conversions are exact (1 mile = 1.609344 km, 1 US gallon = 3.785411784 L, 1 UK gallon = 4.54609 L; MPGe uses the US EPA’s 33.7 kWh per gallon). Starting prices, car prices and yearly costs are examples to show how it works, not real prices for any car or country. CO2 figures are typical estimates. Checked 10 October 2026.

Common questions

Is an electric car cheaper to run than a petrol car?

Usually, yes, when you charge mostly at home. Driving 15,000 km a year, a petrol car using 7 L/100 km at $1.00 a litre burns $1,050 of fuel. An electric car using 17 kWh/100 km at $0.17 a kWh, with 10% charging losses, costs about $482. That is $568 a year less, or about $0.032 a km against $0.070.

How do I work out an EV’s running cost per km?

Divide the car’s kWh per 100 km by 100 and multiply by what you pay for a kWh. At home, add the energy lost while charging by dividing by the share that reaches the battery. So 17 kWh/100 km at $0.17 a kWh with 10% losses is 0.17 × 0.17 ÷ 0.9 = $0.032 a km. For miles, multiply the per-km cost by 1.609.

Does public fast charging make an EV more expensive?

It can. Public rapid chargers often cost two or three times home electricity. With 80% of charging at home at $0.17 a kWh and 20% at a public charger at $0.45, the example car’s yearly charging bill goes up from about $482 to $615. It is still cheaper than $1,050 of petrol, but the saving shrinks. If you charge only in public, compare carefully.

How long does it take for an EV to pay back its higher price?

Divide the extra price by what you save each year. In our example, the electric car costs $5,800 more including a home charger, and saves about $685 a year on fuel, maintenance and insurance together, so the price gap is paid back in about 8.5 years. Counting resale values, the electric car comes out ahead after about 7.6 years.

Are electric cars really better for CO2?

Most of the time. Burning a litre of petrol gives off about 2.31 kg of CO2, so 1,050 litres a year is about 2.4 tonnes. An electric car’s CO2 depends on how your electricity is made. At a rough world average of 0.45 kg per kWh, 2,833 kWh is about 1.3 tonnes. Clean grids give much less, and coal-heavy grids give more.

Related calculators

Fuel economy calculatorMPG, L/100 km and km/L from a fill-up or converted both ways, with cost per km, CO2, two-car payback, fill-up log and EV MPGe.Fuel cost calculatorRoad trip and commute fuel cost in any units, split between passengers, with tolls, fuel stops, CO2 and petrol vs electric.Electricity cost calculatorWhat an appliance costs to run per hour, day, month and year: watts or amps, standby, thermostat on-time, several appliances, peak and off-peak prices, CO₂ and payback on a new one.Car loan calculatorMonthly car payment with trade-in, tax, fees, rebates, balloon, extra payments and lease vs buy.

Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.

Embed this calculator on your site

Free to use on your website or blog. Paste this code where you want the calculator to appear. Please keep the credit link.

EV vs petrol cost calculator by Zulu Calculator ↗