Solar ROI Calculator — Free Online Calculator

Calculate your solar panel return on investment, payback period, and 25-year savings including the federal tax credit.

How to Use This Calculator

Enter total system cost, estimated annual production (from your installer quote), electricity rate, annual rate increase, and tax credit percentage.

The Formula Explained

Net cost = System cost × (1 - tax credit %). Annual savings = Production × Rate × 0.995 (0.5% annual panel degradation). Payback = year when cumulative savings exceed net cost. 25-year savings account for rising electricity rates.

Solar Economics: More Than Just Payback

Solar return on investment is frequently reduced to a single number — the payback period — but real solar economics are much richer. Payback tells you when you break even; it does not tell you the total return over 25 years, the impact on home resale value, the hedge against future electricity rate increases, or the environmental externalities you are avoiding. A system with an 8-year payback actually produces 17+ years of nearly free electricity after payback, plus 3-4% added home value, plus independence from rate increases that average 3-5% per year.

The key metrics: simple payback (years to recover investment), internal rate of return (annualized return percentage over the system life), net present value (total lifetime savings discounted to today), and levelized cost of energy (cost per kWh over the system life). For most residential buyers, simple payback and total 25-year savings are the most relatable. For commercial buyers, IRR and NPV drive the decision along with tax benefits like MACRS depreciation.

Worked Example: California Residential System

A 10 kW system in Sacramento. Installed cost: 28,000 USD. Federal tax credit (30%): -8,400 USD. Net cost: 19,600 USD.

Annual production: 10 kW × 1,650 sun-hours × 0.85 system efficiency = 14,025 kWh per year. Current electricity rate: 30 cents per kWh (tier 2 residential). Annual savings year 1: 14,025 × 0.30 = 4,208 USD.

Payback: 19,600 / 4,208 = 4.66 years. That is before considering rate increases. If electricity rates grow 4% per year (California average), the system pays back in about 4.3 years and generates 180,000 USD in lifetime value over 25 years.

IRR over 25 years: approximately 19%. NPV at 5% discount rate: about 85,000 USD. Compare to stock market average of 7-10% annualized — solar in California significantly outperforms on risk-adjusted basis because the returns are largely guaranteed (you will use electricity regardless of market conditions).

Worked Example: Commercial Rooftop System

A 100 kW commercial system on a California warehouse. Installed cost: 200,000 USD. Federal tax credit (30%): -60,000 USD. MACRS depreciation benefit (5-year accelerated): -40,000 USD present value. Net cost after incentives: 100,000 USD.

Annual production: 100 kW × 1,650 sun-hours × 0.85 = 140,250 kWh. Commercial rate including demand charges: 18 cents per kWh average. Annual savings: 140,250 × 0.18 = 25,245 USD. But commercial bills have demand charges (peak kW consumption), and solar can reduce demand during sunny hours, adding another 3,000-5,000 USD per year in demand savings.

Total annual savings: about 29,000 USD. Payback: 100,000 / 29,000 = 3.4 years. IRR over 25 years: approximately 28%. This is why commercial solar adoption grew faster than residential in sunny states during the 2010s and 2020s — the economics are compelling.

Five Solar ROI Mistakes

1. Using only current electricity rates in the projection. Rates historically rise 3-5% annually. Ignoring rate growth makes the ROI look much worse than reality. Include at least a 3% annual escalation factor in your analysis.

2. Not understanding net metering terms. NEM 1.0, 2.0, and 3.0 in California have vastly different compensation rates. NEM 3.0 pays much less for exported energy. Know which policy your utility operates under before running ROI numbers.

3. Forgetting system degradation. Solar panels lose about 0.5% per year. Over 25 years that is about 12% total loss. Year 25 production is 88% of year 1. Include in ROI.

4. Ignoring inverter replacement. String inverters typically need replacement around year 12-15, adding 2,000-5,000 USD mid-life cost. Microinverters and power optimizers have 25-year warranties but cost more upfront.

5. Not accounting for opportunity cost. The money you spend on solar could be invested elsewhere. Solar IRR of 10-15% is excellent, but if you had to borrow at 8% the effective return is lower. Cash-purchased solar is best financially; financed solar still beats utility payments usually.

Solar Economic Factors by State

Best states for solar ROI (2026): Hawaii (highest rates 40+ cents/kWh), California (high rates + great sun), Massachusetts (SMART program + high rates), New York (NY-Sun incentives + high rates), New Jersey (SREC market), Arizona (great sun despite lower rates).

Middle tier: Colorado, Nevada, Texas, Florida, Maryland, Connecticut, Vermont, Oregon.

Challenging states: West Virginia (cheap coal power), Kentucky, Washington State (hydro power keeps rates low), Louisiana, Alabama (lower rates, no strong incentives).

Federal incentive: 30% Investment Tax Credit (ITC) through 2032, then stepping down. State incentives vary widely. Net metering rules are the most variable and most important factor — in states with full retail net metering, residential solar is typically profitable; in states with wholesale-only compensation or high non-bypassable fees, solar is often marginal.

ROI Resources and Standards

NREL PVWatts provides site-specific production estimates for any US location. Database of State Incentives for Renewables & Efficiency (DSIRE) maintains current incentive information by state. Solar Energy Industries Association (SEIA) publishes annual state solar market reports with typical cost and production benchmarks.

