Gas vs Electric Car Calculator

Reviewed by Billy Jones, founder of Driveonomics

Compare an electric car and a gas car over five years, in plain dollars: type your numbers below and the calculator updates as you type. This page includes the four lines most comparisons leave out: your charging mix, the EV registration surcharge, the home charger and installation, and the insurance difference.

Updated November 18, 2026. By Driveonomics.

Pre-filled for you. Fields marked typical start with typical national averages so you see a result right away, change any number you know to make it yours.

Go ahead, play with it. Change any number and watch the total move.

Electric EV

$
$/ kWh
A kWh is the unit your electric bill charges you for.
% at home
Share of your charging done at home. The rest is priced at the public rate.
$/ kWh
What you pay at public DC fast chargers.
miles / kWh
How far the car goes on one kWh of electricity.

Gas Gas

$
$/ gal
mpg
EPA combined figure. The model-year 2024 average for gas-only cars is 25.6 mpg, so a typical gas car is lower than the 27.2 fleet figure.
miles / yr

The lines fuel math leaves out

$/ yr
41 states and the District of Columbia charge an extra annual fee on EVs. Ten states charge $0.
$
Charger, wiring and labour, before any rebate. Set it to $0 if you already have one.
$/ yr
The difference, not the full premium. Get a quote for the exact cars before you count on it.
Net EV advantage per year
$0

Enter your numbers above to see the comparison.

Over 5 years, the EV costs $10,627 more than the gas car on these lines.

Your yearly cost lines

EV charging$0
Gas fill-ups$0
Fuel savings$0
EV registration surcharge$0
Extra EV insurance$0
Net per year$0

The five-year picture

Price premium for EV$0
Home charger + installation$0
Fuel saved in 5 yrs$0
Registration + insurance in 5 yrs$0
Net after 5 years$0
Break-even…
Break-even gas price…

The EV costs $10,000 more to buy, plus $1,500 for a home charger. Over five years you save $4,073 on fuel, and registration plus insurance add $3,200, so the EV is still $10,627 behind at five years.

CO2 per year

EV CO20.00 t
Gas car CO20.00 t
CO2 avoided per year0.00 t
CO2 avoided over 5 years0.0 t

The EV figure uses the US average grid, 348 grams of CO2 per kWh (EPA eGRID2023). Gasoline is 8,887 grams per gallon (EIA). A cleaner local grid makes the EV better; a dirtier one narrows the gap.

Where the numbers come from: gas, EIA, week ending November 16, 2026, $3.805 a gallon · home electricity, EIA, June 2026, US residential average 18.34 cents a kWh (worked example) · state home electricity, EIA, Table 5.6.A, August 2026, US residential average 18.16 cents a kWh (table below) · public fast charging, Paren, Q3 2026, US average about 54 cents a kWh · fuel economy, EPA, model-year 2024 fleet average 27.2 mpg · EV registration surcharge, Tax Foundation, 2026 survey, median about $140 a year · extra EV insurance, Insurify, 2026, about $500 a year more for 2024-or-newer models · prices, Kelley Blue Book, July 2026, average new EV $56,126, average new vehicle $49,855 · CO2, EPA eGRID2023, US average 348 grams per kWh · gasoline CO2, EIA, 8,887 grams per gallon. Source links checked November 6, 2026; state table checked November 14, 2026; CO2 factors checked November 18, 2026.

How we calculate, and where every figure comes from: see our methodology and our sources.

Get the free Car Buyer’s Cheat Sheet, 7 things to know before you sign anything. The numbers that matter, in plain English, on one page.

Your subscription could not be saved. Please try again.
You’re in! Check your inbox, your cheat sheet is on its way.

How to use

  1. Enter the two prices. The EV and a comparable gas car. Typical national averages are in the footnote below the calculator.
  2. Set your charging mix. The share of charging you do at home, and the public fast-charging rate for the rest.
  3. Enter the gas car's mileage and your local gas price. The defaults are the national averages.
  4. Fill in the three extra lines. Registration surcharge, home charger and installation, and the insurance difference.
  5. Read the verdict. The net per year and the break-even tell you whether the fuel savings cover the extra cost.

