The EV vs Petrol Calculator compares the annual energy cost for an electric vehicle and an internal combustion engine (petrol/gasoline) vehicle. Enter annual miles, EV energy efficiency (kWh/100mi), electricity price, petrol fuel economy (MPG), and petrol price to calculate the annual energy cost of each and the resulting difference.
Formula
The module expects miles, kWh per 100 miles, US MPG, and prices in compatible units.
Worked example
For 12,000 miles per year, an EV using 30 kWh/100 miles at 3.50/gallon:
- EV cost:
120 x 30 x $0.16 = $576. - Petrol cost:
(12,000 / 30) x $3.50 = $1,400. - Modeled annual energy-cost difference:
$1,400 - $576 = $824.
Questions
Does this include purchase price?
No. It compares energy cost only. Finance, depreciation, insurance, maintenance, registration, and charging equipment can change total ownership cost.
Does EV efficiency include charging losses?
Only if your entered kWh figure includes them. The calculator uses the value supplied and does not add a separate charging-loss factor.
What if petrol is measured in litres?
Convert to compatible US-gallon and MPG units before entering values, or use a fuel-economy converter first.
Limitations
Results are scenario estimates. Weather, driving style, terrain, traffic, charging location, fuel grade, and price changes can move real costs substantially.