EV vs Petrol Running Cost Calculator
Compare what an EV and a petrol car cost in energy alone: 7 L/100km at US$1.00 per liter is $7.00 per 100 km, while 15 kWh/100km at US$0.17 per kWh is $2.55 — the EV saves $4.45 per 100 km, about 63.6%. Add your yearly kilometers to see the yearly petrol bill, charging bill and saving.
The liters your petrol car burns every 100 km. The cleanest figure comes from a full tank: reset the trip meter, then divide the liters of the next fill-up by the kilometers driven and multiply by 100. Roughly 6–9 for a family car, 8–12 for an SUV.
The pre-filled price is a placeholder of the right order of magnitude — not a live price, and not specific to a region or a fuel grade. Enter what your station charges for the grade you buy.
The kilowatt-hours your EV uses every 100 km, as shown on the car's energy display. Roughly 12–18 kWh/100km for a family EV, higher in cold weather or at motorway speeds.
Use your own all-in rate per kWh: for home charging, what a kWh costs once taxes and fixed charges are spread over your bill; for public charging, the session price divided by the kWh delivered, so the service fee is included. Fast charging normally costs more per kWh than charging at home.
Roughly how far you drive in a year — 10,000–20,000 km is a common range for a private car. Fill it in to estimate the yearly petrol bill, the yearly charging bill and the saving; leave it blank to compare per-100 km and per-km costs only.
Petrol cost per 100 km = consumption (L/100km) × price per liter; EV cost per 100 km = consumption (kWh/100km) × price per kWh. This tool compares energy costs only — it leaves out the purchase price gap, servicing, insurance, battery degradation and the rest of the cost of ownership.
How to use
- Enter the petrol car's consumption and pump price: Put your liters per 100 km into 'Petrol consumption per 100 km' and the price of one liter into 'Petrol price'. Replace the pre-filled price with what your station charges for the grade you actually buy.
- Enter the EV's consumption and your electricity price: 'EV consumption per 100 km' takes the kWh/100km figure from the car's energy display. 'Electricity price' takes your all-in rate per kWh — off the bill for home charging, or the amount a public session cost divided by the kWh it delivered.
- Read the verdict and the per-km rows: The headline says which side is cheaper on energy, and the grid gives 'Petrol cost per 100 km', 'EV cost per 100 km' and both per-km figures. Results refresh as you type; there is no calculate button.
- Add your yearly kilometers for the annual bill: Type your distance into 'Yearly distance (optional, estimates yearly cost)' and three more rows appear: 'Yearly petrol cost (estimate)', 'Yearly charging cost (estimate)' and 'Yearly saving (petrol − electricity)'. Leave it blank to compare per-100 km and per-km costs only.
How the EV vs petrol running cost is worked out
Petrol cost per 100 km = L/100km × price per liter EV cost per 100 km = kWh/100km × price per kWh Saving per 100 km = petrol cost − EV cost Saving % = saving per 100 km ÷ petrol cost per 100 km × 100
The EV vs petrol running cost comes down to two multiplications: liters per 100 km × price per liter on one side, kWh per 100 km × price per kWh on the other. On the numbers the form opens with — 7 L/100km at US$1.00 per liter against 15 kWh/100km at US$0.17 per kWh — the petrol car costs $7.00 per 100 km and the EV $2.55, so the page reports 'EV is cheaper to run (energy only)' with a saving of $4.45 per 100 km, about 63.6% less. Nothing is submitted: the figures refresh while you type.
Under the verdict the grid states the same comparison four ways — 'Petrol cost per 100 km' and 'EV cost per 100 km', then 'Petrol cost per km' and 'EV cost per km'. The per-km rows carry up to three decimals, which keeps small amounts readable: on the opening numbers they read $0.07/km and $0.026/km, and the EV figure would collapse to $0.03/km with two decimals.
'Yearly distance (optional, estimates yearly cost)' turns those per-100 km figures into a yearly bill. At 15,000 km a year and the same prices, 'Yearly petrol cost (estimate)' is $1,050.00, 'Yearly charging cost (estimate)' is $382.50 and 'Yearly saving (petrol − electricity)' is $667.50. Leave the box empty and those three rows stay out of the grid, which shows them once a yearly amount comes out above zero.
What your electricity price does to the answer
The per-kWh price is the input that decides how much cheaper the EV is — and whether it is cheaper at all. Hold the petrol side at 8.5 L/100km and US$1.20 per liter, which is $10.20 per 100 km, and an EV using 17 kWh/100km costs $2.89 at a US$0.17 home rate, $5.10 at $0.30 and $10.20 at $0.60. At that last price neither side wins and the headline becomes 'Energy costs are the same'.
Petrol can also come out ahead. A frugal 6 L/100km car at US$0.90 per liter costs $5.40 per 100 km, while 20 kWh/100km on a US$0.45 per kWh charger costs $9.00: the headline turns into 'Petrol car is cheaper to run (energy only)', the line below it says the petrol car saves $3.60 per 100 km with the EV about 66.7% more expensive, and at 15,000 km a year 'Yearly saving (petrol − electricity)' shows -$540.00.
There is one 'Electricity price' box, so comparing home charging with public fast charging means running the page twice: enter your overnight rate, note the EV cost per 100 km, then type the per-kWh price from a fast-charging receipt and read it again. A two-tariff household works the same way — peak and off-peak are two separate runs, because the calculator takes a single rate rather than a tariff schedule.
| Electricity price | Petrol per 100 km | EV per 100 km | Verdict |
|---|---|---|---|
| US$0.17/kWh | $10.20 | $2.89 | EV saves $7.31 per 100 km, about 71.7% less |
| US$0.30/kWh | $10.20 | $5.10 | EV saves $5.10 per 100 km, about 50% less |
| US$0.60/kWh | $10.20 | $10.20 | Energy costs are the same |
Same pair of cars throughout: 8.5 L/100km at US$1.20 per liter against 17 kWh/100km. Only the per-kWh price changes.
Which numbers to put in
Measured figures beat brochure figures. For the petrol side, fill the tank, reset the trip meter, and at the next fill-up divide the liters that went in by the kilometers covered and multiply by 100. The EV figure is on the car's energy display, usually as kWh/100km averaged over recent driving; a winter average runs higher than a summer one, so compare like with like or run both.
Prices are the part that is easy to get wrong. 'Petrol price' wants the price of one liter of the grade you buy, from a recent receipt. 'Electricity price' wants your all-in rate per kWh — what a kWh costs you once taxes, network charges and fixed fees are spread over your consumption, which is higher than the headline rate on a tariff page. For public charging, divide what the session cost by the kWh delivered so the service fee is inside the number.
The pre-filled prices are placeholders of roughly the right order of magnitude, as the hint under each box says. They are not a price feed, they do not follow your country or your fuel grade, and the page will not tell you that a figure looks far off local market prices — the only check on what you type is the range limit below.
Work out your real L/100km with Fuel Consumption Calculator first, then bring the figure back here.
Units, limits and error messages
This calculator is metric and has no unit switch: liters per 100 km with a price per liter on the petrol side, kWh per 100 km with a price per kWh on the electric side, and kilometers for the year. US and UK figures need converting before you type them — divide 235.2 by US mpg (or 282.5 by imperial mpg) to get L/100km, one US gallon is 3.785 liters, one imperial gallon is 4.546 liters, and a mile is 1.609 km.
The four consumption and price boxes each want a plain decimal above zero. A blank box, 0, a minus sign, '1e3' or '0x10' replaces the whole result area with one line of error text, such as 'Petrol price: enter a number above 0.' — and only the first problem is named, checked in the order petrol consumption, petrol price, EV consumption, electricity price, yearly distance. Both '.' and ',' are accepted as the decimal mark, and '21.000' or '21,000' is read as twenty-one thousand.
The ranges are wide but finite: up to 1,000 for either consumption figure, up to 10,000,000 for either price (high enough that pages priced in VND or IDR still work) and up to 1,000,000 km a year. Type past one of those and a range message takes the place of the numbers. 'Yearly distance (optional, estimates yearly cost)' is the one box you can leave empty — the other four are required.
What this comparison leaves out
This is an energy-cost comparison, not a total cost of ownership. There is no input for the price gap between the two cars, servicing, insurance, tires, a battery replacement, a home charger installation, road tax or purchase incentives, and no output for a payback period or a break-even distance — the note under the results says the same thing in one line.
It also will not look your consumption up for you. There is no vehicle database, so comparing two models means measuring or looking up both figures yourself. A plug-in hybrid does not fit the form either: it takes one petrol figure and one electricity figure, with nowhere to say what share of your driving is electric. Tailpipe CO2 is out of scope, as is the fuel or electricity used on a single trip.
Nothing is kept. The five numbers live in the page while it is open — no account, no upload, no cookie, no values in the address bar — so a refresh brings back the placeholder prices, and there is no copy, export or share button for the result. The same page in another language is a different page, opening with the placeholder prices for that currency.
For the fuel bill of one specific journey, Fuel Cost Calculator prices a trip from its distance.
How this tool is checked
- The logic behind this tool is covered by 9 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Is an electric car really cheaper to run than a petrol car?
- An EV is cheaper on energy when its kWh/100 km × electricity price is lower than the petrol car's L/100 km × fuel price. At 7 L/100km and US$1.00 per liter against 15 kWh/100km at US$0.17 per kWh, the EV costs $2.55 per 100 km versus $7.00 — 63.6% less. At US$0.60 per kWh, the EV costs $9.00 per 100 km versus $7.00 for petrol, so the petrol car saves $2.00 per 100 km.
- How is the cost per km worked out for each car?
- Each cost per 100 km is divided by 100 and shown to three decimals. Three decimals preserve small per-km amounts: the example EV cost is $0.026/km, which would display as $0.03 with two decimals. The petrol car on the same opening figures reads $0.07/km.
- Does this include the purchase price, servicing and insurance?
- No — it prices energy only. There is no box for the price difference between the two cars, servicing, insurance, tires, battery replacement, charger installation, road tax or incentives, and no payback-period or break-even row in the results.
- Can I enter mpg or a price per gallon?
- No, convert to metric first: the boxes take L/100km and a price per liter. Divide 235.2 by US mpg (282.5 by imperial mpg) for L/100km; one US gallon is 3.785 liters and one imperial gallon is 4.546 liters, so divide a per-gallon price by that figure.
- How do I compare home charging with public fast charging?
- Run the comparison twice, because there is a single 'Electricity price' box. Enter your home rate per kWh and note the EV cost per 100 km, then replace it with the per-kWh price from a fast-charging session, fees included, and compare the two results.
- Why do I get an error message instead of results?
- One box holds something the calculator cannot use. The four consumption and price boxes need a plain decimal above zero — blanks, 0, minus signs and '1e3' are rejected — and only the first failing box is named. Very large values hit the limits: 1,000 per 100 km for consumption, 10,000,000 for a price, 1,000,000 km a year.
- What happens if petrol works out cheaper than charging?
- The headline flips to the petrol car and the saving is reported from its side. With 6 L/100km at US$0.90 per liter ($5.40 per 100 km) against 20 kWh/100km at US$0.45 per kWh ($9.00), the petrol car saves $3.60 per 100 km and the EV costs about 66.7% more; at 15,000 km a year the yearly saving row reads -$540.00.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). EV vs Petrol Running Cost Calculator [Online tool]. Retrieved November 24, 2026, from https://gingertool.com/en/auto/ev-vs-petrol-running-cost-calculator/
“EV vs Petrol Running Cost Calculator.” Gingertool, November 24, 2026, https://gingertool.com/en/auto/ev-vs-petrol-running-cost-calculator/. Accessed November 24, 2026.
@misc{gingertool-fuel-vs-electric,
author = {{Gingertool}},
title = {EV vs Petrol Running Cost Calculator},
year = {2026},
url = {https://gingertool.com/en/auto/ev-vs-petrol-running-cost-calculator/},
note = {Accessed: 2026-11-24}
}