Formula

A worked example, using this calculator's own math

See the worked example, line by line

A $42,000 EV against a $32,000 gas car, both driven 12,000 miles a year. The EV uses 3.5 miles per kWh; the gas car gets the EPA model-year 2024 fleet average of 27.2 mpg. Home electricity is 18 cents a kWh (EIA, June 2026: 18.34 cents), public fast charging is 54 cents (Paren, Q3 2026), and 80% of the charging happens at home. Gas is $3.805 a gallon (EIA, week ending November 16, 2026). The federal $7,500 credit is $0: it ended for vehicles acquired after September 30, 2025.

The blended charging rate is (0.80 × $0.18) + (0.20 × $0.54) = $0.252 per kWh. The EV needs 12,000 ÷ 3.5 = 3,429 kWh a year, costing $864. The gas car needs 12,000 ÷ 27.2 = 441 gallons a year, costing $1,679. Fuel savings are $815 a year. Electricity costs 7.2 cents a mile; gasoline costs 14.0 cents a mile. On CO2, the same example puts the EV at about 1.2 tonnes a year against about 3.9 tonnes for the gas car, so the EV avoids about 2.7 tonnes a year, about 13.6 tonnes over five years.

The extra lines change the answer. The EV registration surcharge is $140 a year (the median among the 41 states that charge one) and the extra insurance is $500 a year (Insurify, 2026, for 2024-or-newer models). That is $640 a year of extra lines, leaving a net advantage of $175 a year.

Upfront, the EV costs $10,000 more, plus $1,500 for a home charger and installation, for $11,500 in all. At $175 a year, the break-even is $11,500 ÷ $175 = about 66 years, or about 790,000 miles. On fuel alone the break-even would be about 12 years; counting the charger it is about 14 years. The fuel savings are real, but the other lines take most of them back before the car is sold.

Worked example, line by line over 5 years

Each line uses the worked example numbers above. Totals are rounded to the nearest dollar.

See the 5-year lines, one by one

EV over 5 years

Price: $42,000

Charging: 12,000 miles a year ÷ 3.5 miles per kWh × $0.252 per kWh × 5 years = $4,320

Registration surcharge: $140 a year × 5 years = $700

Extra insurance: $500 a year × 5 years = $2,500

Home charger and installation: $1,500

EV total: $42,000 + $4,320 + $700 + $2,500 + $1,500 = $51,020

Gas car over 5 years

Price: $32,000

Fuel: 12,000 miles a year ÷ 27.2 mpg × $3.805 a gallon × 5 years = $8,393.38, shown as $8,393

Gas car total: $32,000 + $8,393 = $40,393

Gap: $51,020 - $40,393 = $10,627. Over 5 years, the EV costs $10,627 more than the gas car on these lines.

Check: fuel saved over 5 years is $8,393 - $4,320 = $4,073, and registration plus insurance over 5 years is $700 + $2,500 = $3,200.

How the EV vs. gas comparison works

The calculator compares the two cars on the same miles, then adds the lines most comparisons leave out. For one same-brand pair worked out in full, see Subaru Trailseeker vs Outback, the electric one against the gas one it mirrors.

What makes the answer flip

Watch out for these assumptions

What the newest national data says

In September 2026, AAA published its annual Your Driving Costs analysis: 34 popular models across seven categories, assuming five years and 75,000 miles. The headline number is $12,863 per year, $1,071.92 a month, to own and operate a new vehicle. Depreciation alone averages $4,422 a year, roughly a third of the total. AAA's 2026 release has the full breakdown.

This year's study folded EVs and hybrids directly into the same categories as gas models for the first time, and the results surprised a lot of people: EV charging costs up to 70% less than gasoline, yet EVs cost more than $3,000 extra per year to own than comparable gas models, because they depreciate faster. Fuel savings could not overcome the value they lose.

