FixHomeCost

Free tool · System size, cost, savings & payback

Solar Energy Calculator

This solar energy calculator sizes a home solar system from your electric bill and your state's sunshine. Then it runs the numbers for 25 years: cost, cash or loan payments, monthly bill before and after, payback year, net savings, return on investment and the carbon you avoid.

By Chowdhury, FixHomeCost editor · Last reviewed October 2026

1. Your home and electricity use

2. The solar system

3. Payment and utility rules

Advanced options battery, upkeep, SRECs, NPV

All of these start at zero or a neutral value, so they only change the result when you fill them in.

Recommended solar system
–
Cost after incentives
–
First-year savings
–
Monthly bill
–
Payback
–
25-year savings
–
Roof space
–
CO₂ avoided
–
Net present value
–
Internal rate of return
–
Cumulative cash flow: what you have paid versus what solar has saved, year by year. The line crosses zero at payback.
Year-by-year table
25-year solar cash flow
YearkWhRateSavingsPaymentsNetCumulative
Show the full calculation step by step with your numbers

    Assumes a 0.90 inverter and temperature factor, no value for yearly surplus above your use, a 90% round-trip battery, and today's utility rules for 25 years. Taxes on SREC income and roof work are not included.

    Planning estimate only. Real output depends on your exact roof, shade and weather, and utility rules change. To see how many panels actually fit, use the solar roof calculator. Nothing you enter is sent to us.

    How this solar energy calculator works

    A good solar calculator starts with your electric use, not a sales target. This one works in four steps:

    1. Your yearly use. From kWh if you have them, or from your bill: (bill − fixed charge) ÷ rate × 12.
    2. System size. How many kW of panels it takes to cover your offset goal, given your state's peak sun hours, the roof direction and system losses. It rounds up to whole panels.
    3. Savings. Each kWh the panels make, up to your yearly use, is worth your rate. Net metering rules set how much exported power is worth.
    4. 25 years of cash flow. Each year the rate rises by your escalation figure and the panels lose 0.5% of their output. Loan payments and a later inverter replacement come out of the savings. Payback is the point where the running total turns positive.

    State sun hours come from NREL data and state rates from EIA 2026 data. Both are averages, so replace them with your own numbers if you have them. The rate on your bill is best. Divide the total bill, minus the fixed customer charge, by the kWh used.

    Solar panel calculator formulas and a worked example

    kWh per kW per year = sun hours × 365 × direction factor × (1 − losses) × 0.90
    System kW = yearly kWh × offset goal ÷ kWh per kW
    Panels = system kW × 1,000 ÷ panel watts, rounded up
    Cost = kW × 1,000 × cost per watt − incentives
    Savings in year n = min(output, use) × rate × (1 + increase)n−1 × credit share
    Output in year n = year-one output × (1 − degradation)n−1

    The 0.90 accounts for inverter efficiency (PVWatts uses 96%) and the output panels lose when they run hot. With PVWatts' default 14% losses, the full derate is 0.86 × 0.90 = 0.774.

    Worked example (the default inputs): a $180 monthly bill with a $15 fixed charge, the US average rate of 18.5¢ and 4.98 sun hours, a south roof, 430 W panels, $2.60 per watt, cash, full net metering, 3% yearly rate increases.

    1. Use: ($180 − $15) ÷ $0.185 × 12 = 10,703 kWh a year.
    2. Output per kW: 4.98 × 365 × 1 × 0.86 × 0.90 = 1,407 kWh.
    3. Size: 10,703 ÷ 1,407 = 7.61 kW, or 17.7 panels. Round up to 18 panels = 7.74 kW, about 10,889 kWh in year one. That's 378 sq ft of panels.
    4. Cost: 7,740 W × $2.60 = $20,124.
    5. Year-one savings: 10,703 kWh × $0.185 = $1,980. The bill drops from $180 to the $15 fixed charge.
    6. Over 25 years, savings grow with rates and shrink slightly with panel aging. The running total passes $20,124 in about 9.1 years and ends at about $48,500 net. That's a 241% return on the money spent.
    7. CO₂: 10,889 kWh × 0.000672 = 7.3 metric tons in year one, about 172 tons over 25 years.

    With a 20-year loan at 7.5% and no money down, the payment is about $162 a month against $165 of average monthly savings in year one. The 25-year net drops to about $29,700 because of roughly $18,800 in interest.

    Solar power calculator data: sun hours and rates by state

    Peak sun hours are the daily solar energy on a south-facing roof at about 20°, expressed as hours of full 1,000 W/m² sun. Output per kW uses the same 0.774 derate as the calculator. Rates are the average of EIA's March and June 2026 residential prices. Summer and winter rates differ, so your yearly average may vary.

    Peak sun hours, yearly output per kW and residential electricity rate by state
    StateSun hourskWh per kW / yrRate (¢/kWh)Value of 1 kW / yr
    Alabama5.211,47216.8$247
    Alaska3.1789627.7$248
    Arizona6.541,84815.4$285
    Arkansas5.181,46313.9$203
    California6.081,71834.0$584
    Colorado5.661,59916.9$270
    Connecticut4.531,28027.4$351
    Delaware4.801,35618.5$251
    District of Columbia4.901,38424.7$342
    Florida5.481,54815.0$232
    Georgia5.171,46115.7$229
    Hawaii5.821,64447.5$781
    Idaho5.221,47513.7$202
    Illinois4.511,27419.4$247
    Indiana4.661,31617.7$233
    Iowa4.751,34214.7$197
    Kansas5.391,52315.5$236
    Kentucky4.791,35314.6$198
    Louisiana5.321,50313.8$207
    Maine4.551,28529.0$373
    Maryland4.881,37922.0$303
    Massachusetts4.701,32829.9$397
    Michigan4.471,26322.1$279
    Minnesota4.611,30216.3$212
    Mississippi5.261,48615.6$232
    Missouri5.031,42114.8$210
    Montana4.761,34514.3$192
    Nebraska4.981,40713.2$186
    Nevada6.411,81113.6$246
    New Hampshire4.581,29427.0$349
    New Jersey4.661,31624.2$319
    New Mexico6.421,81414.9$270
    New York4.501,27129.0$369
    North Carolina5.251,48315.4$228
    North Dakota4.451,25713.0$163
    Ohio4.541,28319.0$244
    Oklahoma5.501,55413.9$216
    Oregon4.061,14715.6$179
    Pennsylvania4.791,35321.3$288
    Rhode Island4.701,32829.6$393
    South Carolina5.331,50616.0$241
    South Dakota4.861,37314.8$203
    Tennessee4.821,36214.6$199
    Texas5.221,47516.2$239
    Utah5.391,52313.3$203
    Vermont4.361,23224.3$299
    Virginia5.011,41517.1$242
    Washington3.951,11614.7$164
    West Virginia4.571,29115.9$205
    Wisconsin4.581,29419.2$248
    Wyoming5.361,51414.4$218

    The last column multiplies the two. It shows why sunshine alone does not decide whether solar pays. Massachusetts gets less sun than Texas but has nearly twice the electricity price, so each kW of panels saves more there.

    Net metering, payback and what changes the math

    Solar panels make most of their power at midday, when most homes use little. Without a battery, a typical home uses roughly 30% to 40% of its solar power as it is made and sends the rest to the grid. What the utility pays for those exports matters a lot.

    Where batteries fit. A home battery stores midday solar for the evening, which raises the share of solar you use directly. Under full net metering it adds cost without adding savings, so it mainly buys backup power. Under partial or no export credit, it can win back much of the lost value. To test that here, raise "Solar used directly" to the share a battery would let you use, and add the battery price to the system cost by raising the cost per watt (battery price ÷ system watts).

    Other things that move payback: the price per watt you actually get (quotes vary by $1 per watt or more), how fast rates rise, shade, and whether you will need a new roof or a panel upgrade first. Any extra power above your yearly use gets no value here, since most utilities pay little for a yearly surplus.

    Paying for solar in 2026: cash, loan, lease and tax credits

    The federal tax credit is over for systems you own. The 30% Residential Clean Energy Credit (Section 25D) does not apply to expenditures made after December 31, 2025, under the July 2025 tax law (Public Law 119-21). The IRS counts the expenditure as made when installation is complete, so a 2026 install gets nothing even if you signed or paid in 2025. Some older articles and sales sheets still show the 30%. Leave it out of your math.

    Leases and PPAs work differently. The solar company owns the panels and may still claim a separate business credit (Section 48E) under its own deadlines. Projects that begin construction after July 4, 2026 generally have to be in service by the end of 2027. You don't get that credit directly. Ask how it is reflected in the monthly price and the yearly escalator.

    Cash gives the best long-term return. A loan spreads the cost, and if the payment is close to your savings, solar can be cash-neutral from the start. Watch for loans with "dealer fees" built into the price. A low APR can hide a sizable markup on the system price. Compare the cash price and the loan price side by side.

    State, city and utility rebates still exist in many places. Enter them in the incentives box. The DSIRE database lists programs by state.

    What makes the best solar calculator (and how to use one)

    Frequently asked questions

    How many solar panels do I need?

    Divide your yearly kWh by your state's output per kW (about 1,000 to 2,000 kWh), then divide by the panel size in kW. A home using 10,700 kWh a year with 4.98 sun hours needs about 7.6 kW, or 18 panels of 430 W.

    How much does a solar system cost in 2026?

    About $2.60 per watt installed on average in mid-2026, so roughly $20,000 for 7.7 kW and $31,000 for 12 kW before local incentives. State averages range from a little over $2.10 to about $3.80 per watt.

    What is a good solar payback period?

    Under 10 years is good. 10 to 15 years is fair. Over 15 years, look hard at the price, your rate and your net metering rules. Most panels carry 25-year warranties, so payback should come well before that.

    Can I still get the 30% solar tax credit?

    Not for a system you own that was installed after December 31, 2025. The Residential Clean Energy Credit ended for expenditures after that date. Systems finished in 2025 or earlier can still claim it, and unused credit can carry forward. Leased systems may be priced with a business credit the installer claims.

    Is a solar loan worth it?

    It can be, if the APR is reasonable and the price is not padded with dealer fees. In the default example, a 20-year loan at 7.5% costs about $162 a month against about $165 of first-year savings, but it costs about $18,800 more in interest than paying cash.

    How much CO2 does solar save?

    EPA estimates about 1,405 pounds of CO2 avoided per MWh of electricity displaced, or 0.000672 metric tons per kWh. A system making 10,900 kWh a year avoids about 7.3 metric tons a year.

    What is the best solar calculator to use?

    One that uses your actual kWh and rate, your state's sun data, real net metering rules, current pricing without the expired 30% credit, and shows year-by-year cash flow. Use this solar calculator for the money side and NREL's free PVWatts tool for a detailed production check on your exact address.

    Sources

    Peak sun hours: state averages from NREL PVWatts (National Solar Radiation Database), 20° south-facing roof, as compiled by TheGreenWatt. Electricity rates: average of March and June 2026 residential prices, EIA Electric Power Monthly, Table 5.6.A. Average home use: EIA. CO₂ factor: EPA Greenhouse Gas Equivalencies Calculator (1,405.3 lb CO₂/MWh, AVERT marginal rate). Federal credit: IRS, Residential Clean Energy Credit. Lease and PPA credit deadlines: Solar Power World. Cost per watt: EnergySage (June 2026). Panel removal cost: Fixr.

    This is general information, not a professional inspection. See how we research costs.