Skip to main content

EV vs Petrol Cost Calculator: Electric vs Gas Running Costs

Compare what an electric car and a petrol or gas car cost to fuel, per kilometre or mile and per year, using your own distance, energy prices and fuel economy.

Units

Miles, miles per kWh and US gallons (3.785 litres). Switching resets the figures to typical values for that system.

Electric car

Higher is more efficient.

Optional. Leave at 0 if you charge only at home.

Petrol / gas car

Higher is more efficient.

You save per year with the EV$697
Electric cost per mile$0.049
Petrol / gas cost per mile$0.107
Electric cost per year$583
Petrol / gas cost per year$1,280
Electric cost over 5 years$2,914
Petrol / gas cost over 5 years$6,400
5-year saving with the EV$3,486
Energy used per year3,429 kWh vs 400 US gallons

Energy only, at today's prices held flat. Purchase price, servicing, insurance and road tax are not included.

How to use the EV vs petrol calculator

Pick your units first. Metric uses kilometres, kWh per 100 km and litres per 100 km. US uses miles, miles per kWh and US miles per gallon. UK uses miles, miles per kWh and imperial miles per gallon.

Then enter how far you drive in a year, the electric car's efficiency, your electricity price, the petrol or gas car's fuel economy and the fuel price. The calculator shows the cost per km or mile for each car, the yearly fuel cost for each and your yearly saving. Prices appear in your local currency, and the share link saves your inputs.

Where to find the numbers

Your electricity price per kWh is on your energy bill. If you are on a tariff with a cheaper overnight rate and will charge at night, use that rate. Fuel prices are on the pump or a local price tracker.

For efficiency, use real-world figures rather than the best case. Official test ratings are a good start, but EVs use more energy in cold weather, at motorway speeds and with the heating on. Many owners find winter efficiency is well below summer, so test both.

Worked examples in three unit systems

The prices below are round assumptions for illustration. Replace them with your own.

  • Metric: 15,000 km a year. An EV using 17 kWh per 100 km at €0.30 per kWh costs €0.051 per km, or €765 a year. A petrol car using 6.5 L per 100 km at €1.75 per litre costs about €0.114 per km, or €1,706 a year. Saving: about €941.
  • US: 12,000 miles a year. An EV doing 3.5 miles per kWh at $0.17 per kWh costs about 4.9 cents a mile, or $583 a year. A 30 mpg car at $3.10 a gallon costs about 10.3 cents a mile, or $1,240. Saving: about $657.
  • UK: 8,000 miles a year. An EV doing 3.5 miles per kWh at 25p per kWh costs about 7.1p a mile, or £571. A 45 mpg car with petrol at £1.35 a litre costs about 13.6p a mile, or £1,091. Saving: about £520.

Home charging versus public charging

Where you charge decides most of the result. Home charging is usually the cheapest, especially on an overnight tariff. Public rapid chargers can cost two or three times as much per kWh.

Run the US example again at $0.48 per kWh, a price you may see at a fast charger. The EV now costs about 13.7 cents a mile, more than the 10.3 cents of the gas car. In the UK at 79p per kWh on a rapid charger, the EV costs about 22.6p a mile against 13.6p for petrol. If you cannot charge at home, enter a blended price that matches your real mix of home and public charging.

Also allow for charging losses. Some energy is lost between the wall and the battery, often around 10%, so the energy you pay for is a little more than the energy the car reports using.

US gallons, UK gallons and litres

A US gallon is 3.785 litres. An imperial gallon, used for UK mpg figures, is 4.546 litres. That makes a UK mpg figure look about 20% better than the same car's US figure: 40 UK mpg is only about 33.3 US mpg.

To turn mpg into litres per 100 km, divide 235.2 by a US mpg figure, or 282.5 by a UK mpg figure. So 40 UK mpg is about 7.1 L per 100 km. The calculator does this for you once you choose the unit system, so never mix a UK mpg rating with US prices per gallon.

What fuel costs leave out

This calculator compares energy costs only. A full comparison also includes the purchase price, financing, insurance, servicing, tyres, road tax or registration fees and resale value. EVs usually need less routine servicing, while their insurance and tyres can cost more.

Use the yearly saving to judge payback. If an EV costs $5,000 more up front and saves $657 a year on fuel, the fuel saving alone takes about seven and a half years to cover the gap.