The real winners were hybrids: meaningful fuel savings with smaller tradeoffs, costing less per year than gas-only models among medium sedans, compact SUVs, medium SUVs and pickup trucks. If your goal is the lowest total cost rather than a powertrain statement, a hybrid deserves a hard look: see whether hybrid cars are worth it.

One more input worth knowing: at the time of the study, regular gasoline averaged $4.15 per gallon (up nearly 32% from 2025) while home electricity averaged 18 cents per kWh (up under 8%). Energy prices move, rerun your numbers with today's local prices, not last year's article.

Start beyond the sticker price

Many electric vehicles carry a higher purchase price than a broadly similar gas vehicle, although that gap varies widely by size, brand and incentives. The EV may recover some of the difference through lower energy and maintenance costs, and whether it catches up during your ownership depends on how much you drive, where you charge and what each vehicle is worth when you sell it.

Leasing changes that comparison, because the battery warranty usually outlasts the lease and the lease ends as newer models arrive: should you lease or buy an EV.

Do not compare only the monthly payments: include the down payment, interest, taxes and any home-charging equipment, then subtract only an incentive you are confident you qualify for. A credit that arrives later does not reduce the amount financed unless the seller can legally apply it at the point of sale. Charging at home also means installing the charger itself, see how much it costs to install a home EV charger.

Home charging changes the calculation

Charging at home is usually the least expensive and most convenient pattern. Estimate energy use by dividing annual miles by the vehicle's miles per kilowatt-hour, then multiply by your utility's price per kilowatt-hour, and check whether your rate changes by time of day. Installation of a 240-volt outlet or charging unit can add an upfront cost, especially if the electrical panel needs work.

Public fast charging often costs more than home electricity. It can still be useful on road trips, but a driver who relies on it every week may give up much of the EV's fuel savings. Use your real mix: for example, 80% home charging and 20% public charging rather than assuming every mile receives the cheapest rate.

What home charging costs in your state

The table below uses this page's own worked example: 12,000 miles a year, an EV at 3.5 miles per kWh, so 3,429 kWh a year, against a gas car at 27.2 mpg and $3.805 a gallon (EIA, week ending November 16, 2026), so $1,679 of gas a year. The only thing that changes by state is the home electricity price, from EIA Table 5.6.A, August 2026. Public fast charging costs more, so a driver who charges mostly in public will save less than this table shows.

StateHome electricityCharging a yearSaved vs gas a year
United States (average)18.16 cents a kWh$623$1,056
Nevada12.72 cents a kWh$436$1,243
Louisiana12.87 cents a kWh$441$1,238
North Dakota13.31 cents a kWh$456$1,223
Utah13.31 cents a kWh$456$1,223
Idaho13.37 cents a kWh$458$1,221
Tennessee13.42 cents a kWh$460$1,219
Nebraska13.54 cents a kWh$464$1,215
Kentucky13.80 cents a kWh$473$1,206
Arkansas14.37 cents a kWh$493$1,186
Mississippi14.43 cents a kWh$495$1,184
Wyoming14.43 cents a kWh$495$1,184
Washington14.63 cents a kWh$502$1,177
Oklahoma14.82 cents a kWh$508$1,171
North Carolina14.95 cents a kWh$513$1,166
Florida14.99 cents a kWh$514$1,165
Arizona15.05 cents a kWh$516$1,163
South Dakota15.15 cents a kWh$519$1,160
Kansas15.47 cents a kWh$530$1,149
Montana15.57 cents a kWh$534$1,145
South Carolina15.76 cents a kWh$540$1,139
Texas15.91 cents a kWh$545$1,134
Oregon15.92 cents a kWh$546$1,133
Georgia15.90 cents a kWh$545$1,134
Missouri16.02 cents a kWh$549$1,130
West Virginia16.31 cents a kWh$559$1,120
Alabama16.33 cents a kWh$560$1,119
New Mexico16.51 cents a kWh$566$1,113
Indiana17.02 cents a kWh$584$1,095
Iowa17.06 cents a kWh$585$1,094
Colorado17.17 cents a kWh$589$1,090
Minnesota17.20 cents a kWh$590$1,089
Virginia17.64 cents a kWh$605$1,074
Delaware18.70 cents a kWh$641$1,038
Illinois19.32 cents a kWh$662$1,017
Ohio19.38 cents a kWh$664$1,015
Wisconsin19.41 cents a kWh$665$1,014
Maryland21.40 cents a kWh$734$945
Pennsylvania21.77 cents a kWh$746$933
Michigan22.99 cents a kWh$788$891
Vermont23.84 cents a kWh$817$862
Connecticut24.51 cents a kWh$840$839
New Jersey24.61 cents a kWh$844$835
District of Columbia25.98 cents a kWh$891$788
New Hampshire27.64 cents a kWh$948$731
Rhode Island28.18 cents a kWh$966$713
New York28.65 cents a kWh$982$697
Alaska29.41 cents a kWh$1,008$671
California29.75 cents a kWh$1,020$659
Massachusetts30.48 cents a kWh$1,045$634
Maine32.11 cents a kWh$1,101$578
Hawaii47.18 cents a kWh$1,618$61

