The formula
Year-1 production (kWh) = system kW × peak sun hours × 365 × (1 − losses)
Production in year y = year-1 × (1 − degradation)^(y − 1)
Savings in year y = production × (self-use share × retail price + export share × export rate) × (1 + price rise)^(y − 1) − maintenance
Net cost = installed cost × (1 − incentive %) − rebates
Payback = the year cumulative savings reach the net cost
Cost per kWh (LCOE) = net cost ÷ 25-year production
Worked example
- A 7 kW system costs $2.80 a watt, or $19,600, with no tax credit.
- With 4.5 peak sun hours and 14% losses it produces 7 × 4.5 × 365 × 0.86 = 9,888 kWh in its first year.
- You use 70% at home, saving $0.17 per kWh, and export 30% at $0.06: year-1 savings = 6,922 × 0.17 + 2,966 × 0.06 = $1,355.
- With electricity prices rising 3% a year, 0.5% annual panel degradation and $100 a year of maintenance, the system pays back in about 13.2 years.
- Over 25 years it saves about $24,200 more than it cost, and the solar electricity works out at about 8.4 cents per kWh.
How solar payback works
A solar system's payback period is how long it takes for the money saved on electricity bills to cover the cost of buying and installing it. After that, the electricity is effectively free for the rest of the system's life, typically 25–30 years for panels and 10–15 years for inverters. The calculator estimates production from the system size and your local peak sun hours, then values each kilowatt-hour depending on whether you use it yourself, which saves the full retail price, or export it to the grid for a lower feed-in rate. It repeats this for every year, allowing for rising electricity prices, panel degradation and maintenance.
Peak sun hours
Peak sun hours are the number of hours a day that sunlight averages 1,000 watts per square metre, the standard test condition for panels. They vary by location and season: about 3–3.5 in Seattle and northern Europe, 4–4.5 in much of the eastern and central US, 5–6.5 in the southwest US, 4.5–5.5 in most of Australia and 5–6 across much of India. London averages about 2.7. NREL's PVWatts tool in the US, PVGIS in Europe and Africa, and national resources elsewhere give location-specific estimates, including shading, tilt and direction.
Self-consumption and net metering
The value of exported electricity has a big effect on payback. Under full retail net metering, still available in some US states, every exported kWh is credited at the same price you pay, so set the self-use share to 100%. Many places now pay much less for exports: California's NEM 3.0 export credits average a few cents per kWh, and the UK's Smart Export Guarantee rates range from about 4p to 15p depending on the supplier. In those markets, using more of your solar output at home, by running appliances during the day, heating water or charging an EV, or adding a battery, improves the return.
Costs and incentives
Installed residential solar typically costs $2.50–3.50 per watt in the US before incentives, about £1,000–1,500 per kW in the UK and A$1,000–1,300 per kW in Australia, where costs are among the lowest in the world. The US federal residential clean energy credit (Section 25D), worth 30% of the cost, ended for systems placed in service after 31 December 2025, though some state rebates, utility programmes and property tax exemptions remain. Australia offers upfront small-scale technology certificates, the UK has 0% VAT on residential solar until 2027, and India's PM Surya Ghar scheme offers subsidies for rooftop systems.
Is solar worth it for you?
Solar pays back fastest where electricity is expensive, the sun is strong, export rates are fair and you'll stay in the home for many years. A south-facing roof (north-facing in the southern hemisphere) at a tilt close to your latitude is ideal; see our solar tilt angle calculator. East- and west-facing roofs produce about 10–20% less but can still be worthwhile. Shading from trees or chimneys can cut output dramatically. Compare loans or paying cash with our loan calculator, and consider how solar adds value at resale.
Batteries and EVs
Adding a home battery lets you store daytime solar for use in the evening, raising self-consumption from perhaps 30–50% to 70–90%, and provides backup during power cuts. Batteries add significant cost, so they make most financial sense where export rates are low or time-of-use prices are high. Size one with our solar battery and inverter calculator. Charging an electric car from solar can also improve payback considerably; see the EV vs gas calculator.