Solar vs Grid Calculator

Compare the 25-year cost of solar vs staying on the grid. See exactly when solar pays off and how much you save total.

$
$/kWh
%/yr
kWh/yr
%/yr
Solar saves vs grid over 25 years
$43,865
Net system cost (after ITC)$17,500
Crossover yearYear 9
Year 1 savings$1,800/yr
25-yr grid cost (no solar)$61,365
25-yr ROI251%
YearGrid costSolar savingsNet position
Yr 1$1,800$1,800/yr$15,700
Yr 5$9,459$1,986/yr$8,041
Yr 9$17,907$2,191/yr+$407
Yr 10$20,152$2,245/yr+$2,652
Yr 15$32,242$2,538/yr+$14,742
Yr 20$45,911$2,870/yr+$28,411
Yr 25$61,365$3,244/yr+$43,865
Link copied to clipboard

How to Use This Calculator

Enter system cost and tax credit

Enter the gross system cost — the total installed price before any incentives. Get this from installer quotes; US residential averages $2.50-3.50/W in 2026, so an 8kW system typically costs $20,000-28,000. The federal tax credit defaults to 30% (valid through 2032). Enter the percentage as a decimal — 0.30 for 30%. If your state offers additional credits, add them here.

Set your electricity rate and annual increase

Use your current electricity rate from your utility bill. The annual rate increase is the key long-term variable — historically US electricity prices have risen 2-4% per year. A higher rate increase makes solar more valuable: at 4%/year, electricity costs double in 18 years. At 2%/year, it takes 36 years. This is why solar looks better in high-rate states with rising prices.

Enter annual solar production

Use the Solar Panel Calculator to estimate your system's annual kWh production. A typical 8kW system produces 9,000-13,000 kWh/year depending on location. The panel degradation of 0.5%/year accounts for natural efficiency decline — standard panel warranties guarantee 80% output after 25 years (0.8% degradation/year), making 0.5% a conservative estimate.

The Formula

Net system cost = Gross cost × (1 − Tax credit %) For each year (1 to 25): Year electricity rate = Base rate × (1 + Annual increase)^(year − 1) Year solar production = Base production × (1 − 0.005)^(year − 1) Year savings = Year production × Year rate Cumulative savings = Sum of year savings Crossover year = First year where cumulative savings ≥ Net system cost 25-yr net savings = Cumulative 25-yr savings − Net system cost ROI = 25-yr net savings ÷ Net system cost × 100%

The crossover year (payback period) is when your cumulative savings equal your net investment. After that, every dollar of savings is pure return. For most US homeowners, the crossover is 6-10 years. In high-rate states like California, Massachusetts, and Hawaii, crossover can be as short as 4-6 years.

Example

The Williams family — Denver, Colorado

The Williams family installs an 8kW system for $24,000. After the 30% ITC, they pay $16,800. Denver gets good sun — 11,500 kWh/year. They currently pay $0.14/kWh and electricity rates rise 3%/year.

Gross system cost$24,000
Federal ITC (30%)-$7,200
Net cost$16,800
Year 1 savings$1,610/yr

25-year result

Crossover yearYear 8
25-yr grid cost (no solar)$58,400
25-yr net savings$41,600
25-yr ROI248%

The Williams family breaks even in year 8 and earns $41,600 in net savings over 25 years — a 248% return on their net investment of $16,800. That's significantly better than a savings account or bond over the same period, with no market risk. The grid electricity they avoid paying for keeps rising in cost every year, making solar savings grow over time.

FAQ

On a levelized cost basis, yes. Residential solar now costs $0.06-0.10/kWh over 25 years (including installation and tax credit), compared to the US average grid rate of $0.15/kWh — and rising. In states like California ($0.30+/kWh), Hawaii ($0.40+/kWh), or Massachusetts ($0.25+/kWh), solar is dramatically cheaper. In low-rate states like Louisiana or Idaho ($0.09-0.10/kWh), the economics are tighter, but rising rates still favor solar over a 25-year horizon.
The US average solar payback period is 6-10 years for systems installed in 2025-2026. This varies significantly by state: California: 5-7 years, Massachusetts: 5-7 years, New Jersey: 6-8 years, Texas: 7-9 years, Florida: 8-10 years, Midwest: 9-12 years. With the 30% federal ITC reducing upfront cost and electricity rates rising 3-4%/year, payback periods have shortened significantly compared to 10 years ago.
Yes — studies by Zillow and Lawrence Berkeley National Laboratory show solar adds $15,000-25,000 to home value on average, depending on system size and local electricity rates. The premium is roughly 4% of home value and tends to be higher in states with high electricity rates. The increase is not captured in this calculator but improves the true financial return. Leased solar systems typically do not add the same home value benefit as owned systems.
Quality solar panels last 30-40 years, not just 25. The 25-year figure comes from warranty periods, not actual lifespan. Panels degrade slowly (0.3-0.7%/year) but rarely fail completely. After 25 years, a panel producing 87% of original output is still valuable. At that point, the cost to replace an aging string of panels has also dropped significantly as panel prices continue to fall. Plan for the inverter to need replacement around year 10-15 (~$1,500-3,000) — this is factored into the net cost in professional quotes.

Related Calculators