EV Charging Cost vs Gas Calculator
Compare an electric vehicle with a gasoline vehicle over the same trip, per 100 kilometres or miles, and across a year. Convert common efficiency and fuel-price units, blend home and public charging, account for meter-versus-vehicle energy, find break-even prices, and optionally estimate simple purchase-price payback.
Driving and energy inputs
Compare the same distance using real-world efficiency and local prices
Electric vehicle
Gasoline vehicle
Currency selection changes formatting only. Enter all energy, purchase, and maintenance values in the same currency.
Annual energy-cost difference
The EV costs $1,590.00 less for energy under these assumptions.
- EV cost / 100 km
- $3.00
- Gas cost / 100 km
- $13.60
- Difference / 100 km
- $10.60
- Blended electricity
- $0.15 / kWh
EV costs less
Energy cost comparison
Cost per 100 km
Charging and ownership assumptions
Choose vehicle-side when the figure excludes charging loss. Choose meter-side when it already represents purchased electricity.
Converts vehicle-side energy into electricity purchased from the meter.
EV price minus gasoline-vehicle price. Positive means the EV costs more upfront.
Positive means the EV is expected to cost less to maintain each year.
Trip, annual, and break-even breakdown
Trip energy and fuel
Electricity purchased
Vehicle-side EV energy
Gasoline required
Energy prices
Blended electricity
Break-even electricity
Below this rate, EV energy costs less
Break-even gasoline
Above this price, EV energy costs less
Annual projection
EV energy
Gasoline
Energy-cost difference
This is primarily an energy-cost comparison. Financing, depreciation, insurance, taxes, charger installation, incentives, tyres, repairs, resale value, and charging time are excluded unless represented by the optional inputs.
How to Use the EV Versus Gas Cost Calculator
Enter one comparison distance and an annual distance using kilometres or miles.
Add real-world EV efficiency, home electricity price, and the share and price of public charging.
Add gasoline efficiency and a pump price using litres, US gallons, or Imperial gallons.
Open the charging and ownership assumptions to identify the EV efficiency boundary, apply charging loss correctly, and optionally enter purchase-price and maintenance differences.
Compare Both Vehicles Over the Same Distance
A fair cost comparison requires the EV and gasoline vehicle to cover the same distance.
The calculator converts every supported efficiency format to electricity or fuel required for that common distance.
Results are shown for the entered trip, per 100 kilometres or miles, and annually when annual distance is entered.
Use Representative Real-World Efficiency
Efficiency changes with speed, temperature, traffic, elevation, load, tyre pressure, heating, air conditioning, and driving style.
Use figures from comparable routes and conditions rather than combining an unusually efficient EV trip with an unusually inefficient gasoline result.
Charging records, vehicle history, fuel receipts, and reputable test data are generally stronger inputs than one exceptional journey.
Vehicle-Side Versus Meter-Side EV Energy
An EV display can report energy used by the vehicle, while a charger or utility meter reports electricity purchased from the grid.
Choose vehicle-side when charging loss still needs to be added. Choose meter-side when the efficiency figure already includes purchased electricity.
This distinction prevents charging loss from being counted twice.
Blend Home and Public Charging by Energy
Public charging share means the percentage of total charging energy bought publicly, not necessarily the percentage of sessions.
The calculator applies an energy-weighted price: home rate multiplied by the home share plus public rate multiplied by the public share.
Convert predictable subscriptions, session fees, parking charges, or idle fees into an effective per-kWh rate only when that produces a realistic long-run price.
Understanding the Cost Results
EV cost equals electricity purchased multiplied by the blended charging price.
Gasoline cost equals litres required multiplied by the pump price converted to a per-litre basis.
A positive energy-cost difference means the EV costs less; a negative value means the gasoline vehicle costs less.
What each cost result means
Swipe horizontally to view the full table.
How to Read Break-Even Prices
Break-even electricity price is the blended rate at which the EV and gasoline vehicle have equal energy cost.
Below that electricity price, the EV costs less under the selected efficiency and fuel-price assumptions.
Break-even gasoline price works in the opposite direction: above that pump price, the EV costs less.
Optional Purchase-Price Payback
Enter EV purchase price minus gasoline-vehicle price. A positive number means the EV costs more upfront.
The calculator divides that difference by annual energy savings plus the entered annual EV maintenance savings.
This is a narrow simple-payback estimate, not total cost of ownership.
Run Several Scenarios
Compare home-heavy, mixed, and public-heavy charging cases.
Test warmer and colder efficiency, lower and higher fuel prices, and different annual distances.
A range of plausible outcomes is more useful than treating one optimistic result as certain.
Supported efficiency units
Choose the unit used by the source rather than manually converting and rounding it first.
Swipe horizontally to view the full table.
What the Calculator Includes and Excludes
The calculator focuses on energy spending and optional narrow ownership adjustments.
Vehicle choice can also depend on depreciation, financing, insurance, taxes, charging installation, incentives, reliability, tyres, repairs, resale value, and time.
Evaluate those factors separately with vehicle-specific quotations and realistic ownership periods.
Model scope
Swipe horizontally to view the full table.
Privacy and Appropriate Use
The calculation, comparison, print output, and CSV export run locally in the browser.
No account, vehicle identification number, charger login, utility connection, or fuel-card connection is required.
The result is not a forecast, purchase recommendation, emissions analysis, or guaranteed ownership-cost outcome.
EV and Gasoline Cost Formulas
The calculator converts both efficiency inputs to energy or fuel for the same distance. Charging loss is added only when the EV figure is vehicle-side.
Formula variables
- Vehicle-side EV energy for the selected distance
- Electricity purchased from the meter
- Charging loss written as a decimal
- Home electricity price per kWh
- Public electricity price per kWh
- Public charging energy share written as a decimal
- Gasoline required for the selected distance
- Gasoline price per litre after unit conversion
- EV purchase price minus gasoline-vehicle price
- Entered annual maintenance savings for the EV
Examples
Home-charged metric comparison
1Input
100 km; EV 18 kWh/100 km vehicle-side; 10% charging loss; electricity 0.15/kWh; gas vehicle 8 L/100 km; gasoline 1.70/L.
Show result
Result
The EV purchases 20 kWh and costs 3.00. Gasoline costs 13.60, so the EV costs 10.60 less per 100 km.
All prices must use the same selected currency.
Mixed home and public charging
2Input
EV 18 kWh/100 km; home 0.15/kWh; public 0.45/kWh; public energy share 50%; charging loss 10%.
Show result
Result
The blended electricity price is 0.30/kWh and the EV costs 6.00 per 100 km.
Avoid adding charging loss twice
3Input
A smart charger reports 20 kWh purchased per 100 km.
Show result
Result
Choose meter-side electricity. The calculator uses 20 kWh for cost without increasing it again.
Compare using US units
4Input
100 miles; EV 4 mi/kWh vehicle-side; gas vehicle 30 mpg US; electricity 0.16/kWh; gasoline priced per US gallon.
Show result
Result
The calculator converts both vehicles to the same distance and reports cost per 100 miles.
Find the electricity threshold
5Input
Gasoline costs 13.60 per 100 km and the EV purchases 20 kWh for the same distance.
Show result
Result
Break-even electricity price is 0.68/kWh.
Estimate simple purchase payback
6Input
EV costs 5,000 more upfront; annual energy savings 1,500; annual maintenance savings 300.
Show result
Result
Simple payback is approximately 2.8 years.
This excludes depreciation, financing, insurance, taxes, incentives, charger installation, and resale value.
Frequently Asked Questions
What does this calculator compare?
It compares electricity and gasoline spending over the same distance, then optionally estimates annual cost and simple purchase-price payback.
Does it calculate total ownership cost?
No. Most ownership costs are excluded unless represented by the optional purchase-price and annual maintenance inputs.
What EV efficiency units are supported?
kWh/100 km, kWh/100 mi, Wh/km, and mi/kWh.
What gasoline units are supported?
L/100 km, km/L, US mpg, and Imperial mpg. Fuel price can be entered per litre, US gallon, or Imperial gallon.
Why does the EV input ask for vehicle-side or meter-side energy?
The boundary determines whether charging loss still needs to be added. Correct selection prevents double-counting.
What does public charging share mean?
It is the percentage of total charging energy purchased publicly, not necessarily the percentage of charging sessions.
Can an EV cost more for energy?
Yes. Expensive public charging, inefficient EV driving, low gasoline prices, or an efficient gasoline vehicle can reverse the result.
What is the break-even electricity price?
It is the blended electricity price at which both vehicles have equal energy cost under the entered assumptions.
Does annual distance change the cheaper vehicle per kilometre?
No. It scales annual costs and savings but does not change the normalized cost comparison.
Does currency selection convert prices?
No. It changes formatting only. Enter all monetary values in the same currency.
Does the calculator include charging loss?
Yes. It adds loss when the EV efficiency is vehicle-side and avoids adding it again when the figure is already meter-side.
Does it include emissions?
No. Energy cost and emissions are separate comparisons.
Can I export the results?
Yes. The final interface provides printing and CSV export.
Are my inputs uploaded?
No. Calculations and CSV creation occur locally in the browser.
References
- U.S. Department of Energy AFDC — Charging Electric Vehicles at Home
- U.S. Department of Energy AFDC — Vehicle Cost Calculator Methodology
- U.S. Department of Energy AFDC — Electric Vehicle Benefits and Considerations
- U.S. EPA — Fuel Economy and EV Range Testing
- U.S. EPA — Electric Vehicle Fuel Economy Label
You might also like
CO₂ Emissions Calculator
Estimate CO₂e from travel and household energy using sourced 2026 UK reference factors.
Compound Interest Calculator
Project compound growth from an initial investment, recurring contributions, a nominal annual rate, and daily, monthly, quarterly, or yearly compounding.
Inflation Calculator
Compare U.S. dollar purchasing power with annual CPI-U data or project a future amount using a custom inflation or deflation rate.
Sleep Calculator
Calculate bedtime, wake-up time, sleep duration, or a wake-up time from now, with your own sleep target and fall-asleep estimate.