ScienceEngineering

Solar Panel
calculator.

Estimate what a rooftop solar system makes, saves and costs, and when it pays back.

Before you rely on this result. This is a planning estimate, not a system design, an installer’s quote or your utility’s approval. Shade, roof direction, local weather and export rules change the real figures. Sources used on this page.

How it's worked out

Production starts from peak sun hours: the sunlight that lands on the panels in a day, counted as hours at the 1,000 W/m² that panels are rated at. Four and a half peak sun hours means 4.5 kWh of sunlight per square meter of panel each day. A system of so many kW then makes that many kW for H hours a day, less its losses.

kWh a year\displaystyle \text{kWh a year}=kW×H×365×PR\displaystyle {}=\;\text{kW} \times H \times 365 \times \text{PR}

The performance ratio, PR, covers the losses. NREL’s PVWatts manual lists its defaults: soiling 2%, shading 3%, mismatch 2%, wiring 2%, connections 0.5%, light-induced degradation 1.5%, nameplate 1% and availability 3%. They multiply rather than add, to 14.1%, which leaves 0.86. PVWatts models the inverter and panel heat on top of that, and its manual gives an all-in factor of 0.826 for a 96% inverter.

Savings are each year’s output times that year’s rate. The panels lose a share d of their output each year, about 0.5% by the PVWatts manual, while the price you would have paid rises by your escalation e.

kWhn\displaystyle \text{kWh}_{n}=kWh1(1−d)n−1\displaystyle {}=\;\text{kWh}_{1}(1 - d)^{n-1}
raten\displaystyle \text{rate}_{n}=rate1(1+e)n−1\displaystyle {}=\;\text{rate}_{1}(1 + e)^{n-1}
savingsn\displaystyle \text{savings}_{n}=kWhn×raten\displaystyle {}=\;\text{kWh}_{n} \times \text{rate}_{n}

Cost and payback. The cost is the size in watts W times the installed price per watt p, less any incentive i. Payback is the point where the running total of savings catches up with that cost.

cost\displaystyle \text{cost}=W×p×(1−i)\displaystyle {}= W \times p \times (1 - i)

Panel area follows PVWatts’ rule in NREL’s help for its models: kW divided by module efficiency gives square meters, 19% for a standard module and 21% for a premium one. That is the panels alone, without gaps or the setbacks a roof needs.

Worked examples

Dana checks a 6 kW quote

Dana’s quote is 6 kW at $3.00 a watt. With 4.5 sun hours and a performance ratio of 86%, the system makes about 8,475 kWh in its first year.

6×4.5×365×0.86\displaystyle 6 \times 4.5 \times 365 \times 0.86=8,475 kWh\displaystyle {}= 8,475\ \text{kWh}

At $0.17 a kWh that saves $1,441 in year one against a cost of $18,000. With the rate rising 2.5% a year it pays back in about 11.3 years and is $28,076 ahead after 25 years. If prices never rose, payback would take 12.9 years.

Open this example in the tool

Luis sizes a system to cover his use

Luis used 10,800 kWh last year, close to the EIA’s 2022 average of 10,791 kWh for a US home. His site gets 6.2 sun hours, and he assumes a performance ratio of 84%.

kW\displaystyle \text{kW}=108006.2×365×0.84\displaystyle {}= \frac{10800}{6.2 \times 365 \times 0.84}=5.68\displaystyle {}= 5.68

That is 5.68 kW, or 15 panels of 400 W, about 322 ft² of standard modules. At $2.80 a watt and $0.15 a kWh it costs $15,908 and pays back in about 9.06 years.

Open this example in the tool

Priya weighs a rebate against high rates

Priya pays $0.32 a kWh and her state offers a 20% rebate. Her 7 kW system at 4 sun hours makes 8,789 kWh and saves $2,813 in year one.

The rebate cuts $23,800 to $19,040, and payback comes in about 6.33 years. Without the rebate it would take 7.77 years. Each kWh she makes is worth almost twice what it is worth to Dana, which is why her payback is so much shorter.

Open this example in the tool

Reading your result

Sun hours move the answer most. Each kW of panels makes about 1,413 kWh a year at 4.5 sun hours and 1,004 kWh at 3.2, at the same 86% ratio. Use a figure for your own address; PVWatts reports one from its weather data.

The ratio you choose matters too. Dana’s system makes 8,475 kWh at 0.86 but 8,136 kWh at PVWatts’ all-in 0.826. If you take sun hours from PVWatts and want to match its total, use the all-in figure.

Treat it as a planning range. The PVWatts manual says its own annual estimates can be off by as much as 10% in a typical year, and 30% for a single month. A real year can stray further. Shade, roof direction and your utility’s rules for exported power can change the savings more than any figure here.

The federal credit has ended. The IRS says the 30% Residential Clean Energy Credit is not available for property placed in service after December 31, 2025. Enter any state, utility or local rebate as a percentage; leave it at 0 if there is none.

Common mistakes

Using a monthly bill as the yearly use. Add up all 12 months: use swings with the seasons, and one month times 12 can be far off.

Counting every kWh at the full retail rate. If your utility credits power you send back to the grid at less than it charges, the savings here are too high unless you use most of the output yourself. Check its export rule.

Reading the panel area as roof area. Panels need gaps, edges and fire setbacks, so the roof space you need is larger than the module area.

Confusing kW with kWh. The kW on a quote is the size of the panels; the kWh is what they make. A 6 kW system here makes about 8,475 kWh a year, and an average home at the same sun would need 7.64 kW.

Questions people ask

Divide a year of use by what 1 kW makes where you live, then divide the kW by your panel’s rating. At 4.5 sun hours and 86%, 1 kW makes about 1,413 kWh, so 10,791 kWh needs 7.64 kW. With 400 W panels that is 20 panels.

Sources