Frequently asked questions

Is it cheaper to charge an EV than buy petrol?

Usually, if you charge at home. In the examples above, home charging costs about half as much per mile as petrol or gas. Public rapid charging can cost as much as fuel or more, so your charging mix decides the answer.

How do I calculate EV cost per mile?

Divide your electricity price per kWh by the car's miles per kWh. At $0.17 per kWh and 3.5 miles per kWh, that is about 4.9 cents a mile. In metric, multiply kWh per 100 km by the price and divide by 100.

How much does it cost to charge an electric car per year?

Multiply your yearly distance by the cost per mile or km. At 12,000 miles and 4.9 cents a mile, it is about $583. At 15,000 km and €0.051 per km, it is €765.

What is the difference between US mpg and UK mpg?

A UK (imperial) gallon is 4.546 litres and a US gallon is 3.785 litres. The same car scores about 20% higher in UK mpg, so 40 UK mpg equals about 33.3 US mpg.

How do I convert mpg to L/100 km?

Divide 235.2 by US mpg, or 282.5 by UK mpg. A 30 US mpg car uses about 7.8 L per 100 km, and a 45 UK mpg car about 6.3 L per 100 km.

Does cold weather change the result?

Yes. EVs use more energy in winter for heating and battery warming, so cost per mile rises. Enter a lower winter efficiency to see the effect on your yearly cost.

Is an electric car cheaper to run in India?

Usually, when charged at home. Assume 12,000 km a year, an EV using 15 kWh per 100 km at ₹8 per kWh, and a petrol car doing 15 km per litre at ₹103 per litre. The EV costs about ₹1.20 per km, or ₹14,400 a year, against about ₹6.87 per km, or ₹82,400, for petrol.

Read next

More tools

Loan / EMI Calculator

Work out your monthly loan payment (EMI), total interest and a full repayment schedule, and see what prepaying saves.

Compound Interest Calculator

See how a starting deposit plus regular monthly savings grows with compound interest, year by year.

SIP / Monthly Investment Calculator

Project what a regular monthly investment could grow to, with an optional yearly step-up.

Inflation Calculator

See what prices will cost in future and how much buying power your money loses each year.

Time Zone Converter

Convert a time across cities and compare a full day in several zones at a glance.

Currency Converter

Convert between nearly 30 world currencies at the mid-market rate, and see what a bank margin really costs.

GST Calculator

Add GST to a price or remove it from an inclusive one, with the CGST, SGST and IGST split.

Freelance Hourly Rate Calculator

Work back from the income you want to the hourly and day rate you need to charge, after tax, costs and unbilled time.

Invoice Generator

Create a professional invoice with your logo, tax and discount, and download it as a PDF.

Receipt Generator

Make a payment receipt with your logo, tax, payment method and reference, and download it as a PDF.

Quotation Generator

Create a professional quotation with a validity date, then turn it into an invoice in one click once it is accepted.

Income Tax Calculator

Compare your tax under the old and new regimes for FY 2026-27 and see which one saves you more.

HRA Calculator

Work out how much of your House Rent Allowance is tax-free under the old regime, and the tax it saves.

Rent Receipt Generator

Make a full year of monthly rent receipts for your HRA claim, with landlord PAN and amount in words, as one PDF.

Mortgage Calculator

Find your full monthly mortgage payment with property tax, insurance, mortgage insurance and HOA or service charges.

Credit Card Payoff Calculator

See how long it takes to clear a credit card balance and how much interest you pay, or the payment needed to be debt-free by a date.

VAT & Sales Tax Calculator

Add VAT, GST or sales tax to a price, or take it out of a tax-inclusive one, with rates for over 40 countries.

BMI Calculator

Work out your body mass index in metric or imperial units, see the WHO adult category and the healthy weight range for your height.

Percentage Calculator

Five quick percentage calculators: percent of a number, what percent one number is of another, percentage change, add or subtract a percent, and percentage difference.

Auto Loan Calculator

Work out a car loan payment with your down payment, trade-in, sales tax and fees included, plus total interest and a yearly schedule.

Calorie Calculator

Estimate the calories you burn each day and the intake that fits a goal to lose, keep or gain weight, in metric or imperial units.

Learn the concepts