Audited 27 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Solar Panel Size Calculator

Size a home solar array from your electricity bill: kW DC needed, panel count, roof area and a roof-fit check, using peak sun hours and system losses.

Solar Panel Size Calculator

Required DC system size
6.7084
Array size in kilowatts DC needed to produce the target energy, before rounding to whole panels.
Average daily electricity use
30
Solar panel count
17
Installed DC capacity (rounded)
6.8
Estimated roof area required
357
Annual energy target
10,950
Loss-adjusted performance ratio
0.86
Roof fit check
Not checked: enter your available roof area to see whether the panels fit.

Background.

The question usually starts with a power bill. A household that used 900 kilowatt-hours in a 30-day billing period used 30 kWh a day, and an array meant to cover all of it has to produce 30 kWh on an average day. Where the panels get the equivalent of 5.2 hours of full sunshine daily and lose 14 percent of their output to heat, wiring, dust and downtime, each kilowatt of panels yields about 4.47 kWh a day. The home therefore needs about 6.71 kW of panels: seventeen 400-watt modules, a 6.8 kW array covering roughly 357 square feet of roof.

Panel wattage is the figure shoppers fixate on, and it changes the answer least. Switching to 350-watt panels turns 17 panels into 20, but the system still has to be about 6.7 kW. The sunshine figure is different. Move the same house to a site with 4 peak sun hours and it needs 8.72 kW, 22 panels and 462 square feet. Required size scales inversely with the sun-hours input, so a guess there is a guess in the result. NREL's PVWatts tool and its National Solar Radiation Database give the solar resource for a specific location, tilt and orientation, and are worth the few minutes they take.

If you know the roof space you have, enter it and the result checks whether the panels fit, and if they do not, how many will and what that smaller array amounts to. Keep in mind what the numbers are: energy, in kilowatt-hours and kilowatts of panel capacity, worked out from an average day. They say nothing about money, about which month the panels outproduce the house, or about how your utility credits what you export.

What is solar panel size calculator?

A solar system's size is quoted in kilowatts DC: the combined nameplate rating of its panels, each measured under standard test conditions of 1,000 watts of sunlight per square metre with the cells at 25 °C. On a real roof the panels rarely see those conditions for long, so sizing works through peak sun hours. A peak sun hour is one kilowatt-hour of sunlight falling on a square metre, the amount delivered by one hour at that test intensity, so a site receiving 5.2 kWh per square metre per day has 5.2 peak sun hours however long the day actually is. In principle, one kilowatt of panels then produces one kilowatt-hour per peak sun hour. In practice some is lost: panels run hot, wires and connections have resistance, modules are mismatched, dust and shade cut the light, and systems are occasionally down. NREL's PVWatts model uses 14 percent for these system losses by default, which leaves a performance ratio of 0.86. The offset is the share of your annual electricity use the array is meant to generate. The calculation here sizes for an average day across the year, with no seasonal or hourly modelling.

How to use this calculator.

  1. Enter your electricity use in kWh and the number of days it covers. One bill works, but a full year is better: enter the 12-month total with 365 days, which irons out summer air conditioning or winter heating. Add the expected use of anything you plan to install, such as an electric car.
  2. Enter peak sun hours for your location: the average daily solar radiation, in kWh per square metre, on panels at your roof's tilt and direction. NREL's PVWatts and the National Solar Radiation Database provide it. Do not use hours of daylight.
  3. Enter the system loss percentage. The 14 percent default follows PVWatts; raise it for partial shade, a hot climate or panels that will rarely be cleaned.
  4. Enter the rated power of one panel from its datasheet, in watts, and the share of your use you want to cover. The offset is capped at 100 percent; to plan for more generation, add the extra load to the usage instead.
  5. Enter the area of one panel in square feet (its length times width) and, if you want a roof-fit check, the usable roof area. Leaving the roof area at 0 skips the check.

The formula.

kW = (E⁄d × o) ⁄ (H × (1−L))

The required size is kW = (E ⁄ d × o) ⁄ (H × (1 − L)). E ⁄ d turns the bill into average daily use in kWh, E being the energy used over d days. Multiplying by the offset o, as a fraction, gives the daily energy the array must produce. H is peak sun hours and L the system loss as a fraction, so H × (1 − L) is what one kilowatt of panels delivers on an average day: 5.2 × 0.86 = 4.472 kWh in the default case. Dividing the target by that yield gives the DC capacity needed.

The rest is counting. Panels = ⌈1,000 × kW ⁄ P⌉ for a panel rating P in watts, rounded up because you cannot install part of a module, and the installed capacity is panels × P ⁄ 1,000. Roof area is panels × the area of one panel. The annual target is the daily target × 365. When you enter an available roof area, the margin is that area minus the area required, and the number of panels that fit is the available area divided by the area per panel, rounded down and never more than the panel count.

