Investments · Energy

Solar Panels vs Investing Calculator

Spend the money on solar panels and a battery, or put it in a global index tracker? Enter your quote and this calculator runs both for 25 years: bill savings and export income (minus inverter and battery replacements) reinvested as they arrive, against the lump sum compounding in the market. You get a low, central and high case for solar, a percentile range for the index, and the odds that solar comes out ahead.

9 min read· Updated 13 November 2026· 🇬🇧 UK
Calculator
Your quote
£
kWh
W

System size: 5.00 kWp

Location & roof

We only use the letters at the start to pick your region. Nothing is sent anywhere.

%
kWh

Your home & tariff
kWh/yr
%
p/kWh
p/kWh

Import default: Ofgem price cap, Oct–Dec 2026 (GB average), 26.32p. Standing charge 54.83p/day is paid either way, so it doesn't change the saving. VAT on domestic electricity is 0% until 31 Mar 2027.

The alternative: index tracker
%/yr
years
Invest outside an ISA (GIA) i
Advanced assumptions
%/yr

Central case. Low and high use −2 and +2 points. UK prices rose about 4.6% a year from 1990 to 2025 (DESNZ).

%/yr

Component lifespans & replacement costs

£

Suggested: 30 years (25–35 years (performance warranty usually 25–30 years at 85–90% output)); £250 per panel, incl. share of scaffold and labour.

£

Suggested: 13 years (10–15 years); £1000 per inverter (hybrid inverters may cost more).

£

Suggested: 12 years (10–15 years (check the capacity warranty, e.g. 70% after 10 years)); £400 per kWh installed (prices are falling).

· Replacements fall due at each multiple of the life, are skipped in the last 3 years, and rise 2% a year. Panel replacement resets degradation; battery replacement resets the self-use fade.

Count the panels' remaining value at the end i
Battery arbitrage (charge cheap overnight, use at peak)
Solar vs index: central case
Low · central · high

Your money over time

Solar lines (dashed) are scenarios: they move self-use, price growth, export rate, yield and replacement costs together. Index lines (dotted) are the 10th, 50th and 90th percentiles of 2,000 simulated market paths (15% annual volatility). The text above puts both on the same percentile basis.

Range of outcomes at the horizon
What moves the answer most

Change in the final gap (solar pot − index pot), central case, when each input moves by the amount shown.

Your result

Enter your quote and press Compare.

Key takeaways

Key takeaways · 2026/27

  • Solar's yearly return (IRR) is also the break-even market return: if you expect the index to beat it, investing wins; if not, solar does.
  • On a typical £10k, 5 kWp east-west system with a 5 kWh battery in the north-west, the central case returns about 6% a year and pays back in about 15–16 years, close to a 6.5% index tracker.
  • The battery and inverter usually need replacing once in 25 years. At today's prices that's roughly £2,000 and £1,000, and it often decides which option wins.
  • How much you use yourself matters more than the export rate: every kWh used at home saves about 26p, every kWh exported earns 4–15p.
  • Electricity price growth and the market return dominate the result, so look at the range, not a single number.
How it works

Solar panels or an index fund: how to compare them fairly

Most solar calculators stop at a payback period. That ignores what the money would have done otherwise. This page treats both choices as investments and lets them run for the same number of years. The index tracker gets the whole sum on day one and compounds at the market return. Solar starts at zero but produces a stream of tax-free bill savings and export income every year. We assume each year's saving is invested in the same index as it arrives, and take out the cost of replacing the inverter and battery when they fall due. Whichever pot is bigger at the end was the better use of the money.

Framed that way, there's a neat shortcut: solar's internal rate of return (IRR) is exactly the market return at which the two pots finish level. If you think the market will beat it, investing wins; if not, solar does.

Worked example: £10,000, 5 kWp east-west, 5 kWh battery, north-west England

The installer quotes 4,250 kWh a year. With a battery the household uses 60% of it (2,550 kWh, saving 26.32p each at the October–December 2026 price cap) and exports the rest at 5p. That's about £756 in year one. With prices rising 3% a year, a battery replacement in year 12 (about £2,500) and an inverter in year 13 (about £1,300), the system pays back after about 15.6 years and returns 6.0% a year. Reinvested, the savings grow to about £45,700 after 25 years, against £48,300 for £10,000 left in a tracker returning 6.5%. It's close: solar finishes ahead in about half of the simulated futures.

