MeterMath

How long will solar panels take to pay off?

Payback for rooftop solar bought in 2026, using your state's electricity price and typical sunshine. The 30% federal credit ended with 2025, and this calculator assumes it is gone.

¢/kWh
 
kWh
 
kW
 
$/W
2026 quotes average $2.60 to $3.00.
$
Rebates or state tax credits.
% of retail
 
Output, rate increases and upkeep
kWh/kW
 
%
The rest goes to the grid. Higher if you are home by day.
%
U.S. prices rose 5% in the past year.
%
$
Set to 0 if your inverter warranty runs 25 years.

How the math works

Each year, the calculator estimates what the panels produce, values that power at your electricity price, and adds it up until the savings cover what you paid.

Output (year n) = size × output per kW × (1 − loss)^(n−1) Value (year n) = power used at home × price + power exported × price × export credit Price (year n) = today's price × (1 + yearly rise)^(n−1) Payback = first year cumulative value ≥ net system cost

"Power used at home" covers output up to your yearly use. The share you set as "used as it is made" counts at full price, and the rest is credited at your export rate.

What this leaves out

  • Batteries. A battery adds roughly $8,000 to $15,000 and raises how much of your own power you use.
  • Loans and leases. This assumes a cash purchase. Loan interest stretches payback; leases change who owns the savings.
  • Roof work. If your roof needs replacing within 10 years, do that first; removing and reinstalling panels costs extra.
  • Home value. Owned solar can raise resale value, which is not counted here.

A worked example

Take an average U.S. home: 869 kWh a month, electricity at 18.2¢/kWh, and an estimated 1,350 kWh a year from each kW of panels.

  1. The home uses 10,428 kWh a year, so covering it takes 10,428 ÷ 1,350 = 7.7 kW, rounded up to 8.0 kW.
  2. At $2.80 a watt that system costs $22,400. With the federal credit gone, that is what you pay unless a state or utility program helps.
  3. In year one it makes 10,800 kWh. Half is used in the house as it is made and saves the full 18.2¢: $947.
  4. The other half goes to the grid while nobody is using it and is credited at 75% of the retail price: $761.
  5. Year-one savings come to $1,708. Prices are assumed to rise 3% a year and the panels to lose 0.5% of output a year, so savings grow slowly over time.

Those savings add up to the system's cost after about 12.3 years. After 25 years, including a $2,000 inverter replacement, the owner is $34,069 ahead.

What changes the payback most

ChangeYou payPaybackAfter 25 years
The example above$22,40012.3 yrs$34,069
Quote of $2.40 a watt$19,20010.0 yrs$37,269
Quote of $3.20 a watt$25,60013.7 yrs$30,869
Full retail credit for exports$22,40010.2 yrs$42,463
Exports credited at 25%$22,40016.4 yrs$17,282
70% used at home as it is made$22,40010.9 yrs$37,398
Prices rise 1% a year$22,40013.8 yrs$21,117
Prices rise 5% a year$22,40010.5 yrs$51,782
$3,000 state or utility rebate$19,40010.1 yrs$37,069

The quote and the export credit move payback the most. A quote at $2.40 instead of $3.20 a watt changes payback from 13.7 years to 10.0 years. An export credit cut to 25% of retail, as under California's net billing rules, stretches it to 16.4 years, which is why using more of your own power as it is made, or adding a battery, matters most where export credits are low.

Where solar pays back fastest and slowest

Sized for each state's average home, with each state's electricity price and sunshine, the fastest paybacks are in Hawaii (6.0 years), Maine (7.7 years), Massachusetts (8.0 years). The slowest are in Washington (17.3 years), North Dakota (16.3 years), Kentucky (16.3 years). Electricity prices do more for payback than sunshine because they vary much more: from 12.7¢ to 47.2¢/kWh across the states, 3.7 times apart, while estimated output per kW runs only from 850 to 1,750 kWh, 2.1 times apart.

Before you sign a quote

  • Compare price per watt, not total price. Divide the full price, including permits and fees, by the system size in watts. That is the number to enter above.
  • Ask for the expected yearly output in kWh. A good quote gives one for your roof. Divide it by the system size in kW and enter the result as output per kW; shade and roof angle can lower it a lot.
  • Find your utility's export rate. It is in the utility's net metering or distributed generation tariff. It decides what half or more of your output is worth.
  • Check the roof first. If it will need replacing within about 10 years, do that first. Taking panels off and putting them back costs extra.
  • Know what you are signing. This calculator assumes you buy the system for cash. A loan adds interest, and with a lease or power purchase agreement the installer owns the panels and keeps part of the savings.

By state

Every state and DC has its own page with this calculator set to its prices, its rank among the 51, and how it compares with its neighbors.

Questions

Is solar still worth it without the federal tax credit?

In high-price states, often yes. With our defaults, payback is about 6.0 years in Hawaii and 8.0 years in Massachusetts, but about 17.3 years in Washington, where power is cheap and sun is limited. Panels usually last 25 to 30 years, so a payback under about 12 years leaves a good margin.

What happened to the 30% solar tax credit?

The Residential Clean Energy Credit (Section 25D) ended for systems placed in service after December 31, 2025, under the One Big Beautiful Bill Act. Homeowners who buy systems in 2026 cannot claim it. State and local incentives were not affected, so enter any you qualify for.

How long does solar take to pay off on average?

At the U.S. average electricity price of 18.2¢/kWh and $2.80 per watt installed, a 8.0 kW system sized for the average home pays back in about 12.3 years in this calculator.

Why does my export credit matter so much?

Power you send to the grid while you are away is often credited at less than you pay for power. California's net billing rules credit roughly a quarter of the retail price, which is why the calculator starts California at 25%. Your utility's tariff sheet lists the exact rate.

Sources

Electricity price and household use: EIA Electric Power Monthly, Table 5.6.A (August 2026 data) and EIA 2025 retail sales. Installed cost: 2026 residential marketplace averages. Output per kW: typical values for a south-facing fixed roof system by state. Tax credit status: Public Law 119-21.