Solar Panel Calculator
Yearly generation = system size in kW × daily peak sun hours × 365 × (1 − losses). The share you use at home saves your unit price, and the rest earns your export rate. Payback is the year your running total of savings, with panel ageing and price rises, passes the system's cost after credits.
Last updated by Ultra Calculator
Solar Panels
How to calculate it
G = S × H × 365 × (1 − L); Y = min(G × u, U) × R + (G − min(G × u, U)) × X
- G
- first-year generation, kWh
- S
- system size, kW
- H
- peak sun hours per day, yearly average
- L
- system losses, as a fraction
- u
- share of generation used at home, as a fraction
- U
- yearly electricity use, kWh
- R
- electricity unit price per kWh
- X
- export payment per kWh
- Y
- first-year saving
Without a figure for yearly use, U = (12 × monthly bill − 365 × daily standing charge) ÷ R. Each later year, generation falls by the degradation rate, the saving on self-used power rises with the electricity price rise and export payments rise at the export payment rise. Payback is the first point where the running total of savings reaches the net cost (cost × (1 − credits)), found within 40 years. The 20-year figure is 20 years of savings minus the net cost, and ROI = that figure ÷ net cost × 100. CO₂ = G × your grid factor, in metric tonnes.
Worked example
6 kW system for a typical bill
A 150 monthly bill at 0.13 per kWh implies about 13,846 kWh a year. A 6 kW system at 5.5 sun hours with 14% losses makes 10,359 kWh. With net metering at the full 0.13, exports rise in value with the 3% price rise too, and it saves 1,347 in year one. With no tax credit it costs 18,000, paying back in 11.7 years with a 16,347 net saving over 20 years.
| Monthly Electricity Bill | $150.00 |
|---|---|
| Electricity Price per kWh | $0.13 |
| System Size (kW) | 6 |
| System Cost Before Incentives | $18,000.00 |
| US Federal Tax Credit (%) | 0.00% |
| State Credit or Grant (%) | 0.00% |
| Share of Generation Used at Home (%) | 50.00% |
| Export Payment per kWh | $0.13 |
| Peak Sun Hours per Day | 5.5 |
| System Losses (%) | 14.00% |
| Yearly Panel Degradation (%) | 0.50% |
| Yearly Electricity Price Rise (%) | 3.00% |
| Yearly Export Payment Rise (%) | 3.00% |
| Grid CO₂ (kg per kWh) | 0.35 |
| Net System Cost | $18,000.00 |
|---|---|
| First-Year Generation | 10,359 kWh |
| Used at Home in Year One | 5,179 kWh |
| Exported in Year One | 5,179 kWh |
| First-Year Saving | $1,346.63 |
| Payback Period | 11.7 years |
| Net Saving Over 20 Years | $16,347.34 |
| 20-Year Return (ROI) | 91% |
| CO₂ Avoided in Year One | 3.60 tonnes |
How to use this calculator
- Enter your Monthly Electricity Bill and Daily Standing Charge, or your Yearly Electricity Use in kWh, and your Electricity Price per kWh.
- Enter the System Size and the System Cost Before Incentives from your quote, and any credit or grant (for most new systems, and outside the US, both are 0).
- Set the Share of Generation Used at Home and the Export Payment per kWh.
- Enter the Peak Sun Hours, System Losses and Yearly Panel Degradation, from your installer's estimate or PVGIS.
- Set the Yearly Electricity Price Rise, the Yearly Export Payment Rise and the Grid CO₂, then read the generation, saving and payback.
Frequently asked questions
How much can solar panels save?
It depends on how much they generate, how much of that you use yourself and what you pay. Power you use saves your full unit price and exported power earns your export rate. In the 6 kW example, 10,359 kWh valued at 0.13 per kWh saves 1,347 in the first year.
How do I work out solar panel output?
Multiply the system size in kW by your average daily peak sun hours, by 365, and by (1 − losses). A 6 kW system with 5.5 sun hours and 14% losses gives 6 × 5.5 × 365 × 0.86 = 10,359 kWh a year. Shading and a poor roof angle reduce this further, so check it against your installer's estimate.
What is the payback period for solar panels?
It is the time until the savings add up to what the system cost after credits. The calculator adds each year's saving, with the panels' output falling and electricity prices rising, until the running total passes the net cost. The 6 kW example costs 18,000 and pays back in 11.7 years.
Does it work for solar panels in the UK?
Yes. Leave both credit fields at 0, enter your yearly kWh or your bill and standing charge, and set the export payment to your Smart Export Guarantee tariff. PVGIS gives about 3.5 peak sun hours for south-facing panels at the best tilt near London, and 3.1 in Edinburgh. Set the grid factor to the UK's 0.131 kg per kWh.
Is the US solar tax credit still available?
The IRS says the residential clean energy credit, worth 30% of the cost, is not available for property placed in service after 31 December 2025. The calculator starts the credit at 0, so only enter one that a tax adviser has confirmed applies to your system.
How much CO₂ do solar panels save?
The calculator multiplies the first year's generation by your grid's CO₂ per kWh: 0.348 kg for the US average (EPA eGRID 2023) or 0.131 kg for the UK (DESNZ 2026). The 6 kW example avoids about 3.6 tonnes a year on the US average grid. The cleaner the grid, the less each solar kWh avoids.
Learn more
Generation, sun hours and losses
A panel's kW rating is its output in full sun. Peak sun hours turn a day's varying sunlight into the equivalent number of full-sun hours, so kW × hours × 365 gives the yearly kWh in perfect conditions. System losses take off what is lost in cables, the inverter and dirt, and PVGIS uses 14% as its default.
Self-use and export
Electricity you generate and use straight away saves your full unit price. The rest is sent to the grid and paid at an export rate, which is often lower. How much you use yourself depends on when you are at home and whether you have a battery, so the share is one of your inputs.
Payback with degradation and price rises
Panels lose a little output each year, set by the degradation rate, while electricity prices usually rise. A rise makes the power you use yourself worth more, but a fixed export tariff pays the same each year. The calculator works through the years one at a time, so the payback and the 20-year figure reflect both rather than repeating the first year's saving.
- Checking an installer's payback claim against your own bill
- Comparing two system sizes from different quotes
- Seeing how much an export tariff matters if you are out during the day
- Testing what a battery is worth by raising the share used at home
- Estimating solar savings for a home energy or school project
Counting a tax credit that has ended
The US residential clean energy credit is not available for systems placed in service after 2025, and it never applied outside the US. Including it makes the system look 30% cheaper than it is.
Using summer sun hours
Sun hours must be a whole-year average. A sunny-month figure overstates generation for the winter months.
Assuming you use all the power you make
Without a battery, much of a system's output is made while the house is empty and is exported at the export rate. Set the share used at home to match your daytime use.
Treating the result as a quote
Shading, roof direction and tilt change real output. Use your installer's generation estimate, or the PVGIS figure for your address, to set the sun hours.
- Get the yearly generation figure from two or more installer quotes and divide it by the kW size, 365 and (1 − losses) to get the sun hours.
- Compare export tariffs before you sign. Under the UK Smart Export Guarantee, suppliers set their own rates.
- Run the calculator with the export rate at 0 to see how much depends on selling surplus power.
- Check that your roof won't need replacing during the panels' life, since removing and refitting them adds cost.
Methodology and sources
First-year generation is system size × peak sun hours × 365 × (1 − system losses). Yearly use is the figure you enter, or (12 × bill − 365 × standing charge) ÷ your unit price. The share used at home, up to your yearly use, is valued at your unit price and the rest at your export payment. Each later year the output falls by the degradation rate, the value of self-used power rises with your electricity price rise, and export payments rise at your export payment rise, which starts at 0 because many export tariffs are fixed. Payback is when the running total of savings reaches the cost after credits, found within 40 years. The 20-year figure is 20 years of savings minus that cost. CO₂ uses your grid factor. Battery storage, maintenance, inverter replacement and finance costs are not included.
- IRS: Residential Clean Energy Credit
- Ofgem: Smart Export Guarantee (SEG)
- European Commission JRC: PVGIS user manual (system losses)
- European Commission JRC: PVGIS photovoltaic performance tool
- US EPA: eGRID summary data (2023 US average CO₂ output emission rate)
- GOV.UK: Greenhouse gas reporting, conversion factors 2026