For commercial projects, consult with a solar engineer for detailed production modeling (HelioScope or Aurora software), financial modeling (MACRS depreciation schedules, bonus depreciation eligibility, and PPA vs cash vs lease comparisons), and site-specific considerations (shading analysis, structural load, electrical capacity). The residential ROI calculator above gives rough estimates; real commercial decisions require detailed engineering analysis.

Solar ROI: payback math and the assumptions that drive it

Solar ROI is more sensitive to inputs than installers usually admit. Three numbers swing the answer dramatically: your electricity rate (and its assumed annual escalation), your local install cost per watt, and your net-metering policy. Get those right and the calculation is straightforward; get them wrong and your payback can shift by 5 years either direction.

The calculator models simple payback (system cost / annual savings) plus IRR (internal rate of return) over a 25-year life, accounting for module degradation (0.5 percent/year typical), inverter replacement (typically year 12-15), and utility rate inflation.

Grid-tied residential solar system12-panel array, 5 kW DCDCInverterDC to ACACMainpanel + meterto grid

The formula and what it does

Simple_payback = Net_cost / Year_1_savings IRR is solved iteratively

Net cost is gross system price minus the 30 percent federal credit and any state or utility rebates. Year 1 savings is annual production (kWh from PVWatts) times your retail electricity rate. IRR is the discount rate at which the net present value of 25 years of cash flows equals zero.

Worked example

Scenario: 8 kW system in San Diego. Install $3.40/W = $27,200 gross. After 30 percent ITC: 9,040 net. Annual production (NREL PVWatts): 12,800 kWh. SDG&E NEM-3 effective rate after time-of-use averaging: ~28 cents/kWh during peak hours when most solar is exported, blended 22 cents/kWh annual. Year 1 savings: $2,816.

Simple payback: 19,040 / 2,816 = 6.8 years. Over 25 years with 3 percent utility inflation and 0.5 percent annual panel degradation, lifetime savings: about $98,000 nominal. IRR: 12.3 percent, comfortably higher than most investment alternatives. The math works even better in higher-rate states like Hawaii and Massachusetts.

Approximate solar payback by state (6 kW system, average insolation)

StateAvg install $/W (2026)Net cost after 30% ITCYr 1 savingsPayback
California$3.203,440$2,100~6.4 yr
Massachusetts$3.454,490$2,250~6.4 yr
Arizona$2.651,130,450~7.7 yr
Texas$2.550,710,180~9.1 yr
Florida$2.500,500,150~9.1 yr
New York$3.303,860,950~7.1 yr

Source: EnergySage Solar Marketplace Q1 2026 averages, NREL PVWatts annual production estimates, and current state net-metering policies. Federal Residential Clean Energy Credit (Section 25D) is 30 percent through 2032.

Common mistakes to avoid

Assuming flat utility rates. US residential electricity has averaged 2.6 percent annual nominal inflation over 30 years per EIA. Modeling at 0 percent escalation severely understates lifetime savings; modeling at 5 percent overstates.

Treating gross install cost as net. The 30 percent federal credit comes off your taxes; if you do not have enough tax liability to use it, you can carry forward but not refund. Some installers claim payback based on gross cost when ITC eligibility is uncertain.

Forgetting inverter replacement. String inverters last 12-15 years on average. A $2,000-3,000 replacement at year 12 should be in the 25-year cash-flow model. Microinverters and SolarEdge optimizers have longer warranties (25 yr typical) but cost more upfront.

Frequently asked questions

How does NEM-3 in California change the math?

NEM-3 (Net Billing Tariff, April 2023+) pays exports at avoided cost (typically 5-8 cents/kWh) instead of retail. This pushes California paybacks from 6-7 years to 9-11 without batteries. With a battery, you self-consume during peak hours and recover most of the value.

Is leasing cheaper than buying?

No, almost never on lifetime cost. Lease payments are typically 60-70 percent of avoided utility cost, capturing the rest as installer profit. Cash purchase or low-interest loan (under 5 percent) almost always beats a lease on total return.

How accurate is PVWatts?

Within 5 percent annual for typical sites with no unusual shading. Less accurate at high latitudes with snow cover and sites with complex shading from trees or buildings.

Do I save money if I get a battery?

Depends on rates. In time-of-use markets (CA, NY, AZ), batteries arbitrage off-peak charging into peak self-consumption, capturing the rate spread. In flat-rate markets, batteries pay back only through resilience value (blackout backup), not direct savings.

What if I sell the house?

Owned PV adds about $4-5 per watt of installed capacity to home value (Lawrence Berkeley Lab studies). A $20K system adds about $25-32K to appraised value, often more than the install cost. Leased systems can complicate sale; buyer assumption may be required.

How long do panels actually last?

Tier-1 modules carry 25-year power warranties (80-85 percent at year 25). Real-world degradation is closer to 0.4 percent per year, putting 30-year output at about 88 percent of new. Inverters and racking are the wear-out parts, not panels.

What if I move within 5 years?

You will not see direct payback, but the home-value uplift typically covers the install cost. Most state real-estate data shows solar adds about its install cost back to sale price in years 1-7.

Related calculators

Data sources: NREL Cost of Solar 2025 report, EnergySage Solar Marketplace data Q1 2026, Lawrence Berkeley National Lab home-value studies, IRS Form 5695 and Section 25D guidance, NEM-3 tariff documentation from CPUC.

Frequently Asked Questions