Smekys
Ad Space

EV vs Gas Calculator

Free EV vs gas calculator: compare annual fuel/charging cost and 5-year total cost of ownership. See when an electric car pays back its price premium.

Enter Values

mi/yr

How many miles you drive in a typical year. US average is about 13,500.

mpg

Miles per gallon of the gasoline car you are comparing against.

$/gal

Price per gallon of regular unleaded in your area.

kWh/mi

Kilowatt-hours the EV consumes per mile. Typical EVs use 0.25–0.35.

$/kWh

Your residential electric rate per kWh. National US average is about $0.15.

years

How many years you plan to own the vehicle.

$

Out-the-door price of the electric vehicle before incentives.

$

Out-the-door price of the comparable gasoline vehicle.

Result

Annual Gasoline Fuel Cost
$1,400.00
Annual EV Charging Cost
$540.00
Annual Fuel Savings (EV vs Gas)
$860.00
Total Gas Fuel Over Period
$7,000.00
Total EV Charging Over Period
$2,700.00
Total Fuel Savings (EV vs Gas)
$4,300.00
Gas Car Total Cost of Ownership
$40,000.00
EV Total Cost of Ownership
$44,700.00
Overall Cost Difference (Gas − EV)
$-4,700.00

Electric vehicles carry a higher sticker price than comparable gasoline cars, but they cost far less to "fill up." The gap between those two facts — the purchase premium versus the fuel savings over time — is what decides whether switching to an EV actually saves you money. This calculator makes that trade-off explicit by comparing the annual fuel cost of a gas car against the annual charging cost of an EV, then rolling both into a total cost of ownership over the period you choose to own the vehicle.

Adjust the sliders and every figure updates instantly. You will see the annual fuel savings, the cumulative savings over your ownership window, and the overall cost difference between buying the EV versus buying the gas car. A positive difference means the EV wins on total cost; a negative number means the gas car is cheaper for your specific driving pattern and local energy prices.

How to Use

  1. Enter your Annual Miles Driven. The more you drive, the more fuel savings matter. Highway commuters see the biggest EV advantage; people who barely use their car may never recover the price premium.
  2. Set the Gas Car Fuel Economy (mpg) of the gasoline vehicle you are comparing against. If you already own a gas car, use its real-world MPG from your last fill-up, not the window sticker number.
  3. Type your local Gas Price per gallon. Use the price you actually pay at the pump; national averages hide the fact that gas can range from under $3 to over $5 across states.
  4. Set the EV Energy Use in kWh per mile. Most EVs consume 0.25 to 0.35 kWh per mile. If you know the car's rated efficiency in miles per kWh, divide 1 by that number (e.g., 3.3 mi/kWh = 0.30 kWh/mi).
  5. Enter your Electricity Price per kWh. If you charge mostly at home, use your residential rate. If you rely on public fast chargers, plug in $0.35–$0.50 instead — the economics change dramatically.
  6. Choose the Ownership Period in years. The default is five, which matches typical loan terms; extending the period is where EVs often pull ahead.
  7. Optionally add the EV Purchase Price and Gas Car Purchase Price to see the full total cost of ownership, including how many years of fuel savings it takes to erase the EV's upfront premium.

The result card breaks the comparison into annual fuel costs, cumulative fuel savings over the period, and the overall ownership-cost difference so you can see exactly which vehicle is cheaper under your inputs.

The Cost Formulas

This calculator uses the same annual fuel cost methodology the EPA publishes on fueleconomy.gov:

Annual gasoline cost = (annual miles ÷ MPG) × price per gallon

Annual EV charging cost = annual miles × kWh per mile × price per kWh

For example, driving 12,000 miles per year in a 30-mpg sedan at $3.50/gallon costs $1,400 per year in fuel. Driving the same miles in an EV that uses 0.30 kWh/mi at $0.15/kWh costs $540 per year in electricity. The EV saves $860 per year on energy alone.

Over five years that gap grows to $4,300 in fuel savings. If the EV costs $42,000 versus $33,000 for the gas car — a $9,000 premium — the EV has not yet broken even over five years. Extend the ownership period to eight years at the same inputs and the fuel savings reach about $6,880, narrowing the gap. The break-even point shifts depending on your miles, fuel prices, and whether you qualify for federal or state EV incentives.

What Moves the Numbers