Every state saves money on home charging alone, from $61 a year in Hawaii to $1,243 in Nevada. The table leaves out the price premium, the charger, the registration surcharge, and insurance, the lines that decide whether the EV wins overall.

Maintenance is simpler, not zero

EVs do not need oil changes and have fewer moving powertrain parts, and regenerative braking may also reduce brake wear. They still need tires, cabin filters, alignments, suspension work and cooling-system service. Their weight and quick acceleration can wear tires faster for some drivers, so include a realistic tire allowance.

Battery degradation is normally gradual rather than a sudden failure: range may decline over time, with heat, charging habits and mileage affecting the pace. Full battery replacement is expensive, but it is not a routine ownership expense for most newer EVs during the typical factory battery-warranty period. Check the exact warranty, its capacity threshold and whether it transfers to a second owner, especially on a used EV.

Insurance and tax credits need current quotes

Some EVs cost more to insure because repair procedures, parts prices and replacement values can be higher. Others are competitive with gas models. The driver's record, location and trim can matter more than the power source, so compare matching quotes with the same limits and deductibles.

The former federal New Clean Vehicle Credit is not available for vehicles acquired after September 30, 2025: do not subtract it from a 2026 purchase. State, local and utility incentives may still exist, and eligibility can depend on the vehicle, battery sourcing, purchase price, income, location or whether the car is new or used. Check current official rules before buying, and never count a credit based on an old article or an advertisement that says only “up to.” For what ended, what the old rules were, and what remains, see EV tax credits in plain words.

A five-year example

Consider a $40,000 EV and a $34,000 gas car, each driven 12,000 miles a year. These are sample assumptions, not forecasts: suppose the EV averages 3.3 miles per kilowatt-hour and home electricity costs 18 cents per kilowatt-hour. Its five-year charging cost is roughly $3,270. A gas car averaging 30 mpg at $3.805 per gallon uses about $7,610 of fuel over the same 60,000 miles.

See the five-year example, line by line
  • EV: $21,000 depreciation based on a $19,000 resale value, about $3,270 for home charging, $3,250 for maintenance and $12,000 for insurance totals roughly $39,520.
  • Gas car: $17,000 depreciation based on a $17,000 resale value, $7,610 for fuel, $5,500 for maintenance and $10,500 for insurance totals roughly $40,610.

The EV comes out about $1,090 lower in this narrow example before taxes, financing or a charger, and the EV's $4,000 depreciation handicap mirrors what AAA found nationally. If public charging raises energy cost, the gas car may lead. Resale value is especially important: a few thousand dollars of difference there can outweigh years of fuel savings. And remember the hybrid middle ground: in AAA's data, hybrids beat gas-only models on annual cost in four of seven categories.

For two specific three-row electric SUVs priced the same way, see Hyundai Ioniq 9 vs Kia EV9: which 3-row electric SUV costs less.

