Average Energy Cost CalculatorAll 50 StatesElectricityNatural GasHeating OilPropaneAboutContact
Educational information about home energy prices and average bills only — not a quote and not energy or financial advice. Prices are state averages from the EIA sources named on each page; your own bill depends on your utility, your plan, and your usage.

Home › EV vs gas cost calculator

EV vs gas car cost calculator

Put the two fuels on one page. This calculator prices a gasoline car and an electric car with your numbers — your state's electricity price, your gasoline price, your mileage and your mix of home and public charging — and returns the energy cost per mile, per year and over the years you will keep the car, plus the year an EV's higher purchase price pays for itself in energy savings if you enter both prices. At the defaults — U.S. average electricity of 16.48¢ per kWh, gasoline at EIA's late-October 2026 average of $4.27, 12,000 miles a year — the gas car burns $1,830.00 of fuel a year and the EV $711.94 of electricity. Maintenance and insurance are excluded, plainly and on purpose; the workings are below.

EV vs gas car cost calculator

Energy costs only — purchase prices are optional and maintenance and insurance are excluded (see what this calculator leaves out). Every figure updates as you type.

State prices are the EIA 2024 average residential prices published on this site's state electricity pages — replace the home price with the rate on your own bill if you know it. The gasoline default is the U.S. average regular gasoline price from EIA's weekly retail survey (week ending October 26, 2026: $4.269) — US average regular gasoline, EIA, late October 2026 — edit to your local price. The EV efficiency of 30 kWh per 100 miles and the gas car's 28 MPG are typical values for current models — edit both to your cars' ratings. The public charging default is twice the home price, a common rule of thumb for network pricing; edit it if you know your network's rate.

Gas energy cost per mile
—
EV energy cost per mile
—
Energy saving per year
—
Gas energy per year
—
EV energy per year
—
Gas energy over 5 years
—
EV energy over 5 years
—
Energy saving over 5 years
—
Break-even on a higher EV price
—

How the comparison works

A gasoline car and an electric car burn different fuels, but both fuels reduce to one number: the energy cost of a mile. For the gas car, that is the pump price divided by fuel economy — at $4.27 a gallon and 28 MPG, $0.1525 a mile. For the EV, it is the electricity price multiplied by consumption — 30 kWh per 100 miles is 0.30 kWh a mile, so at the U.S. average residential price of 16.48¢ the home-charged mile costs $0.0494 before public charging enters the picture. Because few drivers charge only at home, the calculator blends the two electricity prices by the share you enter: at 80% home and 20% public at twice the home rate, the blended price is 19.78¢ per kWh and the mile costs $0.0593. Multiply either per-mile figure by your annual mileage and you have the year; multiply by the years you keep the car and you have the ownership-period energy bill for each car, side by side.

Two honest simplifications sit inside that arithmetic. First, prices are held flat: the calculator does not forecast gasoline or electricity prices, apply inflation, or discount future years, because nobody can price 2031 gasoline today and a made-up forecast would only dress a guess as a fact. Second, both cars are assumed to be driven the same miles — if the EV would become the household's main car and rack up more miles than the gas car it replaces, raise the mileage input and the energy gap widens in the EV's favour, because its per-mile advantage applies to every extra mile. Read the outputs as a like-for-like energy comparison at today's prices, not a prediction.

Why your state changes the answer

Electricity is the most regionally priced fuel in American life. EIA's 2024 residential averages, published state by state on our electricity cost hub, run from 11.51¢ per kWh in North Dakota to 42.86¢ in Hawaii — a 3.7-fold spread for the identical kilowatt-hour. Run the calculator at the extremes and the EV's advantage changes character. In North Dakota, a home-charged mile costs about 3.5¢ and even a mostly-public charging mix stays far below the 15.25¢ gasoline mile. In Hawaii, the home-charged mile costs 12.86¢ — still below the gasoline mile at the national average pump price, but close enough that a driver who charges mostly at public stations, where the price can be well above twice the home rate, can erase the gap entirely. California sits between: at 31.97¢ the home mile costs 9.59¢, a real saving, but nothing like the four-to-one advantage the same car enjoys in Louisiana or Washington.

