Solar panel calculator: size, cost and payback

Estimate the solar system size, cost, first-year savings and payback for your home. No federal tax credit is included, because the 25D credit does not apply to systems installed after 2025.

State rates are 12-month residential averages from EIA, through August 2026. Use the rate on your own bill for the most accurate result.

How to use the solar panel calculator

  1. Choose your state – its solar production per kW (NREL PVWatts), average usage and rate load automatically.
  2. Replace the usage and rate with the numbers on your bill.
  3. Adjust the installed cost per watt to match a quote you received.
  4. Read the system size, cost, savings and payback.

Formula

System size (kW) = annual kWh ÷ kWh produced per kW, rounded up to whole 400 W panels. Cost = size × $ per watt. Savings each year = the lower of production and your use × your rate; panels lose 0.5% output a year. Payback is when total savings pass the cost.

Worked examples

Fastest solar payback for an average home (no federal credit)
StatekWh per kW/yrSize for avg homeCostPayback
Hawaii1,6224.0 kW$10,2803.8 yrs
California1,6774.0 kW$10,2805.2 yrs
Massachusetts1,3025.6 kW$14,3926.6 yrs
Rhode Island1,2945.2 kW$13,3646.9 yrs
Maine1,3195.2 kW$13,3647.1 yrs
New York1,2915.6 kW$14,3927.2 yrs
Connecticut1,2916.8 kW$17,4767.6 yrs
District of Columbia1,3915.6 kW$14,3927.7 yrs
New Hampshire1,2586.4 kW$16,4487.9 yrs
New Jersey1,3056.4 kW$16,4488.6 yrs
Maryland1,3928.4 kW$21,5888.9 yrs
New Mexico1,7796.8 kW$17,4769.0 yrs

Solar estimates by state

Frequently asked questions

How many solar panels do I need?

Divide your yearly kWh by the kWh one kW of panels produces where you live, then divide the kW by your panel size. The calculator does this using NREL production data for your state.

Is the federal solar tax credit included?

No. The residential clean energy credit (25D) does not apply to expenditures made after 31 December 2025, so these estimates include no federal credit. State or utility incentives may still apply.

How long does solar take to pay for itself?

It depends on sunshine, your electricity rate and the installed price. The table shows the states with the fastest payback for an average home under our assumptions.

Are these numbers a quote?

No. They are planning estimates. Compare real quotes, which reflect your roof, shading and local prices.

Related guides

More calculators