EV Charging vs Gas Cost Per Mile Calculator
What a mile costs in an electric car against a gas car, on your state's electricity and gas prices, with home and public fast charging mixed in.
Updated · By Niraj Kumar · 6 sources
https://checkpre.com/energy/ev-charging-cost-per-mile-calculator
How the EV Charging vs Gas Cost Per Mile Calculator works
The EPA's kWh per 100 miles is measured at the wall socket, so charging losses are already in it. Multiply it by the average price you pay per kWh, mixing home charging with public fast charging, and compare with the pump price divided by the car's mpg.
EV ¢/mile = kWh/100 mi ÷ 100 × [h × home rate + (1 − h) × public rate]; gas ¢/mile = price per gallon ÷ mpg- h
- Share of charging done at home
- kWh/100 mi
- EPA combined consumption, lower is better
- mpg
- EPA combined miles per gallon
Worked example
A Texas driver weighing an EV that uses 30 kWh/100 mi against a 30 mpg car, charging 80% at home at 15.9¢ and 20% at fast chargers at 48.0¢, with gas at $3.96.
- 1Average electricity price: 0.8 × 15.9¢ + 0.2 × 48.0¢ = 22.3¢ a kWh
- 2EV: 0.30 kWh × 22.3¢ = 6.7¢ a mile
- 3Gas: $3.96 ÷ 30 = 13.2¢ a mile
Over 12,000 miles a year the EV spends about $803 on electricity against $1,584 on gas.
Frequently asked questions
Why does fast charging change the answer so much?
Public DC fast chargers typically cost around 48.0¢ a kWh, often two or three times the price of electricity at home. A driver who charges mostly at fast chargers can pay as much per mile as a 35-40 mpg hybrid, while one who charges overnight at home pays a fraction of it.
Is there still a federal EV tax credit in 2026?
No. The $7,500 new clean vehicle credit and the used EV credit ended for vehicles acquired after 30 September 2025. Some states and utilities still offer rebates, which you can enter in the calculator; the AFDC keeps a list by state.
How much does time-of-use charging save?
Most of an EV's energy can be scheduled overnight, so a plan with a cheap window cuts the price of every home-charged mile. In California, for example, SDG&E's EV-TOU-5 charges 13.1¢ a kWh overnight against a state average above 33¢. The calculator shows the saving against your state's average rate. See the cost per mile calculator for just the fuel side.
Sources
- EIA Electric Power Monthly, Table 5.6.A: average residential price by state (July 2026) · checked
- AAA state gas price averages, regular unleaded (22 September 2026) · checked
- Tax Foundation, Electric Vehicle Taxes by State, 2026 · checked
- US DOE and EPA fuel economy data (fueleconomy.gov) · checked
- IRS, Clean vehicle credits: not available for vehicles acquired after 30 September 2025 · checked
- AFDC, State laws and incentives for electric vehicles · checked
Related calculators
- EV vs Gas Total Cost of Ownership CalculatorCompare an electric car with a gas car over 7 years on your state's electricity and gas prices, your utility's EV rate, depreciation and battery wear.
- Fuel Cost CalculatorWhat a trip will cost in petrol or diesel, one way or return, split between passengers. Kilometres or miles.
- SDG&E EV Charging Cost Calculator (EV-TOU-5)What charging an EV costs on SDG&E's EV-TOU-5 plan, with its 13.1¢ super off-peak rate, and the 7-year cost against a gas car in San Diego.
More in Energy, Solar & EV
- Tesla Model Y Total Cost of Ownership Calculator
- Tesla Model 3 Total Cost of Ownership Calculator
- Chevrolet Equinox EV Total Cost of Ownership Calculator
- Chevrolet Bolt Total Cost of Ownership Calculator
- Hyundai Ioniq 5 Total Cost of Ownership Calculator
- Ford Mustang Mach-E Total Cost of Ownership Calculator
- Kia EV6 Total Cost of Ownership Calculator
- Kia EV9 Total Cost of Ownership Calculator
- All 57 Energy, Solar & EV calculators