Gasoline prices vary by state too — California's pump prices are famously above the national average and the Gulf Coast's below it — which is why the gasoline price is a single editable input rather than a second state table: enter the price on the sign at your own station and the comparison is priced for your roads, not a national blend. For the underlying electricity data, the EV home charging cost page prices a full 60 kWh charge and 1,000 miles of driving in every state, and the state index links each state's full energy cost profile — electricity, natural gas, heating oil and propane together.

What this calculator leaves out

The comparison is deliberately narrow: energy, plus purchase price if you enter it — and nothing else. Maintenance is excluded entirely. So is insurance. Treat any version of this comparison that silently folds those in with suspicion, and read this one's exclusions plainly before using its result:

What remains — the fuel itself — is the part of car ownership that can be priced from published data rather than guessed, and for most households it is also the largest running-cost difference between the two cars.

How to read the break-even result

When the EV costs more to buy, the break-even year is the first year in which the pile of annual energy savings grows taller than the price gap. The calculator divides the gap by the annual saving and rounds up: a $5,000 gap against $1,118.06 of saving a year is covered during year 5, because four full years bank only $4,472.24. Three outcomes are possible, and each means something different. Break-even inside your ownership window means the EV hands back its premium and then keeps saving — every year after it is pure gain. Break-even after your window means the energy saving is real but you plan to sell before it repays the premium; the next owner collects the rest, which may matter for resale but not for your wallet. No break-even appears when the EV saves nothing on energy — possible where electricity is dear, public charging dominates and gasoline is cheap — or when the gap is so large that even a decade of savings cannot close it. In that case the EV's case rests on things this page does not price: maintenance, incentives and preference.

The two inputs that move the break-even most are the ones worth your attention before any other. The gasoline price is the first — a sustained $1 rise or fall per gallon moves a 28 MPG car's mile by 3.6¢, about a quarter of its energy cost. The second is your home-charging share: every mile shifted from a public charger at twice the price to a home outlet at the residential rate cuts that mile's electricity cost roughly in half. A driver who can charge at home most of the time, in a state with middling electricity prices, is the driver for whom the break-even arrives earliest; a renter dependent on public charging in a high-price state is the driver who should run these numbers most carefully of all.

Frequently asked questions

How much cheaper is it to drive an EV than a gas car per mile?
At the defaults — U.S. average electricity, $4.27 gasoline, 28 MPG, 80% home charging — the gas mile costs $0.1525 and the EV mile $0.0593, a saving of about 9¢ a mile. Your own figure can be far from that in either direction: the state you charge in and your home-charging share move it most.
Does an EV always cost less to run than a gas car?
No. Where residential electricity is expensive and most charging happens at public stations — priced well above home rates — the EV's energy advantage can shrink to nothing or reverse, especially against an efficient gas car. Hawaii's 42.86¢ average price makes a home-charged mile 12.86¢ before any public charging is added.
Why does my state matter so much for EV charging costs?
Because residential electricity averages range from 11.51¢ per kWh in North Dakota to 42.86¢ in Hawaii (EIA, 2024) — the same car, charged the same way, pays 3.7 times more for its fuel in one state than another. Gasoline varies by state as well, but by much less, and this calculator takes it as a single price you enter yourself.
What costs does this calculator not include?
Energy only, plus purchase prices if you enter them. Maintenance, insurance, purchase incentives, resale value, registration fees and home charger installation are all excluded, deliberately — they vary by model and household in ways published price data cannot pin down.
How is the break-even year calculated?
Divide the EV's purchase-price premium by the annual energy saving and round up to the next whole year: it is the first year cumulative savings cover the gap. If the EV costs the same or less to buy, it saves money from the first year; if it saves nothing on energy, there is no break-even.

Sources: electricity prices — EIA Form EIA-861 (2024) state residential averages as published on this site's state electricity pages; gasoline price — EIA Weekly Retail Gasoline Prices, U.S. regular average for the week ending October 26, 2026 ($4.269 per gallon). Efficiency and fuel-economy defaults are labelled typical values, not EIA series. Researched October 2026 — energy prices move; confirm current prices before deciding.

Related guides

What home EV charging costs, state by state · Electricity prices & average bills by state · Energy costs index — all 50 states