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.

EV vs gas
U.S. average, week of Nov 30, 2026.

Fuel saved

$848.02

less a year with the electric car

Gas a year
$1,502.14
Electricity a year
$654.12
Gas per mile
$0.13 / mi
Electricity per mile
$0.05 / mi
Over five years
$4,240.11
Electricity price that matches gas
41.7¢ per kWh
Gas car's tailpipe CO₂ a year
8,397 lb

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.

ElectricityGas $3.00Gas $3.505Gas $4.00Gas $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

Trip gas costGallons and dollars of gas for one drive, one way or there and back.300 mi at 25 mpg → $42.06Road trip costFuel, tolls and parking for a whole trip, and the share per person.600 mi, tolls and parking → $125.11Split gas costWhat each rider owes for the gas, with or without the driver.200 mi, 4 people → $7.01 eachCommute costWhat the drive to work costs per day, month and year.15 mi each way → $1,009.44 a yearMPG calculatorMiles per gallon from the odometer and a fill-up.320 mi on 11.5 gal → 27.8 mpgCost per mileFuel per mile, then insurance and upkeep spread over your miles.Gas, insurance, upkeep → $0.34 / miRange on a tankHow far the gas in the tank will take you, with a reserve.14 gal tank at 25% → 98 miMPG convertermpg, L/100 km, km/L, UK mpg, MPGe and kWh per 100 miles.30 mpg → 7.84 L/100 kmFuel savingsGallons and dollars saved a year by a car with better mpg.22 to 32 mpg → $746.80 a yearEV charging costThe cost of one charge, with the energy lost while charging.75 kWh, 20 to 80% → $9.09Electricity by stateHome electricity price in each state and the EV cost per mile.30 kWh/100 mi → $0.05 per mileTire size calculatorDiameter, revolutions per mile and speedometer gap of two tire sizes.225/45R17 to 225/50R17 → 3.55% largerCar depreciationA car's value after some years, from a yearly rate or a resale price.$30,000, 15% for 5 years → $13,311.16Mileage reimbursementMiles times the IRS standard rate for 2024 to 2026.1,200 mi at 76¢ → $912.00

Sources

Figures checked on 2026-12-02. Page updated 2026-12-02.