Use two honest scenarios.

Set the calculator to your real charging mix and the registration surcharge for your state, then run it again with the opposite mix: mostly home charging against mostly public charging. The difference between the two runs is the range your answer lives in. The worked example above uses 80% home charging, a $140 registration surcharge and $500 of extra insurance; change any of those to your own numbers before you count on the result.

Definitions

EV vs gas questions, answered

How much does it cost to charge an EV vs filling a gas car?

At 12,000 miles a year, the worked example uses about 3,429 kWh, costing about $864 at the blended 25-cent rate, against about 441 gallons and $1,679 of gasoline. That is about $815 a year saved on fuel, and the gap widens if you charge mostly at home and narrows if you charge mostly at public fast chargers.

Is an EV cheaper to own than a gas car over 10 years?

It depends on the price difference, how much of your charging happens at home, and whether the insurance is higher. If the EV is only a few thousand dollars more and you charge mostly at home, it can win; if the price gap is large and you charge mostly at public fast chargers, the gas car can still be cheaper at ten years. The calculator above gives you the break-even on your own numbers.

What numbers do I need for a fair EV vs gas comparison?

The two prices, the EV's efficiency and your charging mix, home and public charging rates, the gas car's mileage and gas price, your miles per year, the EV registration surcharge, the charger and installation cost, and the insurance difference. The calculator above asks for each one; leave the defaults in place if you are only testing the worked example.

Is the $7,500 federal EV tax credit still available?

No: the federal clean-vehicle credit under section 30D ended for vehicles acquired after September 30, 2025, when Public Law 119-21 terminated the credit, and the calculator assumes $0. State and local incentives are separate and vary by place, so check the current program for your state before counting on one.

How long does an EV take to pay back its higher price?

On fuel alone, the worked example pays back a $10,000 price premium in about 12 years; counting the $1,500 home charger, it is about 14 years, and counting the registration surcharge and insurance difference as well, about 66 years. That is the honest point of the calculator: electricity costs less per mile, but the other lines can take the savings back before the car is sold.

At what gas price does an EV stop saving money?

On the worked example numbers, about $3.41 a gallon: at that price the $640 a year of fuel savings exactly covers the $140 registration surcharge and the $500 of extra insurance, so the net per year is zero. Above $3.41 the EV saves money per year on these lines; below it the gas car wins on yearly running costs, and the calculator above works it out from your own numbers, leaving out the price premium and the charger, so it is not the same as the break-even in years.

How much does home charging cost in my state?

It depends on your state's residential electricity price. At 12,000 miles a year in an EV at 3.5 miles per kWh, home charging costs about $436 a year in Nevada, the cheapest state, and about $1,618 a year in Hawaii, the dearest, against about $1,679 of gas for a 27.2 mpg car at $3.805 a gallon. The national average is about $623 a year for charging, saving about $1,056 a year against gas. The table above lists every state.

How much CO2 does an EV save vs a gas car?

On the worked example, the EV puts out about 1.2 tonnes of CO2 a year against about 3.9 tonnes for the gas car, so it avoids about 2.7 tonnes a year, about 13.6 tonnes over five years. The calculator above works it out from your own miles and efficiency. The figures use the US average grid, 348 grams of CO2 per kWh (EPA eGRID2023), and 8,887 grams per gallon of gasoline (EIA). A cleaner local grid makes the EV better; a dirtier one narrows the gap.

Fuel is only part of the story: insurance, maintenance, depreciation, and tax credits all move the math. Leasing instead of buying? The EV lease vs. buy calculator runs that comparison.

Educational estimates only, not financial advice. This page includes the charging mix, the EV registration surcharge, the home charger and installation, and the insurance difference. It does not include maintenance differences, depreciation, battery replacement, or tax incentives. The federal $7,500 credit ended for vehicles acquired after September 30, 2025, so the calculator assumes $0. State and local incentives vary by place. Get a real quote for the exact cars and your own rates before you count on any figure here.

Was this page helpful?