What the low and high cases change

The low case assumes you use 15 points less of your own electricity, prices grow 2 points a year slower, the roof produces 20% less than quoted, export pays 20% less and replacements cost double. The high case assumes 12 points more self-use, prices 2 points faster, 5% more generation, a premium export rate (2.4 times the one you entered, so 12p on a 5p default) and replacements at half price. They are deliberately wide: the gap between them is the honest uncertainty in a 25-year bet on energy prices.

Ask your installer: the warranty length for the panels, inverter and battery; the battery's cycle or capacity guarantee; whether the inverter is a hybrid (it may cost more to replace); and the MCS generation estimate for your roof, which beats our regional averages.

Data and assumptions

Default import price: Ofgem's October–December 2026 cap, 26.32p/kWh (GB average). The 54.83p daily standing charge is paid either way, so it doesn't affect the saving. Regional generation figures are approximate averages for a 35° roof and only a starting point. Export tariffs, battery prices and component lifespans were last reviewed on 13 November 2026. Index returns are lognormal with 15% annual volatility. All figures are nominal (not adjusted for inflation). Electricity bill savings and export income for a home system are not taxed in the UK; investment returns outside an ISA are, which you can model with the GIA switch.

General information, not financial advice. The results are illustrations under the assumptions shown, all of which you can change. Real generation, prices, component lifespans and market returns will differ. Check quotes with an MCS-certified installer and consider regulated advice for investment decisions.

Frequently Asked Questions

Are solar panels worth it in the UK?
Often, but not always better than investing the money. A typical 4–5 kWp system with a battery returns roughly 4–8% a year in the central case, depending mainly on how much of the electricity you use yourself, what you pay per kWh and how fast prices rise. A global index tracker has historically returned around 6–7% a year before inflation, with much bigger swings. If solar's return (shown as the IRR) is above the market return you expect, solar is the better use of the money in that scenario.
How long do solar panels, inverters and batteries last?
Panels are the longest-lived part: 25–35 years, and most come with a 25–30 year performance warranty promising 85–90% of the original output at the end. Inverters are the most likely first failure, typically after 10–15 years, and cost around £1,000 to replace. Home batteries last about 10–15 years; check the capacity warranty (for example 70% after 10 years) and the cycle guarantee. This calculator assumes 30, 13 and 12 years and lets you change each one.
What is the payback period for solar panels with a battery?
For a £10,000 system generating about 4,250 kWh a year, with 60% used at home, the central case pays back in about 15–16 years once a battery and inverter replacement are included. Higher self-use, a better export tariff or faster price rises can bring that under 10 years; poor self-use and flat prices can push it beyond 25.
Is it better to put £10,000 in solar panels or an ISA?
It depends on the return you expect from the ISA. Solar bill savings and domestic export income are tax-free, and so is growth inside an ISA, so the comparison comes down to solar's IRR against the market return. On the sample quote they are close (about 6.0% vs an assumed 6.5%), and solar wins in roughly half of the simulated futures. Outside an ISA, tax on investment returns tips the balance further towards solar.
Does the export tariff make a big difference?
Less than most people expect. Moving from a 4p to a 12p export rate adds roughly £60–£140 a year on a typical system, because a battery leaves you exporting only about 40% of your output. Using more of your own electricity (running appliances in the day, an EV or a heat pump) usually adds more, because each kWh you use saves the full import price of about 26p.
Why does the calculator show ranges rather than one answer?
Because the two biggest drivers, electricity price growth and stock-market returns, are unknowable. The solar low, central and high lines change self-use, price growth, export rate, roof performance and replacement costs together. The index lines are the 10th, 50th and 90th percentiles of 2,000 simulated market paths. The probability figure combines both: in what share of simulated futures does solar finish with the bigger pot?
Should I include the value of the panels at the end?
The base case doesn't, which is cautious: after 25 years the panels may still work for several more years. Turn on 'count the panels' remaining value' in the advanced assumptions to add half of their remaining straight-line value at the horizon.
Disclaimer: Figures are estimates based on 2026/27 rates and rules and may change. Verify with HMRC or a qualified adviser before making financial decisions.