
Home / EV vs gas
EV vs gas calculator
Enter the miles you drive in a year, the gas car's mpg and the electric car's use in kWh per 100 miles, with the price of gas and of electricity. The calculator compares what each costs to fuel.
Nothing you type leaves your browser. The numbers are kept on this device so they are still there next time.
Fuel cost, side by side
Gas is miles divided by mpg, times the price per gallon. Electricity is miles times the car's use per 100 miles, times the price per kWh. With the defaults, 12,000 miles a year, a 28 mpg car against one using 30 kWh per 100 miles:
12,000 / 28 × $3.505 = $1,502.14
12,000 / 100 × 30 kWh × 18.17¢ = $654.12
Difference → $848.02 a year
The electricity price where both cost the same is 41.7¢ per kWh: above it, the gas car is cheaper to fuel at these mpg and gas prices.
Savings by gas and electricity price
Yearly fuel savings of the electric car for 12,000 miles, 28 mpg against 30 kWh per 100 miles. A minus sign means the gas car costs less.
| Electricity | Gas $3.00 | Gas $3.505 | Gas $4.00 | Gas $5.00 |
|---|---|---|---|---|
| 12¢ | $853.71 | $1,070.14 | $1,282.29 | $1,710.86 |
| 18.17¢ | $631.59 | $848.02 | $1,060.17 | $1,488.74 |
| 25¢ | $385.71 | $602.14 | $814.29 | $1,242.86 |
| 35¢ | $25.71 | $242.14 | $454.29 | $882.86 |
Why the electric car uses less energy
fueleconomy.gov says electric cars convert over 77% of the electrical energy from the grid to power at the wheels, while gasoline cars convert only about 12% to 30% of the energy in their fuel. Most of the rest is heat. That gap is why a car using 30 kWh per 100 miles, the energy of less than a gallon of gas, can go as far as a gas car on more than three.
Reading the EPA label
The fuel economy label on each new car gives a yearly fuel cost based on 15,000 miles a year. For the same comparison at 15,000 miles, the electric car saves $1,060.03 a year on fuel. The label also shows the charge time at 240 volts.
What is left out
This is fuel only. The price of the cars, insurance, maintenance and incentives are not counted, nor is the cost of a home charger. The carbon dioxide figure is the gas car's tailpipe, at the EPA's 8,887 grams per gallon; an electric car has no tailpipe, but making its electricity has emissions that depend on the local grid, which this page does not count.
Questions
Where do I find kWh per 100 miles?
On the EPA label of the car and on fueleconomy.gov.
What if I charge at public fast chargers?
Use their price per kWh. It is often higher than home power, which shrinks the savings.
Do electric cars cost less to maintain?
This page compares fuel only. Add your own figures on the cost per mile calculator.
How long does a charge take?
About 3 to 12 hours for a full recharge, according to fueleconomy.gov.
Other calculators
Sources
- fueleconomy.gov (DOE and EPA), All-electric vehicles
- fueleconomy.gov (DOE and EPA), Learn more about the fuel economy label for electric vehicles
- U.S. EPA, Greenhouse Gas Emissions from a Typical Passenger Vehicle
- U.S. Energy Information Administration, Gasoline and Diesel Fuel Update (weekly retail prices)
- U.S. Energy Information Administration, Electric Power Monthly, Table 5.6.A: average price of electricity by state
Figures checked on 2026-12-02. Page updated 2026-12-02.