Free calculator

How we calculate

The formulas, assumptions and sources behind every number on this site, in plain words.

Sun rising over solar panels

Home › How we calculate

SolarYieldPro gives planning estimates. We show our working so you can check it and replace any figure with your own bill or a written quote. This page explains the method for the rooftop calculator and the country pages, where the data comes from, and what we leave out.

The calculation, step by step

  1. Yearly use. Your monthly electricity use in kWh, times 12.
  2. Output per kW. Peak sun hours a day at your location, times 365, times the share that survives system losses. We assume 20% losses (heat, dust, shade and wiring), so we multiply by 0.8.
  3. System size. Yearly use divided by output per kW, rounded up to the next half kW.
  4. Yearly saving. Power you use at home saves the price you pay per kWh. Power sent to the grid earns the export price. Without a battery we assume about 30% of the solar power is used at home.
  5. System cost. A fixed setup fee plus the price per kW. The part of a system above 10 kW is priced 20% lower.
  6. Payback. We add up each year's saving until the total equals the cost after any subsidy you enter. Each year the electricity price rises 3% and the panels make 0.5% less power. We look up to 40 years ahead. If payback takes longer than 30 years we show "Over 30 years".

Every one of these assumptions can be changed under "Show advanced assumptions" in the rooftop solar calculator.

What we leave out

  • Tax credits and incentives you do not enter yourself. Enter any subsidy in the Subsidy or discount box and it is taken off the price.
  • Upkeep, insurance, inverter replacement and financing fees.
  • Shading and roof angle for your particular roof. Sunshine is an average for the place, so a roof survey will give a better figure.
  • Changes in utility rules during the life of the system.

Where the data comes from

United States

  • Electricity prices by state: U.S. Energy Information Administration, Electric Power Monthly Table 5.6.B: average residential price by state for January to July 2026, which is preliminary. The U.S. average is 18.19 cents per kWh. January to July runs slightly below a full-year average (for 2025 it was 17.0 cents, against about 17.3 for the full year). Average monthly use is from the annual Form EIA-861 for 2024.
  • Installed price: Lawrence Berkeley National Laboratory, Tracking the Sun, U.S. Distributed Solar and Storage Data: 2026 Update (systems installed in 2025, in 2025 dollars). The median for a stand-alone home system is about $3.6 per watt for all purchases, $3.0 for cash purchases and $4.5 for loan-financed systems, because loan fees are rolled into the price. We use the cash figure, because the calculator's loan option is separate. State medians exist for 16 states; we scale them by 3.0 / 3.6 to match the cash figure. States without a published median use $3,000 per kW.
  • Federal tax credit: according to the IRS, the 30% residential clean energy credit (Section 25D) does not apply to property placed in service after 31 December 2025, so it is not included.
  • Price for power sent to the grid: we use figures for the main utilities in California, Arizona, Florida and New York. Other states use a national estimate of 6.8 cents per kWh, because we do not have a verified statewide rule for them. Rules differ by utility and change often, so check yours. If your utility credits exports at the full home price, savings are higher.

Sunshine

  • When you pick a place, sunlight comes from NASA POWER, a long-term regional average. For country and state figures we average the cities we list. Your own roof may differ.

Other countries

  • Prices for other countries are typical planning figures for each country: home electricity price, installed price, and export price. They are starting points, not quotes. Replace them with your own bill and real quotes.

Keeping it accurate

We update the United States figures when new EIA and Berkeley Lab data is published, and when the rules change. The source and year of each figure is shown on the page that uses it. If you spot a figure that looks wrong for your area, please tell us and include your source.

SolarYieldPro does not give financial, legal or engineering advice. Get a roof survey and a written quote from an installer before you decide.

Try the calculators