Everything rests on one average day, so the result cannot show that a system matched to your annual use will overproduce in summer and fall short in winter, and it does not consider shading by the hour, temperature by the season, or panel degradation over the years. In PVWatts the inverter's conversion loss is modelled separately from the 14 percent, so if you want a comparable result, fold an allowance for the inverter into the loss figure. The roof check counts panel area only. Setbacks, fire access paths, vents and the shape of the roof all reduce what actually fits.

A worked example.

Example

The bill shows 900 kWh over 30 days, so daily use is 900 ÷ 30 = 30 kWh, and with a 100 percent offset that is also the daily target. A 14 percent loss gives a performance ratio of 1 − 0.14 = 0.86, and with 5.2 peak sun hours each kilowatt of panels yields 5.2 × 0.86 = 4.472 kWh a day. The array must be 30 ÷ 4.472 = 6.7084 kW DC. In watts that is 6,708.41, and 6,708.41 ÷ 400 = 16.77 panels, rounded up to 17. Seventeen 400-watt panels make 6.8 kW DC, and at 21 square feet each they cover 17 × 21 = 357 square feet. The annual energy target is 30 × 365 = 10,950 kWh; the slightly larger 6.8 kW array would produce about 11,100 kWh a year on the same assumptions. Now suppose only 300 square feet of the roof is usable. The roof-fit check reports that 14 of the 17 panels fit, since 300 ÷ 21 = 14.29, and that the roof is 57 square feet short. Fourteen panels are 5.6 kW DC, which at 4.472 kWh per kW per day comes to about 9,141 kWh a year, roughly 83 percent of the home's use.

area Per Panel Sq Ft21
monthly Use K Wh900
peak Sun Hours5.2
billing Days30
panel Wattage400
system Loss Percent14
target Offset Percent100

Frequently asked questions.

What are peak sun hours, and where do I find mine?
They are the day's solar energy expressed as hours of full-strength sunlight: 5.2 peak sun hours means 5.2 kWh of sunlight per square metre over the day. They are not hours of daylight; a long overcast summer day can deliver fewer than a short clear one. NREL's PVWatts and National Solar Radiation Database give annual averages for a location, and the figure for the tilt and direction your panels will face is the one to use.
Why is the default system loss 14 percent?
It is the default in NREL's PVWatts model, built from allowances for soiling, shading, snow, mismatch between modules, wiring, connections, light-induced degradation, nameplate tolerance, age and availability. It is a planning figure for a typical unshaded installation. A partly shaded roof, a dusty site or a system you want to model including inverter losses calls for a higher number; at 20 percent, the example home needs 7.21 kW and 19 panels.
Should I enter one month's bill or a whole year?
A whole year if you have it. Enter the 12-month kWh total and 365 billing days, and the calculation averages it for you; the field accepts up to 366 days. A home that used 10,800 kWh over a year needs about 6.62 kW, still 17 panels of 400 watts. A single month only works if it is typical, and a peak air-conditioning or heating month will oversize the system.
Will a 100 percent offset bring my electric bill to zero?
Usually not. A full offset means the array generates as many kilowatt-hours in a year as the house uses, but most of that energy is produced in the middle of the day and in summer, while much of the use comes in the evening and in winter. What the bill shows then depends on how your utility credits exported power and what it charges for imports, and most utilities keep a fixed monthly connection charge regardless.
How do I know how many panels will fit on my roof?
Enter the usable roof area and the area of one panel. The roof-fit check compares them with the area the array needs and either confirms that all the panels fit, with the square feet to spare, or says how many fit and how many kilowatts that smaller array would be. It counts panel area only, so measure only the roof planes you would actually use and expect less to fit once edge setbacks, fire access paths, vents and skylights are laid out.
Does it matter which way my roof faces?
A great deal, and it enters through the peak sun hours. In the northern hemisphere a south-facing roof collects the most energy over a year, east- and west-facing roofs collect less, and north-facing planes are often not worth covering. Look up the solar resource for your actual tilt and direction rather than for an ideal one; a lower figure produces a larger, more accurate system size.
Why is the system size given in kW DC?
Because that is how panels are rated and how installers quote systems: the sum of the nameplate ratings of the modules. The inverter that converts their output to household AC power has its own rating, often lower than the array's DC size, and loses a little energy in conversion. When comparing quotes, compare like with like, and look at the installer's estimated annual production in kWh as well as the kW figure.
Why does panel wattage change the panel count but not the system size?
The energy you need and the sunshine you get fix the size of the array in kilowatts. Panel wattage only decides how many modules make up that size. In the example, 6.71 kW is 17 panels of 400 watts or 20 of 350 watts. Higher-wattage panels are usually physically larger, so they save roof space only if their output per square foot is higher too.
Can I use this to size batteries or an off-grid system?
No. An off-grid system has to get through the shortest, cloudiest days of winter, not an average day, and battery sizing depends on which loads you want to keep running, for how long, and how deeply the batteries can be discharged. This calculation sizes a grid-connected array to produce a share of your annual use, and leaves storage out entirely.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
kW = (E⁄d × o) ⁄ (H × (1−L))
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon