Solar Payback Calculator
Solar payback = net system cost ÷ yearly bill value, where bill value = production × (share used at home × electricity price + exported share × export credit). The 30% federal 25D credit ended after 2025, so the credit is $0. The tool compares cash, loan and lease totals.
Rooftop solar is a long-term trade: you pay up front, or through loan or lease payments, and in return you buy less electricity from the utility. This calculator projects production from the size of the system and its expected output per kilowatt, values that energy at your electricity price and export credit, and lays out a cash purchase, a loan and a lease side by side over the number of years you choose. Nothing is pre-filled from an installer, and the federal credit is set to zero.
The formula
Production in year n = kW × kWh per kW × (1 − loss per year)n−1
Bill value = production × (self-use % × electricity price + (1 − self-use %) × export credit)
Cash: net = total bill value − (kW × 1,000 × $/W − rebates)
Loan payment = P × r ÷ (1 − (1 + r)−n), monthly rate r, n months
Lease: net = total bill value − lease payments
Default values and where they come from
The only national default is the electricity price: 18.19¢ per kWh, the US residential average for January–August 2026 from the EIA. Production per kW depends heavily on location, tilt and shading, so take it from NREL’s free PVWatts tool for your address. Lawrence Berkeley National Laboratory’s 2026 data update reports that median prices across the top 100 residential installers in 2025 ranged from $2.4 to $6.3 per watt before incentives, and that loan-financed systems were considerably higher priced than cash purchases, partly because loan fees are rolled into the price. Because the range is wide, the price field starts empty: enter your quote.
Cash, loan and lease compared
A cash purchase has the highest upfront cost and usually the largest long-run net value, because no interest or lease margin is paid. A loan spreads the cost, but total payments can exceed the cash price by a wide margin; the calculator shows total payments so you can see that difference. In a lease or power purchase agreement, a third party owns the system and you pay a monthly amount, often with an annual escalator. Third-party owners may use tax benefits that are not available to homeowners; ask the provider how pricing changed after 2025.
Self-use and export credit
Electricity you use at the moment it is produced offsets your full retail rate. Power sent to the grid is credited at whatever your utility’s tariff says, which can be the full retail rate, an avoided-cost rate well below retail, or a time-varying value. Enter the share you expect to use on site and the export credit from your utility’s published tariff. If you are unsure, run the calculator twice with a low and a high self-use share.
How to get production per kW from PVWatts
Open PVWatts, enter your address, set the system size to 1 kW and the roof tilt and direction, and read the annual AC energy in kWh. That figure is your kWh per kW per year. Shading from trees or chimneys lowers it; ask the installer for their shade report and compare it with PVWatts.
Batteries with solar
Lawrence Berkeley National Laboratory found that among cash-purchase residential systems in 2025, median prices were $2.1 per watt higher for paired solar-plus-storage than for stand-alone solar. Use the home battery backup calculator to size storage for outages separately from the payback question.
Federal credit history
The residential clean energy credit under section 25D paid 30% of qualified solar and battery costs through 2025. The IRS now states that the credit is not allowed for expenditures made after December 31, 2025, and its credit page says the credit is not available for property placed in service after that date. If a quote still shows a 30% federal credit for a 2026 installation, ask the seller to explain it in writing.
Common mistakes to avoid
- Using an installer’s production estimate without checking it against PVWatts.
- Valuing exported power at the full retail rate when your utility credits less.
- Comparing loan payments to a cash price that excludes dealer fees.
- Including a federal credit that has ended.
Fields left blank on purpose
We only pre-fill a number when we could cite a published source for it. These fields start empty because no reliable national figure was available to us, or because the right value is specific to your home or quote:
- System size, installed price per watt: use your written quote; LBNL reports a wide range across installers.
- Production per kW: depends on your location and roof; use NREL PVWatts.
- Self-use share and export credit: set by your habits and your utility tariff.
- Panel degradation, price escalation, loan and lease terms: optional; blank counts as zero or “not compared”.
Federal tax credit: $0 for 2026 installs
This calculator sets the federal credit to $0 because the credits below have ended. Quoted from irs.gov, checked October 26, 2026:
- Residential Clean Energy Credit (section 25D), which covered solar panels and battery storage. The IRS FAQ (FS-2025-05) says: “The credit will not be allowed for any expenditures made after December 31, 2025.” The IRS credit page says: “The credit is not available for any property placed in service after December 31, 2025.” (IRS page)
Source: IRS FAQs for modification of sections 25C, 25D, 25E, 30C, 30D, 45L, 45W and 179D. Tax rules can change and individual situations differ; ask a tax professional about your own return.
Worked examples
7 kW system, cash vs loan vs lease
Inputs: system size (kw dc) 7; annual production per kw (kwh/kw/yr, from nrel pvwatts) 1300; installed price ($ per watt, from your quote) 3.5; share of solar used in the home 70%; credit for exported power ($/kwh, from your utility) 0.05; years to compare 25; state or utility rebates ($) 0; loan apr, optional 7%; loan term (years, optional) 20; lease payment ($/month, optional) 120.
Result: Cash purchase payback: 18.9 years.
- System price before incentives: $24,500
- Net cost after rebates you entered: $24,500
- Federal tax credit: $0 (no federal credit applies to 2026 installs; see the IRS note below)
- Year-1 production: 9,100 kWh
- Year-1 bill value: $1,295
- Buy (cash): net after 25 yr: $7,880
- Buy (cash): payback: 18.9 yr
- Loan: monthly payment: $189.95
- Loan: total payments: $45,588
- Loan: net after 25 yr: −$13,208
- Lease: net after 25 yr: −$3,620
Sunny climate, high self-use, cash only
Inputs: system size (kw dc) 6; annual production per kw (kwh/kw/yr, from nrel pvwatts) 1600; installed price ($ per watt, from your quote) 3.0; share of solar used in the home 85%; credit for exported power ($/kwh, from your utility) 0.08; years to compare 25; state or utility rebates ($) 0.
Result: Cash purchase payback: 11.3 years.
- System price before incentives: $18,000
- Net cost after rebates you entered: $18,000
- Federal tax credit: $0 (no federal credit applies to 2026 installs; see the IRS note below)
- Year-1 production: 9,600 kWh
- Year-1 bill value: $1,600
- Buy (cash): net after 25 yr: $21,988
- Buy (cash): payback: 11.3 yr
- Loan: enter APR and term to compare
- Lease: enter the monthly lease payment to compare
Cloudy climate with price escalation
Inputs: system size (kw dc) 8; annual production per kw (kwh/kw/yr, from nrel pvwatts) 1100; installed price ($ per watt, from your quote) 4.0; share of solar used in the home 60%; credit for exported power ($/kwh, from your utility) 0.04; years to compare 25; electricity price change per year, optional 2%; state or utility rebates ($) 500.
Result: Cash purchase payback: 22.8 years.
- System price before incentives: $32,000
- Net cost after rebates you entered: $31,500
- Federal tax credit: $0 (no federal credit applies to 2026 installs; see the IRS note below)
- Year-1 production: 8,800 kWh
- Year-1 bill value: $1,101
- Buy (cash): net after 25 yr: $3,773
- Buy (cash): payback: 22.8 yr
- Loan: enter APR and term to compare
- Lease: enter the monthly lease payment to compare
Limitations
Results ignore taxes, insurance, maintenance, inverter replacement, roof work, time value of money and changes in utility rate design. Optional loss-per-year and price-change fields default to zero when blank.
Estimates only
Estimates only, no accuracy guarantee. Results depend entirely on the numbers you enter and on simplified formulas. Verify every figure independently, get written quotes from licensed contractors and check your utility’s actual rates. This page is not tax, financial, legal or engineering advice, and it does not recommend any product, installer or financing offer.
Frequently asked questions
Is there a 30% solar tax credit in 2026?
No. The IRS says the 25D credit is not allowed for expenditures made after December 31, 2025.
Is a loan or a lease cheaper?
It depends on the APR, term, lease payment and escalator; the calculator shows the net of each.
Where do I find kWh per kW?
From NREL PVWatts for your address with a 1 kW system.
Does the calculator include batteries?
No. Use the home battery backup calculator.
Why is my payback longer than the installer said?
Check whether the quote assumed a federal credit, full retail export credit or rising electricity prices.
Sources
- US Energy Information Administration. Electric Power Monthly, Table 5.6.B, average residential price January–August 2026 (US 18.19¢/kWh), released October 23, 2026. https://www.eia.gov/electricity/monthly/epm_table_grapher.php?t=epmt_5_6_b
- Lawrence Berkeley National Laboratory. U.S. Distributed Solar and Storage – 2026 Data Update (installer median prices $2.4–$6.3/W; median battery 13.5 kWh; paired storage +$2.1/W). emp.lbl.gov (PDF)
- National Renewable Energy Laboratory. PVWatts Calculator. https://pvwatts.nrel.gov/
- Internal Revenue Service. FS-2025-05, FAQs for modification of sections 25C, 25D, 25E, 30C, 30D, 45L, 45W and 179D under the One, Big, Beautiful Bill (Aug. 21, 2025). irs.gov
- Internal Revenue Service. Residential Clean Energy Credit. https://www.irs.gov/credits-deductions/residential-clean-energy-credit
Method details: how we calculate.