EV vs gas cost calculator
Best answer
Energy-cost savings per year with the EV$1,297.52/yr
Scope: energy cost only (excludes maintenance, insurance, depreciation)
What changes your answer most
- Fuel price · 85% of the swing
- Electricity price · 15% of the swing
- Charging efficiency · 0% of the swing
- Gas car fuel cost per year
- $2,660.77/yr
- EV charging cost per year
- $1,363.25/yr
Enter the EV price premium and how many years you will keep the car to get a verdict and break-even (no default: these are personal). Missing: EV price premium, Years of ownership.
Formula Showdown
| Method | Result | When it is right |
|---|---|---|
| Simple payback (undiscounted)Recommended | $1,297.52/yr | Quick screening, or when you do not want to choose a discount rate. Bias: Ignores the time value of money (NIST Handbook 135 §6.4), so it makes long paybacks look better than they are. Assumes today’s prices stay constant. |
| Discounted payback (present value) | needs discountRate | Whenever you can state a discount rate (what your money could earn, after inflation). NIST prefers this method. Bias: Depends on the discount rate you choose. Like the simple method, it assumes today’s energy prices hold; it ignores costs and savings after the period. |
Why this one: No discount rate was given, so the simple (undiscounted) method is used. Add a discount rate to see the NIST-preferred discounted version.
Solve for any input
Show the work
- Gas car: fuel used per year: Distance per year ÷ fuel economy
V_yr = 15,000 mi/yr ÷ 24.833 mpg = 604 gal/yr[2] - Gas car: fuel cost per year: Fuel used per year × fuel price
C_gas = 604 gal/yr × $4.41/gal = $2,660.77/yr[2] - Energy drawn from the grid per year: Distance per year × rated consumption (EPA ratings are measured at the wall, so losses are already included)
E_grid = 15,000 mi/yr × 33.734 kWh/100 mi = 5,060 kWh/yr[3] - EV: charging cost per year: Grid energy per year × electricity price
C_ev = 5,060 kWh/yr × $0.269/kWh = $1,363.25/yr[2] - Running-cost savings per year with the EV: Gas fuel cost per year − EV charging cost per year
S = $2,660.77/yr − $1,363.25/yr = $1,297.52/yr
Sources & data version
- Kneifel J, Webb D (NIST Applied Economics Office) (2020). Life Cycle Costing Manual for the Federal Energy Management Program. NIST Handbook 135, 2020 edition, doi:10.6028/NIST.HB.135-2020. Verified 2026-10-01.
- U.S. EPA and U.S. DOE (fueleconomy.gov) (n.d.). Learn More About the Fuel Economy Label for All-Electric Vehicles. fueleconomy.gov. Verified 2026-10-01.
- U.S. Environmental Protection Agency (2026). Fuel Economy and EV Range Testing. epa.gov (page updated 2026-07-01). Verified 2026-10-01.
- Gas car fuel economy: EPA Automotive Trends Report 2025 (EPA-420-R-26-001), Table 4.1: real-world fuel economy by drive technology, MY2024, model year 2024 (version MY2024-final (2025 report)+d276eaba, fetched 2026-10-02)
- Fuel price: EIA weekly retail gasoline & diesel prices, week of 2026-11-16 (version 2026-11-16+c381c5e9, fetched 2026-11-20)
- EV consumption: EPA Automotive Trends Report 2025 (EPA-420-R-26-001), Table 4.1: real-world fuel economy by drive technology, MY2024, model year 2024 (version MY2024-final (2025 report)+d276eaba, fetched 2026-10-02)
- Electricity price: EIA-861M monthly sales and revenue by state: residential average price (Monthly-States sheet), 2025-09 to 2026-08 (version 2026-08+ea3ef7ff, fetched 2026-11-20)
- Where the consumption figure comes from: your input
- EV price premium: your input
- Years of ownership: your input
Enter the EV price premium and the years you will keep the car to get a verdict and break-even. No default: these are personal.