Several variables decide whether an EV saves you money:

  • Annual miles — the single biggest lever. A driver putting 20,000 highway miles a year sees fuel savings roughly double a 10,000-mile driver's.
  • Gas price — higher gasoline prices make EVs more attractive. At $4.50/gallon the annual gas fuel cost on 12,000 miles jumps to $1,800.
  • Charging source — home charging at $0.15/kWh is cheap; public DC fast charging at $0.40/kWh erases much of the advantage.
  • Purchase price gap — EV transaction prices have fallen, and federal tax credits of up to $7,500 on qualifying models close the gap further.
  • Ownership period — the longer you keep the car, the more fuel savings accumulate against the one-time purchase premium.

Maintenance costs also favor EVs in the real world: no oil changes, fewer brake replacements due to regenerative braking, and fewer moving parts overall. This calculator focuses on fuel and purchase price, but most independent studies find EVs save another $400–$1,000 per year in routine maintenance.

Examples

Example 1 — Average commuter. A driver puts 12,000 miles a year on a 30-mpg sedan at $3.50/gallon, comparing it to an EV rated at 0.30 kWh/mi charged at $0.15/kWh. The gas car costs $1,400/year in fuel; the EV costs $540/year. Over five years the EV saves $4,300 in fuel. With an EV priced at $42,000 and the gas car at $33,000, the overall five-year difference is about −$4,700, meaning the gas car is still cheaper at this point. Lower the EV price via tax credit or extend ownership to see it flip.

Example 2 — High-mileage road warrior. Someone driving 20,000 miles a year in a 25-mpg car at $4.50/gallon faces $3,600/year in fuel. A 0.28 kWh/mi EV at $0.12/kWh costs only $672/year. Over eight years the fuel savings reach $23,424. Even with the EV priced $6,000 higher, the EV finishes $17,424 cheaper on total ownership cost.

Example 3 — Barely-driven car. If you drive only 4,000 miles a year, the annual fuel savings shrink to roughly $287. Over five years that is under $1,500 — nowhere near enough to offset a $5,000+ purchase premium. For low-mileage drivers, a gas car or a hybrid is usually the cheaper choice.

FAQ

How is the annual cost of an EV calculated?

Multiply your annual miles by the EV's energy use in kWh per mile, then multiply by your electricity price per kWh. For example, 12,000 miles × 0.30 kWh/mi × $0.15/kWh = $540 per year. This is the same method the EPA uses on fueleconomy.gov.

How many years until an EV pays for itself?

It depends on your miles, the price gap, and local gas and electricity rates. At the default settings (12,000 miles/year, $3.50 gas, $0.15 electricity, $9,000 price gap) the break-even point is around ten to eleven years. High-mileage drivers in expensive-gas states can break even in four to six years, especially with the federal $7,500 tax credit.

Is it cheaper to charge an EV at home or at a public station?

Home charging is almost always cheaper. Residential rates average about $0.15/kWh in the US, while public DC fast chargers often cost $0.35–$0.50/kWh. If you rely heavily on public charging, enter a higher electricity price in the calculator to see how much of the advantage disappears.

Do federal EV tax credits count in this calculator?

This calculator uses the out-the-door purchase price. To model the $7,500 federal tax credit, simply lower the EV purchase price by the credit amount. For example, a $42,000 EV becomes $34,500 after the credit, which can swing the total ownership difference by thousands of dollars.

Are maintenance costs included in this comparison?

No. This calculator focuses on purchase price and fuel/energy costs, which are the biggest and most predictable variables. Real-world studies from Consumer Reports and the DOE find EVs typically save $400–$1,000 per year on maintenance because they have no engine oil, fewer brake wear, and fewer moving parts. Add that back in and EVs look even better.

Does this calculator work for hybrids?

Hybrids fall somewhere between gas cars and EVs. If you enter a hybrid's high MPG (say 48 mpg) as the gas car's fuel economy, the comparison shows how much more expensive a pure gas car is. To compare against a plug-in hybrid, enter its electric-only kWh/mi for the EV side and its blended MPG for the gas side, then average the two.

Related Calculators

Disclaimer

This EV vs gas calculator is provided for informational purposes only and does not constitute financial, automotive, or tax advice. Estimates are based on the inputs you enter and the standard EPA annual fuel cost formula; actual costs vary by region, driving style, weather, charging source, vehicle efficiency, and incentive availability. Purchase prices, tax credits, maintenance, insurance, and battery replacement costs are not fully modeled. Always compare official dealer figures, tax guidance, and your own driving records before deciding which vehicle to buy.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.