EV Charging Cost vs Gas Calculator
Compare the running energy cost of an electric vehicle with a gasoline vehicle over the same distance. Use common EV and fuel-economy units, combine home and public charging rates, account for charging losses correctly, compare cost per kilometre or mile, project annual spending, find break-even energy prices, and optionally estimate a simple EV purchase-price payback.
Additional
Choose meter-side when the efficiency already includes electricity purchased from the wall.
Added when converting vehicle-side energy to electricity purchased.
EV price minus gasoline-vehicle price. Positive means the EV costs more upfront.
Positive means the EV costs less to maintain each year.
How to use the EV vs Gas Cost Calculator
Choose a currency, enter a comparison distance and add the distance you normally drive in a year.
Enter the EV's real-world efficiency and the electricity price you usually pay at home. Then enter the gasoline vehicle's fuel economy and pump price.
The main result compares the two vehicles over the same distance and shows the annual electricity-versus-gasoline cost difference when annual driving is available.
Open Additional when you need to model public charging, identify whether the EV efficiency already includes charging losses, or add optional purchase-price and maintenance differences.
Compare the same driving distance
A useful EV-versus-gas comparison starts by making both vehicles travel the same distance.
The calculator converts the selected EV efficiency into electricity required for that distance and converts the gasoline efficiency into litres required for the same distance.
It then applies the entered energy prices independently before comparing the two costs.
Results are also normalized to 100 kilometres or 100 miles, which makes differently sized trips easier to compare.
Use real-world efficiency when possible
Rated efficiency is useful for comparison, but your own consumption can be more representative when you already drive the vehicle.
Speed, weather, cabin heating or cooling, elevation, traffic, payload, tyre pressure and driving style can all change real energy or fuel consumption.
For an existing vehicle, a longer period of charging records, trip history or fuel receipts is generally more representative than one unusually efficient or inefficient journey.
When comparing two candidate vehicles, use figures measured under reasonably comparable conditions.
EV efficiency units supported
The calculator accepts both consumption-style and efficiency-style EV figures.
kWh/100 km, kWh/100 mi and Wh/km describe energy consumed for a fixed distance, so lower numbers are more efficient.
km/kWh and mi/kWh describe distance travelled for each kilowatt-hour, so higher numbers are more efficient.
Choose the unit used by your source rather than manually converting it first. This avoids unnecessary rounding.
| Measurement | Supported units | How to read it |
|---|---|---|
| EV energy consumption | kWh/100 km, kWh/100 mi, Wh/km | Lower values mean less electricity for the same distance |
| EV energy efficiency | km/kWh, mi/kWh | Higher values mean more distance from each kWh |
| Gasoline consumption | L/100 km | Lower values mean less fuel for the same distance |
| Gasoline fuel economy | km/L, mpg US, mpg Imperial | Higher values mean more distance from each unit of fuel |
Vehicle-side vs meter-side EV energy
The most important EV input distinction is where the efficiency measurement is taken.
Vehicle-side or battery-side consumption describes energy used by the vehicle. If that is your source, electricity lost while charging still has to be purchased and the calculator adds the entered charging loss.
Meter-side consumption already represents electricity drawn from the wall. In that case, the purchased electricity is known and the calculator does not increase it again.
Choosing the wrong boundary can double-count charging loss or omit it entirely.
| Efficiency source | Typical boundary | Calculator setting |
|---|---|---|
| Vehicle trip computer or battery-side energy record | Usually vehicle-side | Use Vehicle / battery energy when the figure excludes electricity lost during charging |
| Home charger, smart EVSE or utility meter | Meter-side | Use Meter / wall electricity because purchased electricity is already measured |
| EPA-label kWh/100 mi figure | Meter-side | Use Meter / wall electricity; EPA label consumption includes wall-to-vehicle charging losses |
| Unclear third-party efficiency figure | Check the source | Determine whether charging loss is already included before choosing a basis |
Using EPA kWh/100 mi figures
The U.S. EPA electric-vehicle label reports an electricity consumption rate in kilowatt-hours per 100 miles.
EPA documentation explains that the label value is based on electricity required from the outlet and includes wall-to-vehicle charging losses.
When you use that EPA-label kWh/100 mi figure in this calculator, choose Meter / wall electricity so charging loss is not added a second time.
This is different from a vehicle trip computer that reports only energy consumed after electricity has reached the vehicle.
What charging loss means
Charging an EV is not perfectly efficient. Some electricity drawn from the grid is lost before it becomes usable energy in the vehicle.
When the entered efficiency is vehicle-side, the calculator divides vehicle energy by the remaining charging efficiency to estimate electricity purchased from the meter.
For example, if the vehicle needs 18 kWh and charging loss is 10%, approximately 20 kWh must be purchased because 18 is 90% of 20.
When the efficiency is already meter-side, the entered kWh already describes purchased electricity. The loss setting is then used only to estimate the vehicle-side portion.
Home charging and public charging
Home and public charging can have very different electricity prices, so the calculator can blend them instead of forcing one universal rate.
Public charging percentage means the share of purchased charging energy obtained publicly, not the percentage of charging sessions.
For example, a person could make many short home-charging sessions and only a few public sessions while still buying a large share of annual electricity publicly.
The calculator multiplies each charging share by its corresponding price and combines the two into one energy-weighted electricity rate.
Use an effective public charging price
Public charging prices can involve more than a simple energy rate.
If a predictable subscription, session charge or other recurring fee materially changes what you pay per kWh, you can incorporate it into an effective public electricity price before entering it.
Do not spread highly irregular parking penalties, idle fees or unrelated costs across electricity unless doing so reflects the scenario you actually want to model.
How gasoline efficiency is handled
Gasoline efficiency can be entered as L/100 km, km/L, US mpg or Imperial mpg.
US and Imperial gallons are different sizes, so the calculator treats US mpg and Imperial mpg as separate units rather than assuming they are interchangeable.
Fuel price can likewise be entered per litre, per US gallon or per Imperial gallon.
Internally, the fuel requirement and price are normalized before calculating gasoline cost for the comparison distance.
What the main result tells you
The main result answers which vehicle costs less for electricity or gasoline under the assumptions entered.
When annual distance is present, the headline uses the annual energy-cost difference. Without annual distance, it falls back to the selected trip.
A positive savings result means the EV's electricity cost is lower. A reverse result means the gasoline vehicle costs less for energy.
The comparison bar shows the actual magnitude of EV and gasoline energy spending rather than treating one vehicle type as automatically cheaper.
| Result | Meaning |
|---|---|
| EV energy cost | Purchased charging electricity multiplied by the blended home/public electricity price |
| Gasoline cost | Fuel required for the same distance multiplied by the entered pump price |
| Energy-cost difference | Gasoline cost minus EV electricity cost; positive means the EV costs less |
| Cost per 100 km or 100 miles | Normalizes both vehicles to the same distance for an easier running-cost comparison |
| Break-even electricity price | Blended electricity price at which EV and gasoline energy cost are equal |
| Break-even gasoline price | Pump price at which gasoline and EV energy cost are equal |
| Simple purchase payback | Optional EV price premium divided by annual energy and maintenance savings |
Cost per kilometre, mile and 100 distance units
Cost per kilometre or mile is useful when you want to apply the result to a different driving distance.
Cost per 100 km or 100 miles provides a larger and often easier-to-read normalized comparison.
These values describe electricity and gasoline spending only. They do not include the full cost of owning the vehicle.
Annual EV and gasoline cost
Annual distance scales the normalized running cost to your expected yearly driving.
The annual projection reports electricity purchased by the EV, gasoline consumed by the comparison vehicle and the resulting energy or fuel spending.
Monthly values are the annual projection divided by 12. They are planning averages rather than a prediction that every month contains identical driving.
Changing annual distance changes total annual savings but does not change which vehicle has the lower energy cost per kilometre or mile when all other assumptions remain constant.
Break-even electricity price
Break-even electricity price answers how expensive the blended charging rate could become before the EV and gasoline vehicle have equal energy cost.
It equals gasoline cost over the comparison distance divided by the electricity the EV would purchase for that distance.
Below that rate, the EV costs less for energy under the entered efficiency and fuel-price assumptions. Above it, gasoline costs less.
The threshold changes whenever vehicle efficiency or gasoline price changes.
Break-even gasoline price
The gasoline break-even calculation works in the opposite direction.
It finds the pump price that would make gasoline spending equal to the EV's electricity spending for the same distance.
The result is returned using the gasoline-price unit selected in the calculator, whether that is per litre, US gallon or Imperial gallon.
Optional EV purchase-price payback
The Additional section can include an EV purchase-price difference. Enter EV price minus gasoline-vehicle price.
A positive value means the EV costs more upfront. A negative value means the EV is already cheaper at purchase under the entered comparison.
When the EV has a positive upfront premium and positive annual savings, simple payback divides that premium by annual energy savings plus the entered maintenance savings.
The calculator also converts that payback period into an estimated driving distance using the annual-distance assumption.
Maintenance difference is optional
Enter annual maintenance savings only when you have a reasonable vehicle-specific assumption.
A positive amount means the EV is expected to cost less to maintain each year; a negative amount means the gasoline vehicle is expected to have the maintenance advantage.
Leaving the field empty keeps the core comparison focused on electricity and gasoline.
The input is deliberately a single annual difference rather than a detailed repair forecast.
Simple payback is not total cost of ownership
The optional payback result is intentionally narrow.
It does not model depreciation, financing interest, insurance, taxes, registration, incentives, charger installation, battery degradation, tyres, repairs, resale value or the time value of money.
A vehicle that has the shorter simple payback is therefore not automatically the lower-cost vehicle over its entire ownership life.
Use a full vehicle-specific ownership analysis when those costs matter to the decision.
Why an EV can cost more to run
An EV is not guaranteed to have the lower energy cost in every scenario.
High public-charging prices, poor EV efficiency, substantial charging losses, inexpensive gasoline or an especially efficient gasoline vehicle can reverse the comparison.
That is why the calculator uses the prices and efficiencies entered instead of applying a fixed assumption that one drivetrain always wins.
Run more than one scenario
Energy prices and efficiency are not fixed forever, so one result should not be treated as certainty.
Try a home-heavy charging case, a mixed charging case and a public-heavy case if your future charging pattern is uncertain.
You can also test lower winter EV efficiency, a higher gasoline price, or different annual driving.
A range of realistic scenarios is often more useful than one optimistic point estimate.
What this calculator includes and excludes
The calculator is primarily a running-energy-cost comparison with an optional simple-payback layer.
It deliberately does not mix emissions, financing, depreciation and every ownership expense into the headline result.
Keeping those concepts separate makes it clear which assumptions actually produced the EV-versus-gas energy-cost difference.
| Included | Excluded unless represented separately |
|---|---|
| Electricity and gasoline for the same driving distance | Depreciation, financing, insurance, taxes, registration and resale value |
| Home/public charging mix | Charging-session frequency when it differs from the share of energy purchased |
| Charging loss when appropriate for the EV efficiency source | Battery degradation and changing charging efficiency over time |
| One optional EV purchase-price difference and annual maintenance difference | Incentives, charger installation, tyres, repairs and other ownership costs unless represented manually |
| One battery-electric vehicle and one gasoline vehicle | Plug-in hybrids, diesel, hydrogen, hybrids and multi-vehicle fleets |
EV and gasoline cost formulas
Both vehicles are converted to energy or fuel required for the same distance. Charging loss is added to purchased electricity only when the EV efficiency is vehicle-side.
- Charging efficiency as a decimal
- Entered charging-loss percentage
- Vehicle-side EV energy for the comparison distance
- Electricity purchased from the meter for the comparison distance
- Electricity lost between meter and vehicle
- Home electricity price per kWh
- Public electricity price per kWh
- Public charging share as a decimal
- Blended electricity price per kWh
- Home charging cost
- Public charging cost
- Total EV electricity cost
- Gasoline required for the comparison distance
- Gasoline price per litre after unit conversion
- Gasoline cost for the comparison distance
- Gasoline cost minus EV electricity cost
- Annual driving distance
- Annual energy-cost savings
- Entered annual EV maintenance savings
- Annual energy plus maintenance savings used for simple payback
- EV purchase price minus gasoline-vehicle purchase price
- Simple payback period in years
- Estimated driving distance at simple payback
Examples
Home-charged EV vs gasoline
100 km; EV 18 kWh/100 km vehicle-side; 10% charging loss; home electricity 0.15/kWh; no public charging; gasoline vehicle 8 L/100 km; gasoline 1.70/L.
The EV needs 18 kWh at the vehicle and purchases 20 kWh from the meter. Charging costs 3.00. Gasoline costs 13.60, so the EV saves 10.60 per 100 km.
All monetary inputs must use the same selected currency.
Annual energy-cost comparison
Use the same 100 km assumptions above and drive 15,000 km per year.
EV electricity is approximately 450 per year and gasoline is approximately 2,040 per year, producing annual energy-cost savings of about 1,590.
The annual projection assumes the same efficiency and prices across the year.
Mixed home and public charging
EV 18 kWh/100 km vehicle-side; 10% loss; home electricity 0.15/kWh; public electricity 0.45/kWh; 50% public charging energy.
The EV purchases 20 kWh per 100 km. The blended electricity price is 0.30/kWh and charging costs 6.00 per 100 km.
EPA-label efficiency without double-counting loss
An EPA label reports 30 kWh/100 mi.
Enter 30 kWh/100 mi and choose Meter / wall electricity.
EPA label electricity consumption is based on electricity from the outlet and includes wall-to-vehicle charging losses.
Using km per kWh
EV efficiency 6 km/kWh over a 120 km trip.
The vehicle-side energy requirement is 20 kWh before any charging loss is added when Vehicle / battery energy is selected.
Compare with US mpg
100 miles; EV 4 mi/kWh vehicle-side; charging loss 0%; electricity 0.16/kWh; gasoline vehicle 30 mpg US; gasoline 3.60/US gallon.
The EV uses 25 kWh and costs 4.00. The gasoline vehicle uses about 3.33 US gallons and costs about 12.00.
With charging loss above zero, purchased EV electricity would be higher than 25 kWh.
Find the electricity break-even point
Gasoline costs 13.60 per 100 km and the EV purchases 20 kWh for the same distance.
The break-even blended electricity price is 0.68/kWh.
Below 0.68/kWh the EV costs less for energy under those assumptions.
Estimate simple purchase payback
EV purchase price is 5,000 higher; annual energy savings are 1,500; annual maintenance savings are 300.
Annual total savings are 1,800 and simple payback is approximately 2.8 years.
This is not a full ownership-cost calculation.
Frequently Asked Questions
What does the EV vs Gas Cost Calculator compare?
It compares EV electricity spending with gasoline spending over the same driving distance, then optionally projects annual cost and simple purchase-price payback.
What EV efficiency units can I use?
You can enter kWh/100 km, kWh/100 mi, Wh/km, km/kWh or mi/kWh.
Can I use km per kWh?
Yes. Choose km/kWh. Higher km/kWh means the EV travels farther on each unit of electricity.
Can I use miles per kWh?
Yes. Choose mi/kWh.
What gasoline efficiency units are supported?
L/100 km, km/L, US mpg and Imperial mpg are supported.
Are US mpg and Imperial mpg the same?
No. US and Imperial gallons have different volumes, so the calculator treats the two mpg systems separately.
Should I use vehicle-side or meter-side EV efficiency?
Use Vehicle / battery energy when the figure excludes electricity lost while charging. Use Meter / wall electricity when the figure already represents electricity purchased from the outlet.
What should I choose for an EPA kWh/100 mi value?
Choose Meter / wall electricity. EPA label electricity-consumption figures are based on electricity required from the outlet and include wall-to-vehicle charging losses.
Does EPA MPGe include charging loss?
Yes. EPA explains that its MPGe values account for charging losses from the EVSE and onboard charger under the label test procedure.
Why doesn't the calculator accept MPGe directly?
MPGe is an energy-equivalent comparison metric rather than a direct electricity-price input. kWh-based consumption or efficiency is clearer for calculating actual charging cost and avoids ambiguity about charging-loss treatment.
What does charging loss mean?
It is electricity purchased from the grid that does not reach the vehicle as usable energy because charging is not perfectly efficient.
Does the calculator always add charging loss?
No. It adds charging loss to purchased electricity when the input is vehicle-side. When the input is already meter-side, purchased electricity is already known and is not increased again.
What does public charging percentage mean?
It is the percentage of purchased charging energy obtained publicly, not necessarily the percentage of charging sessions.
Can I compare home and public charging prices?
Yes. Enter the share of charging energy purchased publicly and the public price per kWh. The remainder is treated as home charging.
How is the blended electricity price calculated?
The home electricity price is multiplied by the home energy share and the public electricity price by the public share. Those two amounts are added.
Can I include a public charging subscription?
There is no separate subscription field. You can incorporate a predictable recurring charge into an effective per-kWh public price when that accurately represents your scenario.
What does EV cost per 100 km mean?
It is the charging electricity cost required for 100 kilometres under the entered efficiency, charging-loss and electricity-price assumptions.
Does annual distance affect cost per kilometre?
No. With all other inputs fixed, annual distance scales annual totals but does not change the normalized running cost.
What is the break-even electricity price?
It is the blended electricity price per kWh at which the EV and gasoline vehicle would have equal energy cost under the entered assumptions.
What is the break-even gasoline price?
It is the pump price at which gasoline spending would equal EV electricity spending for the same distance.
Can the gasoline vehicle be cheaper to run?
Yes. High electricity prices, heavy public charging, poor EV efficiency, substantial charging losses, low gasoline prices or an efficient gasoline vehicle can make gasoline cheaper for energy.
Does this calculate total cost of ownership?
No. The primary calculation compares electricity with gasoline. Optional purchase-price and maintenance inputs provide only a narrow simple-payback estimate.
What does EV purchase-price difference mean?
Enter the EV purchase price minus the comparable gasoline-vehicle purchase price. A positive number means the EV costs more upfront.
What does annual maintenance savings mean?
A positive value means the EV is assumed to cost that much less to maintain each year. A negative value gives the maintenance advantage to the gasoline vehicle.
How is EV payback calculated?
When the EV costs more upfront and annual savings are positive, the calculator divides the purchase-price premium by annual energy savings plus the entered annual maintenance savings.
Why does the calculator say no payback?
A positive EV purchase premium cannot be recovered under the simple model when annual total savings are zero or negative.
What does immediate payback mean?
It means the entered EV purchase-price difference is zero or negative, so there is no positive upfront premium for operating savings to recover.
Does this include charger installation?
No. Home charger equipment and installation are not included in the simple payback calculation.
Does it include tax credits or EV incentives?
There is no separate incentive model. If an incentive changes the actual purchase-price difference you want to compare, reflect that in the purchase-price input.
Does it include battery degradation?
No. The calculator assumes the entered efficiency remains constant over the projection.
Does it compare emissions?
No. Electricity and gasoline cost are the focus of this calculator. Emissions require a separate set of assumptions.
Can I use this for a plug-in hybrid?
Not accurately as one combined scenario. A plug-in hybrid requires modelling how much distance is driven on electricity and how much on gasoline.
Does changing currency convert the prices?
No. The currency selector changes the unit used to interpret and display monetary inputs. Enter all prices and optional cost differences in the same currency.
Can I export the comparison?
Yes. Open Cost breakdown to print the result or export the detailed calculation as CSV.
References
- U.S. Department of Energy AFDC — Charging Electric Vehicles at Home
- U.S. Department of Energy AFDC — Vehicle Cost Calculator Assumptions and Methodology
- U.S. Department of Energy AFDC — Electric Vehicle Benefits and Considerations
- U.S. EPA — Fuel Economy and EV Range Testing
- U.S. EPA — Text Version of the Electric Vehicle Label
- U.S. EPA — Interactive Electric Vehicle Label