Build your retirement plan for free.Explore Plan Builder →

EV vs. Gas Car Total Cost of Ownership Calculator

Enter your vehicle prices, incentives, mileage, fuel costs, and maintenance to compare the full lifetime cost of an EV vs a gas car — including break-even analysis.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter both purchase prices and the EV Tax Incentive

    Use comparable vehicles and enter the incentive you expect to qualify for. The incentive is subtracted from the EV’s purchase price in the ownership-cost comparison.

  2. 2

    Enter mileage, ownership period, and energy prices

    Set Annual Mileage and Years of Ownership, then enter the gas car’s MPG and fuel price and the EV’s miles per kWh and electricity price.

  3. 3

    Add annual maintenance costs and compare results

    Review total costs, cost per mile, and the break-even estimate. The comparison does not include financing, insurance, depreciation, or resale value unless those costs are represented elsewhere.

Example Calculation

A driver compares a $45,000 EV with a $32,000 gas car, applies a $7,500 EV incentive, drives 12,000 miles a year, and keeps either car for seven years.

EV Purchase Price ($)

45,000

Gas Car Price ($)

32,000

EV Tax Incentive ($)

7,500

Annual Mileage (mi)

12,000

Years of Ownership (yr)

7

Gas MPG (MPG)

30

Gas Price ($/gal)

3.50

EV Efficiency (mi/kWh)

3.5

Electricity Price ($/kWh)

0.13

EV Maintenance/Year ($)

800

Gas Maintenance/Year ($)

1,500

Results

EV Total Cost

$46,220

Gas Total Cost

$52,300

Break-Even Point

3.3 years

Annual Savings

$1,654

Cost Per Mile

EV $0.55, gas $0.62

Insights card shows the total-cost difference and which vehicle costs less over the selected ownership period.

Tips

A higher gas price widens the operating-cost gap

Change Gas Price from $3.50 to $4.50 per gallon to see how the gas car’s seven-year fuel bill changes while the EV’s charging cost stays the same.

A shorter ownership period can leave the EV’s price premium unrecovered

Change Years of Ownership from 7 to 3. The EV’s annual running-cost advantage has less time to offset its higher net purchase price.

Home charging costs less when your electricity rate is lower

Change Electricity Price from $0.13 to $0.08 per kWh to model a lower charging rate and compare the revised total cost and break-even time.

What this calculator estimates

Total cost of ownership (TCO) is the sum of a vehicle’s purchase and operating costs over the time you own it. This calculator compares the entered purchase prices, EV incentive, energy, and maintenance; it does not estimate depreciation, financing, insurance, or resale value.

How the calculation works

The EV’s incentive reduces its purchase cost. Energy and maintenance are then added for each year of ownership.

EV energy cost = (Annual miles / EV miles per kWh) × Electricity price per kWh
Gas fuel cost = (Annual miles / Gas MPG) × Gas price per gallon
EV total cost = EV purchase price − incentive
                + Years × (EV energy cost + EV annual maintenance)
Gas total cost = Gas purchase price
                 + Years × (Gas fuel cost + Gas annual maintenance)
Cost per mile = Total cost / (Annual miles × Years)

For the example, the EV’s net purchase cost is $45,000 − $7,500 = $37,500. It uses 12,000 ÷ 3.5 = 3,428.57 kWh per year, costing 3,428.57 × $0.13 = $445.71 annually. Over seven years, its energy costs $3,120 and maintenance costs 7 × $800 = $5,600, for a total of $46,220.

The gas car uses 12,000 ÷ 30 = 400 gallons per year. At $3.50 per gallon, fuel costs 400 × $3.50 = $1,400 annually. Over seven years, fuel costs $9,800 and maintenance costs 7 × $1,500 = $10,500; adding the $32,000 purchase price gives $52,300.

The EV’s annual operating cost is $445.71 + $800 = $1,245.71. The gas car’s is $1,400 + $1,500 = $2,900. The $1,654.29 yearly difference offsets the EV’s $5,500 higher net purchase cost in about $5,500 ÷ $1,654.29 = 3.3 years.

How ownership length and energy prices change the comparison

The following table changes only the ownership period; annual costs and prices remain as entered in the example.

Ownership period EV total cost Gas total cost Gas-minus-EV difference
3 years $41,237 $40,700 −$537
4 years $42,483 $43,600 $1,117
7 years $46,220 $52,300 $6,080

A negative difference means the EV costs more over that period under these assumptions. A positive difference means it costs less. The table shows why ownership duration matters: the EV’s yearly operating savings need time to offset its higher net purchase price.

Energy prices can shift the result in either direction. Public charging, home electricity rates, gas-price changes, and driving patterns may differ from the single averages entered here. The U.S. Department of Energy’s vehicle cost tools provide additional ways to compare fuel and electricity costs.

What to include before deciding

Use comparable vehicle trims and realistic local prices. Add financing interest, insurance, registration, expected resale value, and any charging equipment cost to your own comparison. The NHTSA vehicle resources can help you check vehicle information and safety ratings, but safety ratings are separate from ownership cost.

When to use a different calculator

Frequently Asked Questions

What does total cost of ownership include in this calculator?

It combines the purchase price after the entered EV incentive with estimated fuel or electricity and annual maintenance for the ownership period. It does not automatically include financing, insurance, registration, depreciation, or resale value, so add those separately when comparing actual budgets.

How is the EV-versus-gas break-even point calculated?

The break-even point estimates when the EV’s lower annual operating costs offset its higher net purchase cost. It depends on the price difference and the yearly difference in fuel, electricity, and maintenance; if the EV has no operating-cost advantage, there may be no break-even within the period.

Does everyone qualify for the EV tax incentive?

No, eligibility depends on the vehicle, buyer, transaction, and current tax rules. Do not assume the listed maximum applies to your purchase; check the IRS clean vehicle credit guidance and confirm eligibility for the specific vehicle and purchase date.

Should I include a car loan in the comparison?

Yes, if you are comparing cash outlays or borrowing costs rather than vehicle operating costs alone. Add the loan’s interest and fees, or use a [Car Loan Total Interest Calculator](/calculators/car-loan-total-interest-calculator/) to estimate borrowing cost separately.

Why can an EV cost more overall even if it is cheaper to drive?

A higher upfront price can outweigh fuel and maintenance savings during a short ownership period. Compare several ownership durations and include resale value, insurance, and financing before deciding; this calculator’s operating-cost comparison alone does not settle those tradeoffs.