Solar Panel Payback Calculator: How Many Years to Repay Your System?
Enter the system size and cost, the yearly yield for your site and the price of grid electricity. You will see the payback time, the simple payback, the net gain over the years and a year-by-year table.
Last reviewed
Payback time
5.02 years
5.26 years by the simple cost ÷ first-year savings
- First-year output
- 7,500 kWh
- First-year saving
- $1,425
- Net gain over 25 years
- $40,091
- Return on the cost
- 534.5%
- Cost per kWh produced
- $0.055
- Output over 25 years
- 171,557 kWh
| Year | Saving that year | Cumulative |
|---|---|---|
| 1 | $1,425 | -$6,075 |
| 5 | $1,563 | -$33 |
| 10 | $1,754 | $8,346 |
| 15 | $1,967 | $17,746 |
| 20 | $2,205 | $28,283 |
| 25 | $2,470 | $40,091 |
Nothing is discounted for the time value of money. Tariffs, exchange rates and export rules change, and so does real output with shade, dirt and weather. Use quotes and your own bills.
What solar payback means
The payback time of a solar system is how long the electricity it produces takes to repay what you paid for it. After that, the electricity is free apart from upkeep. It is the question most buyers ask first, and the honest answer depends on four things: what the system costs, how much it produces on your roof, what a kilowatt-hour from the grid costs you, and how much of the output you use rather than export.
This calculator runs the numbers year by year. It lets output fall slowly as panels age and lets your grid tariff rise, because both change the answer over a 25-year life.
The inputs
- System size and yearly yield. Yield is the kWh a kW of panels produces in a year at your location. Free tools estimate it from your site and roof angle: PVGIS from the European Commission’s Joint Research Centre gives yearly PV energy production in kWh for a place and an installed power, and your installer will give you an estimate too.
- Grid price you avoid. The price per kWh you pay now, from your bill, including any charges that scale with use.
- Used on site. The share of the output you use yourself. The rest is exported, and earns the export rate you enter, which can be zero.
- Yearly output loss. Panels lose a little output each year. A 2022 study by NREL researchers of 1,700 US commercial and utility sites (7.2 GW) found an overall loss of 0.75% a year, with a median of 0.88% in hotter zones and 0.48% in cooler ones. The calculator starts at 0.75%. Use your panel maker’s warranty figure if you have it.
- Yearly rise in the grid price. A guess. Set it to zero for a cautious answer.
The calculation
For each year n, starting at 1:
- Production = size × yield × (1 − output loss)^(n − 1).
- Grid price = today’s price × (1 + yearly rise)^(n − 1).
- Value = production × (used share × grid price + exported share × export rate).
- Net saving = value − yearly upkeep.
The cumulative position starts at minus the system cost and adds each year’s net saving. Payback is the first year it reaches zero, counted as a fraction of the year. The simple payback is cost ÷ first-year net saving, which ignores ageing and tariff changes. Nothing is discounted.
Worked example
A 5 kW system costs 7,500 installed. The yield is 1,500 kWh per kW a year, so the first year produces 5 × 1,500 = 7,500 kWh. Grid electricity costs 0.20 a kWh and all of it is used on site, so the first-year value is 1,500. Upkeep is 75 a year, so the net saving is 1,425.
- Simple payback = 7,500 ÷ 1,425 = 5.26 years.
- With output falling 0.75% a year and the grid price rising 3% a year, savings grow from 1,425 to 1,563.18 in year 5 and 1,599.67 in year 6. The cumulative position is −33.35 after year 5 and +1,566.32 after year 6, so payback is 5.02 years, a little sooner than the simple figure.
- After 25 years the net gain is 40,091.44, which is a return of 534.6% on the cost.
The same system year by year
| Year | Saving that year | Cumulative |
|---|---|---|
| 1 | 1,425.00 | -6,075.00 |
| 5 | 1,563.18 | -33.35 |
| 6 | 1,599.67 | 1,566.32 |
| 10 | 1,753.95 | 8,346.45 |
| 15 | 1,966.92 | 17,745.73 |
| 20 | 2,204.70 | 28,283.22 |
| 25 | 2,470.17 | 40,091.44 |
With exports and no price rise. If only 60% of the output is used on site and the rest is exported at 0.08 a kWh, with the grid price and output both held flat, the first-year saving is 1,065 and payback stretches to 7.04 years. The 25-year net gain falls to 19,125.
Points to check
- Rising tariffs help, but they are a bet. Set the yearly rise to zero and see whether the system still pays back.
- Self-consumption matters most when exports pay little. Using the power yourself is worth the full grid price. Exporting it may be worth much less.
- Include everything in the cost. Panels, inverter, mounting, wiring, permits and installation. Subtract any grant or rebate you are certain to receive.
- Plan for the inverter. Ask the installer for the inverter’s warranty period and its expected life, and put a reserve for replacing it in the yearly upkeep.
- Not a quote. Shade, roof angle, dust and weather all change real output. Get quotes from installers and compare.
Related tools: the home battery sizing calculator, the electricity cost calculator, the payback period calculator and the ROI calculator.
Frequently asked questions
How is solar payback calculated?
Divide the system cost by the first-year net saving for the simple payback. For a fuller answer, run year by year with panel output falling slowly and the grid price changing, and find the year when the cumulative savings reach the cost. The calculator shows both.
Where do I get the yearly yield?
It is the kWh a kW of panels produces in a year at your location and roof angle. PVGIS from the European Commission and your installer’s quote both estimate it. Enter that figure, because yield varies a lot between sites and the default is only an example.
How much do solar panels lose each year?
A 2022 NREL-led study of 1,700 US commercial and utility sites found an overall loss of 0.75% a year, with 0.88% in hotter zones and 0.48% in cooler ones. Use your panel warranty’s figure if it is stated. The calculator starts at 0.75%.
Should I count exports?
Yes, if your utility pays for them. Enter the share of output you use on site and the rate paid for the rest. Where exports earn little, a higher share used on site gives a shorter payback because each kWh used saves the full grid price.
Why can the payback be shorter than the simple figure?
The simple figure uses the first year’s saving. If the grid price rises faster than output falls, later savings are larger and the cost is repaid sooner. With a flat or falling price, the full calculation is longer than the simple one.
What does this calculator leave out?
It does not discount future money, add loan interest, or include grants and tax effects, and it assumes the same output profile every year. Real output varies with shade, dirt and weather, so use it to compare options and confirm with quotes.
Related calculators
- Home Battery Sizing CalculatorList your appliances with their watts and hours of use, and set your days of backup and battery details.
- Generator Sizing CalculatorList your appliances with their running watts, starting watts and quantity.
- Electricity Cost CalculatorEnter each appliance's watts, the hours it runs each day and the days a year, with your price per kWh.
- Payback Period CalculatorPayback tells you how long your money is at risk.
- ROI CalculatorEnter what you put in, what it is worth, any income and costs, and how long you held it.
- LED Savings CalculatorEnter the watts of your old bulbs and the LED, the hours they are on and your electricity price.
Sources
- Jordan, Anderson, Perry, Muller, Deceglie, White and Deline (NREL), Photovoltaic fleet degradation insights, Progress in Photovoltaics 30(10), 1166-1175, 2022 (1,700 sites, 7.2 GW: overall -0.75% a year; cooler climates -0.48%, hotter -0.88%)
- European Commission Joint Research Centre: PVGIS, estimates of yearly PV energy production for a location and installed power
This tool is for information only and is not financial advice. Figures are estimates, confirm anything you act on with your lender or a qualified adviser.