Solar Payback Calculator

Calculate solar payback years, 25-year savings and ROI from system cost, production, self-consumption, rates, price rises and degradation.

amount
Annual production
kW
kWh
%
Share of solar output used at home instead of exported. Fraunhofer ISE cites 20 to 40% for homes without a battery.
per kWh
per kWh
Credit for power sent to the grid. Use your retail rate under 1:1 net metering.
%/yr
An assumption. Change it to test other scenarios.
%/yr
NREL found a median loss of 0.5% per year.

Formula used

Formula and method below. Last checked by the SolarCalcLab Editorial Team.

Quick answer

Solar payback is the number of years until your electricity savings add up to the system cost. Simple payback = cost ÷ first-year savings. A $20,800 system in Phoenix that saves $1,582 in year one pays back in about 13.2 years, or 12.1 years if power prices rise 3% a year.

SolarCalcLab solar payback calculator showing 12.1 years for the default example
The Solar Payback calculator with a worked example. Change any input and the result updates instantly.

How to use the solar payback calculator

  1. Choose your currency. This only changes the symbol. Enter all money values in the same currency.
    Step 1: choose your currency in the Solar Payback calculator
  2. Enter the system cost after incentives. Use the price you will actually pay once rebates and credits are subtracted. The solar panel cost calculator can estimate it.
    Step 2: enter the system cost after incentives in the Solar Payback calculator
  3. Choose how to set annual production. Estimate from location uses PVGIS sun data. I know my kWh lets you type the first-year figure from a quote or from monitoring.
    Step 3: choose how to set annual production in the Solar Payback calculator
  4. Enter the system size. Use the total panel rating in kW. The calculator multiplies it by the yearly yield of 1 kW at your location.
    Step 4: enter the system size in the Solar Payback calculator
  5. Set your location. Search for your city or use your device location to pull long-term sun data.
    Step 5: set your location in the Solar Payback calculator
  6. Enter your self-consumption. This is the share of solar output you use in your home as it is produced. Without a battery, homes often use 20 to 40%, a range cited by Fraunhofer ISE, and export the rest.
    Step 6: enter your self-consumption in the Solar Payback calculator
  7. Enter your electricity rate. Use the price per kWh you pay for imported power, including delivery charges per kWh.
    Step 7: enter your electricity rate in the Solar Payback calculator
  8. Enter the export rate. This is what your utility or retailer pays for each kWh you send to the grid. Under 1:1 net metering, use your retail rate.
    Step 8: enter the export rate in the Solar Payback calculator
  9. Set the yearly electricity price rise. The default of 3% is an assumption, not a forecast. Try 0% to see a cautious case.
    Step 9: set the yearly electricity price rise in the Solar Payback calculator
  10. Set panel degradation. Output falls a little each year as panels age. The default is 0.5% per year.
    Step 10: set panel degradation in the Solar Payback calculator
  11. Read the payback period. The big number is the year your cumulative savings pass the system cost. The cards show first-year savings, 25-year savings and 25-year return on investment.
    Step 11: read the payback period in the Solar Payback calculator

Solar payback formula

The calculator builds savings year by year for 25 years.

Sy = E × (1 − d)y−1 × [s × r × (1 + i)y−1 + (1 − s) × e]
Payback = first year where S1 + S2 + … + Sy ≥ C
ROI = (total 25-year savings − C) ÷ C × 100

Where:

The payback year is interpolated within the year it is reached, so 12.1 means just over 12 years.

Worked examples

Example 1: 8 kW in Phoenix

The system costs $20,800. PVGIS gives about 1,830 kWh per kW, so first-year output is about 14,644 kWh. Self-use is 40%, the retail rate is $0.18 (close to the US average of 18.2¢ for January to July 2026 in EIA data) and the export rate is $0.06 as an example.

S1 = 14,644 × (0.4 × 0.18 + 0.6 × 0.06) = 14,644 × 0.108 = $1,581.55
Simple payback = 20,800 ÷ 1,581.55 = 13.2 years

With a 3% yearly price rise and 0.5% degradation, cumulative savings pass $20,800 in about 12.1 years. Total 25-year savings are about $48,360, an ROI of about 133%.

Example 2: 4,000 kWh a year with a better export rate

Hypothetical inputs: cost 7,000, 50% self-use, retail 0.25 and export 0.15 per kWh, in any currency.

S1 = 4,000 × (0.5 × 0.25 + 0.5 × 0.15) = 800
Simple payback = 7,000 ÷ 800 = 8.75 years

With 3% price rises the payback falls to about 8.3 years. With no price rises it is about 8.9 years, slightly longer than simple payback because of degradation.

Payback by self-consumption and price rise

Example 1 inputs ($20,800, 14,644 kWh, $0.18 retail, $0.06 export, 0.5% degradation), changing only self-consumption and the yearly price rise.

Self-consumption 0% price rise 3% price rise 5% price rise
20% 17.6 years 15.8 years 14.8 years
40% 13.6 years 12.1 years 11.3 years
60% 11.0 years 9.9 years 9.2 years
80% 9.3 years 8.4 years 7.9 years

Self-consumption matters most when the export rate is far below the retail rate.

What affects the result

System cost

Payback scales directly with cost. A 10% lower price cuts simple payback by 10%. Lost incentives, such as the US federal credit that ended for home systems placed in service after 2025, lengthen payback.

Self-consumption and export rate

Every kWh you use yourself saves the full retail rate. Every kWh you export earns only the export rate. Running appliances in daytime, or adding a battery, raises self-consumption.

Electricity price changes

Higher future prices make each saved kWh worth more. Price rises are uncertain, so compare a 0% case with your expected case before you decide.

Costs not included

The calculator does not include loan interest, inverter replacement, cleaning or insurance. Add a cost buffer if you finance the system or expect to replace the inverter within 25 years.

Frequently asked questions

What is a good solar payback period?

There is no fixed standard, but compare payback with the panels’ working life. Fraunhofer ISE notes that manufacturers commonly warrant no more than 10 to 15% power loss over 25 to 30 years. A payback well inside that period leaves many years of savings after the system has paid for itself.

What is the difference between simple payback and payback with price rises?

Simple payback divides cost by first-year savings and assumes nothing changes. The year-by-year payback adds yearly price rises and panel degradation. Price rises usually shorten payback, while degradation lengthens it slightly. The calculator shows both so you can see the effect.

How is solar ROI calculated?

ROI = (total savings over 25 years − system cost) ÷ system cost × 100. In example 1, ($48,360 − $20,800) ÷ $20,800 = 133%. It is a simple return, not an annual rate, and it does not discount future savings to today’s money.

Does a battery shorten solar payback?

A battery raises self-consumption, which increases savings, but it also adds cost. It shortens payback only when the extra savings per year are large compared with its price, such as under net billing with a low export rate or time-of-use rates with a big peak price.

How much do solar panels degrade each year?

A widely cited NREL review found a median degradation rate of 0.5% per year. Over 25 years at that rate, output in year 25 is about 89% of its first-year level, since 0.995 to the power of 24 is 0.887. Check the power warranty on your panel datasheet for the guaranteed figure.

Related calculators