EV vs Gas Energy Cost per Mile: kWh, Charging Losses, Rates
Comparing what an electric car and a gasoline car cost to fuel comes down to two cost-per-mile figures. For gasoline it is price per gallon / MPG. For electricity it is kWh per 100 miles / 100 x price per kWh. The arithmetic is easy; getting the right inputs is where most comparisons go wrong. This page covers energy cost only, as the EV vs gas calculator does: not purchase price, maintenance, insurance or incentives.
The formulas, worked
- Gas cost per mile = price per gallon / MPG
- EV cost per mile = kWh per 100 miles / 100 x price per kWh
- Annual cost = cost per mile x annual miles
With the calculator's example inputs, a 30 MPG car at $3.50 a gallon costs $0.1167 a mile (shown as 0.117) and $1,400.00 over 12,000 miles. An EV using 30 kWh per 100 miles at $0.15 per kWh costs $0.045 a mile and $540.00. On those example figures the EV is cheaper to run by $860.00 a year. None of these are current prices; enter your own.
kWh per 100 miles: which figure to use
Electric efficiency is usually given as kWh per 100 miles, the electric equivalent of gallons per 100 miles: lower is better. You may also see MPGe on the EPA label, which converts electricity to gasoline at 33.7 kWh per gallon, so MPGe = 3,370 / kWh per 100 miles. 30 kWh per 100 miles is about 112 MPGe.
The EPA label figure is from the wall
Charging is not perfectly efficient: some energy is lost in the charging cable, the car's onboard charger and the battery. The EPA says its MPGe and kWh per 100 mile ratings account for losses from the charging equipment and the onboard charger, which moves the measurement to the wall outlet (EPA, fuel economy and EV range testing). That is the figure to use for cost, because the wall is where you pay.
The dashboard reading is from the battery
Many EVs show efficiency in miles per kWh, measured from the battery. It does not include charging losses, so it makes the car look cheaper than it is. To use it:
- Convert to kWh per 100 miles: 100 / miles per kWh. An example 4.0 miles per kWh is 25 kWh per 100 miles from the battery.
- Divide by your charging efficiency. At an example 90%, 25 / 0.9 = 27.78 kWh per 100 miles from the wall.
At $0.15 per kWh that is about $0.0417 a mile (shown as 0.042) and about $500 a year over 12,000 miles; the calculator gives $500.04 because 27.78 is itself rounded. If your home charger or utility reports the kWh delivered, the most accurate figure is your own: miles driven / kWh delivered, converted the same way, which needs no efficiency guess.
Conditions change it
Like gasoline cars, EVs use more energy per mile at high speed and in cold weather, when cabin and battery heating draw power. fueleconomy.gov reports substantial cold-weather losses for EVs, especially with the heater on. A summer figure entered for a winter month will understate the cost.
Home, public and blended rates
The electricity price is the input that moves the answer most. Your home rate is on your utility bill: divide the energy charges by the kWh used, or use the per-kWh rate if your plan has time-of-use pricing and you charge in a cheaper period. Public charging is often priced differently, sometimes per kWh, sometimes per minute or with session fees. To compare, divide what a session cost by the kWh delivered.
Example: the same EV charged at an example public rate of $0.48 per kWh costs $0.144 a mile and $1,728.00 a year, so on those figures the 30 MPG gas car is cheaper by $328.00.
Most drivers mix the two, so use a blended rate:
Blended rate = (home share x home rate) + (public share x public rate)
Example: 80% at home at $0.15 and 20% in public at $0.48 gives 0.8 x 0.15 + 0.2 x 0.48 = $0.216 per kWh. At 30 kWh per 100 miles, that is $0.0648 a mile (shown as 0.065) and $777.60 a year, still $622.40 less than the 30 MPG car on these example figures. Free charging is a real input too: enter $0.
The break-even electricity price
To find the electricity price at which the EV and the gas car cost the same per mile, divide the gas car's cost per mile by the EV's kWh per mile:
Break-even price per kWh = (gas price / MPG) / (kWh per 100 miles / 100)
Against the 30 MPG car at $3.50: ($3.50 / 30) / 0.30 = $0.389 per kWh. Below that blended rate the EV costs less per mile in energy; above it, more. The more efficient the gas car, the lower the break-even. Against an example 50 MPG car at $3.50 ($0.07 a mile, $840.00 a year), the same EV at $0.15 is still cheaper, but only by $300.00 a year, and the break-even falls to $0.07 / 0.30 = $0.233 per kWh.
What the arithmetic leaves out
This is energy cost only. Purchase price, financing, insurance, maintenance, tires, home charging equipment and its installation, and any incentives all differ between cars and are not in these figures. Plug-in hybrids mix both fuels; hybrid and plug-in hybrid fuel use works out a blended cost per mile. For emissions rather than cost, see EV vs gas emissions.
Charging safely
Home charging equipment should be installed by a licensed electrician, to local code, on a suitable circuit. Do not use household extension cords or plug adapters unless the car or charger maker explicitly allows it, and never use a damaged charging cable. The high-voltage battery, orange high-voltage cables and power electronics are for trained technicians only; after a crash, get clear and tell emergency services the car is electric.
This page explains energy cost arithmetic in general terms; it is not professional or financial advice, and your owner's manual, your utility's rates and a licensed electrician decide what applies to your car and home.