Solar Cost Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the system size, the installed price per watt from your quote and your electricity rate to see the net cost, yearly savings and payback period of a home solar system.
Result
Payback periodyears
Installed cost before incentives
- Tax credit
- Net cost
- Yearly production (kWh)
- Bill savings in year 1
- Bill savings over 25 years
- Savings over 25 years minus net cost
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
Affiliate link
This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.
Search Amazon for solar panel kits. Visit Amazon
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- System size (kW DC): enter a number from 0.5 to 100.
- Installed price ($ per watt, from your quote): enter 0 or more.
- Tax credit (% of cost): enter a number from 0 to 100.
- Rebates and other incentives, in dollars: enter 0 or more.
- Yearly production per kW (kWh per kW): enter 1 or more.
- Electricity rate, in dollars / kWh: enter 0.001 or more.
- Yearly rise in electricity rates, in percent: enter a number from 0 to 20.
- Read the result: Payback period; the panel also shows Installed cost before incentives, Tax credit, Net cost, Yearly production (kWh), Bill savings in year 1, Bill savings over 25 years and Savings over 25 years minus net cost.
How this calculator works
Installed cost = size in kW × 1,000 × price per watt. Net cost = installed cost − tax credit − rebates.
Yearly production = size × kWh produced per kW in a year (your installer's estimate or the PVWatts model of the National Laboratory of the Rockies gives this figure for your roof and location). Year-1 savings = yearly production × your electricity rate, assuming every kWh offsets a kWh you would have bought at that rate.
Payback: with electricity rates rising by g per year, savings over n years are S × ((1 + g)^n − 1) / g, so the payback period is n = ln(1 + net cost × g / S) / ln(1 + g). With g = 0 it is simply net cost / S.
Federal credit: according to the IRS (irs.gov, Residential Clean Energy Credit page, read October 28, 2026), the credit equals 30% of the cost of qualified property installed from 2022 through December 31, 2025, and "is not available for any property placed in service after December 31, 2025." The tax credit field therefore starts at 0%; enter 30 only for a system placed in service by that date, or the rate of a state credit that applies to you.
Not included: financing costs, maintenance, inverter replacement, panel output decline over time and net-metering rules that pay less than the retail rate for power sent to the grid. The default price per watt, production and rate are examples to replace with your own figures.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| System size (kW DC) | ||
| Installed price ($ per watt, from your quote) | ||
| Tax credit (% of cost) | ||
| Rebates and other incentives | $ | |
| Yearly production per kW | kWh per kW | |
| Electricity rate | $ / kWh | |
| Yearly rise in electricity rates | % | |
| Result of step 1 | ||
| Result of step 2 | ||
| Result of step 3 | ||
| Result of step 4 | ||
| Result of step 5 | ||
| Result of step 6 | ||
| Payback period | years |
Worked example
| System size (kW DC) | 7 |
|---|---|
| Installed price ($ per watt, from your quote) | 3 |
| Tax credit (% of cost) | 0 |
| Rebates and other incentives | $0 |
| Yearly production per kW (kWh per kW) | 1,300 |
| Electricity rate | $0.17 / kWh |
| Yearly rise in electricity rates | 2% |
| Installed cost before incentives | $21,000 |
|---|---|
| Tax credit | $0 |
| Net cost | $21,000 |
| Yearly production (kWh) | 9,100 |
| Bill savings in year 1 | $1,547 |
| Bill savings over 25 years | $49,551 |
| Savings over 25 years minus net cost | $28,551 |
Payback period 12.1 years
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Is there still a 30% federal solar tax credit?
Not for new home systems. The IRS says the Residential Clean Energy Credit is not available for property placed in service after December 31, 2025.
What is a good solar payback period?
It depends on your electricity rate, sunshine and installed price. Compare the payback period with the warranty of the panels and inverter: savings after payback are your return.
Where do I find my electricity rate?
Add up the energy and delivery charges on your electric bill and divide by the kWh used that month. Leave out fixed monthly charges, which do not go away with solar.