Electric vs. Gas Car Cost Calculator
How to Use This Calculator
- 1
Enter the vehicle efficiency and local energy prices
Enter EV Miles per kWh, Electricity Price ($/kWh), Gas Car MPG, and Gas Price ($/gal). Use your utility rate and current local fuel price.
- 2
Enter annual use and ownership period
Set Annual Mileage (mi) and Years of Ownership (yrs) to match your driving and replacement plans.
- 3
Enter both purchase prices and compare costs
Enter EV Purchase Price ($) and Gas Car Purchase Price ($), then review operating costs, break-even, and total cost of ownership. Check the calculator’s maintenance assumptions before treating the comparison as a complete budget.
Example Calculation
A driver compares a $42,000 EV with a $30,000 gas car, drives 12,000 miles each year, and plans to own either vehicle for seven years.
EV Miles per kWh (mi/kWh)
3.5
Electricity Price ($/kWh)
0.14
Gas Car MPG (MPG)
28
Gas Price ($/gal)
3.50
Annual Mileage (mi)
12,000
Years of Ownership (yrs)
7
EV Purchase Price ($)
42,000
Gas Car Purchase Price ($)
30,000
Results
EV Fuel Cost per Mile
$0.0400
Gas Cost per Mile
$0.1250
EV Annual Energy Cost
$480
Gas Annual Fuel Cost
$1,500
Insights card shows annual operating-cost and ownership-cost comparisons; maintenance and break-even values depend on the calculator’s internal maintenance assumptions.
Tips
At these energy prices, EV energy costs 4¢ per mile and gas costs 12.5¢
Change Electricity Price ($/kWh) to your utility’s off-peak rate and Gas Price ($/gal) to your local price to test whether charging at home changes the operating-cost gap.
Annual mileage controls how quickly operating savings offset a higher purchase price
Change Annual Mileage (mi) from 12,000 to 18,000 while keeping efficiency and prices fixed to see how the annual fuel-cost difference scales.
A longer ownership period gives operating costs more time to offset the price difference
Compare Years of Ownership (yrs) at 5 and 10, then check whether the modeled break-even point falls within your expected ownership period.
What this calculator estimates
This calculator compares modeled energy, maintenance, purchase, and ownership costs for an electric vehicle and a gasoline car over a chosen period. Its result depends on the maintenance assumptions used by the calculator, and it does not capture every ownership cost, such as insurance, financing, taxes, incentives, or resale value.
How the energy-cost calculation works
The energy cost per mile follows from the vehicle’s efficiency and the local energy price:
EV cost per mile = Electricity price per kWh / EV miles per kWh
Gas cost per mile = Gas price per gallon / Gas-car miles per gallon
Annual energy cost = Cost per mile × Annual mileage
For the EV, $0.14 / 3.5 = $0.04 per mile; at 12,000 miles, $0.04 × 12,000 = $480 per year. For the gas car, $3.50 / 28 = $0.125 per mile; at 12,000 miles, $0.125 × 12,000 = $1,500 per year. The fuel-only difference is $1,500 − $480 = $1,020 per year before maintenance and other ownership costs.
The total-cost comparison adds the purchase price and modeled annual costs across the ownership period. Break-even occurs when cumulative EV costs no longer exceed cumulative gas-car costs. Because maintenance assumptions affect both totals, check the calculator’s modeled maintenance figures when interpreting its break-even estimate.
How driving and energy prices change the comparison
The table isolates energy costs using the example’s efficiency and prices. It excludes purchase price and maintenance so you can see how annual mileage changes fuel spending.
| Annual mileage | EV energy cost | Gas fuel cost | Gas-minus-EV difference |
|---|---|---|---|
| 8,000 miles | $320 | $1,000 | $680 |
| 12,000 miles | $480 | $1,500 | $1,020 |
| 18,000 miles | $720 | $2,250 | $1,530 |
Higher mileage increases the annual energy-cost gap when prices and efficiency stay constant. A higher electricity rate or lower EV efficiency narrows it; a higher gas price or lower gas-car MPG widens it. Actual EV energy use can also vary with weather, speed, terrain, and charging losses.
Costs to check before deciding
A break-even estimate is only useful if the comparison matches your real ownership costs. Check the purchase prices after incentives, your home-charging setup, public charging needs, insurance quotes, loan terms, expected resale values, and how long you expect to keep the vehicle. Maintenance estimates are not a substitute for a vehicle-specific service schedule or repair history.
For broader ownership-cost comparisons, use the EV vs. gas car total cost of ownership calculator or the true cost of car ownership calculator. To compare different powertrains, try the hybrid vs. gas car fuel cost calculator. Estimate purchase taxes separately with the car sales tax calculator.
When to use a different calculator
- Include a broader set of ownership costs → EV vs. gas car total cost of ownership calculator
- Estimate emissions differences → EV vs. gas car carbon savings calculator
- Compare a hybrid with a gasoline vehicle → hybrid vs. gas car fuel cost calculator
- Compare leasing with buying → lease vs. buy car calculator
Frequently Asked Questions
How much does it cost to drive an EV per mile?
Divide the electricity price per kWh by the EV’s miles per kWh. At $0.14/kWh and 3.5 miles/kWh, the energy cost is $0.14 / 3.5 = $0.04 per mile; charging losses and public charging fees can raise the actual cost.
How do I calculate the break-even point for an EV?
The break-even point is when cumulative EV costs match cumulative gas-car costs. Compare purchase-price difference with annual operating-cost savings, including the calculator’s maintenance assumptions; the simple estimate is price difference divided by annual savings when savings are positive and costs remain constant.
Does this comparison include tax credits, insurance, and depreciation?
The listed inputs do not include tax credits, insurance, financing, resale value, or depreciation, so do not assume those costs are included. Add applicable incentives to the purchase-price comparison and account for insurance and resale estimates separately.
Is an EV always cheaper to own?
No, total cost depends on purchase price, local electricity and gasoline prices, mileage, ownership length, maintenance, financing, and resale value. The U.S. Department of Energy’s vehicle cost resources explain how fuel economy affects operating costs.
What should I check before choosing between two vehicles?
Compare the same vehicle class and equipment, then check charging access, insurance quotes, warranty coverage, and expected resale value. The NHTSA’s electric vehicle information covers EV safety and ownership considerations.
