Solar panel calculator: how many solar panels do I need?

Work out how many solar panels you need from your yearly electricity use or bill, local sun hours, panel size and roof area, then see the system size in kW, yearly output, cost and a simple payback.

Keep it one tap away for everyday use.

Bookmark Solar panel calculator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

Or install fibub as an app: every tool you open then works offline.

  1. Your use
  2. Sun, panels
  3. Payback
Nothing is uploadedWorks offline once open

Your electricity use

Your yearly kWh is on a bill or in your utility account. The price is in your own currency; the 0.16 is only an example.

Sunshine and panels

Peak sun hours are the hours a day of full-strength sunshine (1,000 W/m²) that add up to the day's energy, averaged over the year. The region table is a rough guide only: look up your own place in a free tool such as NREL PVWatts and type it in.

A rough planning estimate, not a quote. Real output depends on roof direction, tilt, shade, weather and the inverter; costs, tariffs and incentives differ by place and change. Check the official source and get installer quotes. For a place-specific yield see Solar PV yield; to size storage see Home battery sizing. Nothing you type leaves this page.

What it does

This calculator turns your electricity use into a solar system size. Enter your yearly kWh (or a monthly bill and the price per kWh), the peak sun hours where you live, the watts and area of the panels you are considering and the roof area you can use. It shows how many panels you need, the system size in kW, how much electricity it should make in a year and what share of your use that covers, the cost and a simple payback time.

It is a first estimate for deciding whether solar is worth a quote, not a design. For a yield from your exact place and roof angle use solar PV yield; to add storage see home battery; to compare with other power on a cost-per-kWh basis try LCOE calculator.

How to use it

  1. Type your yearly electricity use in kWh, or leave it blank and type a monthly bill; the price per kWh turns the bill into kWh.
  2. Pick the closest region to fill in sun hours, or type your own figure from a solar map.
  3. Set the panel watts and area from the datasheet, the roof area you can really use, and an installed cost per watt from a quote.
  4. Read the panel count, kW, yearly kWh, cost, saving and payback. “Copy result” saves the summary.

What each setting does

  • Peak sun hours: the day’s sunshine energy expressed as hours at full strength (1,000 W/m2). Cloudy places have fewer.
  • System losses: heat, wiring, dirt and inverter losses. 14% is the common default; shade or a poor roof angle needs more.
  • Panel watts and area: panel efficiency is the watts divided by the area and 1,000 W/m2 (400 W over 1.95 m2 is about 20.5%).
  • Roof area: caps the number of panels. If it is too small the page says how many fit and how much of your use that covers.
  • Cost per watt and price per kWh: give the cost and the simple payback.

Worked example

A home uses 9,000 kWh a year with 4.5 sun hours and 14% losses. Each kW makes 4.5 x 365 x 0.86 = 1,412.55 kWh a year, so you need 9,000 / 1,412.55 = 6.37 kW, which is 16 panels of 400 W (6.4 kW). That makes about 9,040 kWh. At 2.80 per watt the cost is 17,920, and at 0.16 per kWh it saves 1,440 a year (the 40 kWh made beyond your use are not counted): payback about 12.4 years.

FAQs

Why is my real output different? Roof direction and tilt, shade, weather years, inverter size and panel ageing all change it. A professional design or PVWatts gives a better number.

Does it include batteries, incentives or export rates? No. The payback assumes every kWh made, up to your own use, replaces a kWh you would have bought at the same price; anything beyond your use earns nothing here.

Is the sun-hours table official? No: it is a rough fibub guide. Use a published solar map for your place.

Where the numbers come from

  • Output = system kW x peak sun hours x 365 x (1 - losses). The 14% default system loss is the default used by NREL's PVWatts calculator (pvwatts.nrel.gov); fibub could not open the NREL page from its build machine on 2026-12-05, so treat 14% as an editable assumption and check the official source.
  • The sun-hours region table is fibub's own rounded guide (about 6 in the US Southwest and Gulf, 2.8 in the UK), NOT an official table and not confirmed against NREL, Global Solar Atlas or the Indian Meteorological Department. Look up your own place in NREL PVWatts (US), Natural Resources Canada's PV potential maps, PVGIS (UK and Europe) or Global Solar Atlas and type the number in.
  • Cost per watt (2.80) and price per kWh (0.16) are example numbers only. Installed prices, tariffs, net-metering rules and incentives differ by country and change often; get local quotes and check the official source. Checked 2026-12-05: no price here is a published figure.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Read more on the Blog

Last updated 2026-12-05.

Change log for Solar panel calculator

  1. Add 20 tool guides and fix 10 tool bugs found while checking them (#282) Details on GitHub

Every change to fibub

Related tools

Solar PV yield #T469 Give a place, the panels' tilt and direction, the system size and losses, and get an hour-by-hour clear-sky year (sun position, Haurwitz clear sky, Erbs split, isotropic sky on the tilted panels), scaled by your own sunshine estimate: yearly and monthly energy, specific yield, capacity factor and the best tilt. Home battery #T472 Simulate a home battery hour by hour with your load and solar data (or a made-up template year), sweep battery sizes, and see self-consumption, grid import and export, cycles, backup hours and a recommended size. Nothing is uploaded. LCOE calculator #T473 Work out the levelised cost of energy of a solar, wind, gas or any other plant from capital cost, fixed and variable O&M, fuel, output loss, discount rate, lifetime and capacity factor, with a yearly cash-flow table, a cost breakdown and a tornado chart. Nothing is uploaded. Electricity cost #T813 Add your appliances and see what each one costs to run, with a flat price or time-of-use prices, including standby power. Wire size #T1104 Find the smallest copper or aluminium wire in AWG and mm² for a given current, voltage and one-way length, by allowed voltage drop, with an ampacity check against NEC 310.16 and IEC 60364-5-52 tables. Single-phase, three-phase and DC. Circuit load calculator #T1214 Add the appliances on one circuit, pick 120, 230 or 240 volts and the breaker size, and see the total amps, the 80% continuous-load check, the headroom left and which appliances can run together.