EV Charging vs Gas Cost Calculator

Compare what you'd spend a year on gas versus charging an EV, based on your miles, your car's mpg, gas prices, the EV's efficiency, home electricity rates and how often you use fast chargers.

Runs in your browser; nothing you type is sent anywhere. · Updated

How to use the calculator

  1. Enter miles per year. The US average is roughly 12,000–13,500.
  2. Enter the gas car's mpg and your local gas price.
  3. Enter the EV's efficiency in miles per kWh. Most EVs get 3–4; trucks and large SUVs closer to 2–2.5. Divide 100 by an EPA rating in kWh/100 mi to convert.
  4. Enter your home electricity rate and how much charging happens at public fast chargers, which usually cost several times more than home charging.

The formulas

  • Gas cost = miles ÷ mpg × price per gallon
  • EV cost = miles ÷ miles per kWh, plus about 10% lost while charging at home, at your home rate, with the public share at the fast-charging price

Example: 12,000 miles, a 30 mpg car and $3.20 gas = $1,280 a year. An EV at 3.5 mi/kWh, 90% home charging at 18¢ and 10% fast charging at 48¢ = about $782. The EV saves about $500 a year on fuel. The gas price where both cost the same is about $1.95.

What changes the answer

  • Electricity rates: in high-rate states or with lots of fast charging, the gap narrows.
  • Time-of-use plans: overnight EV rates can be half the standard price.
  • Cold weather: EV range and efficiency drop in winter.
  • Total cost: maintenance (no oil changes), insurance, purchase price and incentives aren't included here. The federal EV tax credit ended for vehicles bought after September 30, 2025, though some states offer their own rebates.

To check what an EV charger adds to your bill, use the appliance cost calculator.

Frequently asked questions

Is charging an EV cheaper than gas?

Usually, when you charge mostly at home. Frequent fast charging or very high electricity rates can erase most of the savings.

How much does it cost to charge an EV at home?

Miles ÷ miles per kWh × your rate. 1,000 miles at 3.5 mi/kWh and 18¢ is about $57, including charging losses.

How many kWh does an EV use per mile?

About 0.25–0.35 kWh per mile for most cars, or 3–4 miles per kWh.