How this calculator works
The calculator works backward from your electric bill. It converts your monthly bill into yearly electricity use, sizes a system to cover the share you choose, prices that system at your cost per watt, and then models 25 years of savings. Each step uses a simple, published method so you can check the math yourself.
1. Yearly use: monthly bill ÷ price per kWh × 12
2. Output of 1 kW of panels: peak sun hours × 365 × 0.82 × roof factor × shade factor
3. System size: yearly use × share to cover ÷ output per kW, rounded up to whole 430-watt panels
4. Cost: system size in watts × price per watt − incentives
The 0.82 factor accounts for the energy lost in wiring, the inverter, heat and dust, which is in line with the default losses used by the U.S. Department of Energy's PVWatts model. Panels are assumed to lose 0.5% of their output each year, a common figure in manufacturer warranties.
Savings are modeled the way most utility bills actually work. About 60% of the solar you use is consumed in your home as it is produced, which saves you the full retail price. The rest is sent to the grid during the day and credited back at your utility's export rate, which is why the credit setting matters so much. Any production beyond your yearly use is valued at half the export rate, because most utilities pay little for an annual surplus. Electricity prices are assumed to rise 3% a year unless you change it.
What solar panels cost in 2026
Prices are usually compared in dollars per watt, because that lets you compare quotes for systems of different sizes. EnergySage reported a median quote of $2.57 per watt in the first half of 2026, up about 3% from late 2025, partly because of higher labor rates. Broader installation records from Lawrence Berkeley National Laboratory have shown higher medians for cash purchases, closer to $3.50 per watt, so treat the calculator's default as a competitive-quote price rather than a guaranteed one.
| System size | Typical home | Cost at $2.60/W |
|---|---|---|
| 5 kW | Small home or low usage | $13,000 |
| 8 kW | Average home in a sunny state | $20,800 |
| 10 kW | Average home in a cloudier state | $26,000 |
| 12 kW | Larger home or electric heating | $31,200 |
What changes your price
System size
Size is the biggest driver of the total, but larger systems usually cost less per watt because permits, design and crew time are spread across more panels. A home that uses a lot of electricity for air conditioning, electric heat or an electric car will need a larger system.
Equipment
Premium panels and microinverters cost more than standard panels with a single string inverter, but they can produce more power on complicated or partly shaded roofs and often carry longer warranties. Adding a battery raises the cost substantially and is priced separately from the panels.
Your roof
Steep, tall or multi-level roofs take longer to work on. Tile and slate need special mounting. If your roof will need replacing within the next ten years, it is usually cheaper to replace it first, because removing and reinstalling panels later adds cost.
Where you live
Labor rates, permit fees and local competition vary widely. In very competitive markets quotes can fall well below the national median, while high-cost regions can run well above it. Sunlight also matters: the same system produces noticeably more in Arizona than in Washington.
Why your utility's export rules matter
Under full net metering, every kilowatt-hour you send to the grid is credited at the same price you pay to buy one, so the grid works like a free battery. Many utilities have moved away from that model and now credit exported power at a lower rate. When export credits are low, a smaller system that matches your daytime use, or a system paired with a battery, can make more financial sense than covering 100% of your bill. Try the three credit settings above to see how much the rule changes your payback.
Buying, financing, leasing or a PPA
Buying with cash gives the best long-term return, because you keep all of the savings. A solar loan lets you own the system with little or nothing down, but interest reduces your savings, so compare the loan's total cost, not just the monthly payment. A lease means you pay a fixed monthly amount to use panels the company owns. A power purchase agreement (PPA) means you buy the power the panels produce at a set price per kWh. Since the residential tax credit ended, third-party ownership has grown quickly, and EnergySage found that prepaid leases and PPAs had a lower cost per kWh than cash purchases in early 2026. Read the escalator clause and what happens if you sell your home before signing either one.
How to get an accurate quote
- Collect twelve months of electric bills so installers size the system from your real usage.
- Get at least three quotes and compare them by price per watt, not just the total.
- Ask each installer what export rate your utility pays and how they modeled your savings.
- Check panel, inverter and workmanship warranties separately. Workmanship warranties vary the most.
- Confirm any state, utility or local incentives for your exact address before counting them.
- Run the quote's size and price back through this calculator to sanity-check the savings claim.
Frequently asked questions
How much does a solar panel system cost in 2026?
Marketplace quotes in the first half of 2026 had a median of about $2.57 per watt before incentives. A typical 8 kW home system therefore costs around $20,000 to $21,000, and a 12 kW system around $31,000, before any state or local incentives.
Can I still get the 30% federal solar tax credit?
Not for a system you buy and install in 2026. The residential credit ended for systems installed after December 31, 2025. Leased systems and PPAs can still carry federal value because the solar company claims a business credit. Homeowners whose systems were installed by the end of 2025 can still claim the credit on that year's return, and unused credit can be carried forward.
How many solar panels do I need?
Divide your yearly electricity use by the yearly output of one kilowatt of panels in your area, then divide by the panel size. Many homes need between 15 and 30 panels of around 430 watts. The calculator does this math for your state and roof.
How long does it take for solar panels to pay for themselves?
Payback can be as short as 5 to 7 years where electricity is expensive, and more than 15 years where electricity is cheap or export credits are low. Your electricity price and your utility's export rules matter more than anything else.
Do solar panels work on cloudy days?
Yes, but they produce less. Peak sun hours already account for typical cloud cover in your state, so the yearly estimate includes cloudy days.
How long do solar panels last?
Most panels carry a 25-year performance warranty and keep producing after that at a slightly lower output. Inverters usually need replacing once during that time, which is worth setting aside money for.
Will solar panels eliminate my electric bill?
Usually not entirely. Most utilities charge a fixed monthly connection fee, and if your utility credits exports at less than retail, you will still pay for some of the power you use at night.
Why is my installer's estimate different from this one?
Installers use your exact roof angle, shading, utility tariff and equipment. This calculator uses state averages. If a quote's savings are far higher than this estimate, ask how the installer modeled your export rate and electricity price increases.
Sources
- EnergySage, Home energy market highlights, first half of 2026
- EnergySage, Federal solar tax credit in 2026
- U.S. Energy Information Administration, Average price of electricity to ultimate customers by state (Table 5.6.A)
- National Renewable Energy Laboratory, PVWatts Calculator
- Lawrence Berkeley National Laboratory, Tracking the Sun
This calculator gives estimates for planning only. It is not financial, tax or engineering advice and is not a quote. See our terms of use.