Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

Payback period—years

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.

Solar Cost Calculator

System size (kW DC): enter a number from 0.5 to 100. Prefilled example: 7.

Installed price ($ per watt, from your quote): enter 0 or more. Prefilled example: 3.

Tax credit (% of cost): enter a number from 0 to 100. Prefilled example: 0.

Rebates and other incentives, in dollars: enter 0 or more. Prefilled example: 0.

Yearly production per kW (kWh per kW): enter 1 or more. Prefilled example: 1,300.

Electricity rate, in dollars / kWh: enter 0.001 or more. Prefilled example: 0.17.

Yearly rise in electricity rates, in percent: enter a number from 0 to 20. Prefilled example: 2.

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.

  1. System size (kW DC): enter a number from 0.5 to 100.
  2. Installed price ($ per watt, from your quote): enter 0 or more.
  3. Tax credit (% of cost): enter a number from 0 to 100.
  4. Rebates and other incentives, in dollars: enter 0 or more.
  5. Yearly production per kW (kWh per kW): enter 1 or more.
  6. Electricity rate, in dollars / kWh: enter 0.001 or more.
  7. Yearly rise in electricity rates, in percent: enter a number from 0 to 20.
  8. 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

  1. G=kw×1,000×ppw
  2. Cr=G×c100
  3. Nt=G−Cr−r
  4. Ky=kw×yld
  5. Sv=Ky×p
  6. E=esc100
  7. Pa={ln⁡(1+Nt×ESv)ln⁡(1+E)if E>0NtSvotherwise
Symbols used in the formula
SymbolMeaningUnit
kwSystem size (kW DC)
ppwInstalled price ($ per watt, from your quote)
cTax credit (% of cost)
rRebates and other incentives$
yldYearly production per kWkWh per kW
pElectricity rate$ / kWh
escYearly rise in electricity rates%
GResult of step 1
CrResult of step 2
NtResult of step 3
KyResult of step 4
SvResult of step 5
EResult of step 6
PaPayback periodyears

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 rates2%
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
  1. G=7×1,000×3=21,000
  2. Cr=21,000×0100=0
  3. Nt=21,000−0−0=21,000
  4. Ky=7×1,300=9,100
  5. Sv=9,100×0.17=1,547
  6. E=2100=0.02
  7. Pa=ln⁡(1+21,000×0.021,547)ln⁡(1+0.02)=12.1293

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.

Questions answered

Related calculators