Solar Panel Calculator
Size a solar array from your electricity use, sun hours and bill offset.
Sun-hour averages for 200 countries and 134 US and Canadian cities, in metric or imperial units.
Updated November 24, 2026
Introduction
A solar array is sized from the electricity a building actually uses and the sun its roof actually sees. This page turns those two things into the three numbers a quote has to agree with: the array in kilowatts, the number of panels, and the roof area those panels occupy.
That makes it a tool for the stage before a site survey. You can check whether the roof you have could hold the system your bill implies, put a quote next to your own consumption, or see how much the answer moves when the same house sits in a different city or uses a different module. The array estimate is the result of the four inputs above it, not another box to fill in: change the consumption, the sun hours, the bill offset or the environmental factor and the rest of the chain recalculates.
For scale, the U.S. Energy Information Administration reported that a residential electric-utility customer purchased an average of 10,791 kWh in 2022, so the 10,000 kWh used throughout this guide is an ordinary household year rather than an extreme one. Source: EIA, how much electricity does an American home use.
3 linked results
Array power, panel count and roof area
200 countries, 134 cities
Rounded sun-hour averages in the location menus
m² or ft²
Module and roof areas in either system
Quick start
The walkthrough uses a 10,000 kWh year in Washington, D.C., the default 90% bill offset and 85% environmental factor, 300 W modules of 1.4 m² and a 50 m² roof. Every figure below is what the page itself returns for those inputs.
Enter a year of electricity consumption
Add up twelve months of bills and type the total into Electricity consumption. The box is set to kWh per year, and it also accepts kWh per month or per day if that is the figure you have — the calculator converts whichever one you pick into the yearly amount before anything else happens. For this example the box holds 10,000.
Decide where the sun hours come from
If you know the daily peak sun hours for the roof, leave Use location-base solar hours unticked and type them in. If you do not, tick it, choose a country, and for the USA or Canada choose a state or province and city as well. The sun-hours box then shows that location's planning average and becomes read-only, because the menu owns the figure. Leaving it unticked for the walkthrough and typing 4 gives the same starting point as D.C. in the location menu.
Set the bill offset and the environmental factor
Bill offset percentage is how much of the annual bill the array should cover; it opens at 90%. Environmental factor is the single allowance for losses from dust, weather and the rest of the real world; it opens at 85%. Both are percentages of different things, so they are not subtracted from one another — the pair enters the equation as the ratio 0.90 / 0.85.
Read the array power estimate
The first result is 7.252216 kW. That is the direct-current nameplate capacity the array needs to deliver 90% of this bill through an 85% loss allowance at four peak sun hours a day. It is a result for this stage of the calculation: the page will not let you type a different array size here, because that would detach the answer from the inputs that produced it.
Turn the array into panels and roof area
Enter Your roof area (50 m²), the area of one panel (1.4 m²) and its power output (300 W). The page prints 25 panels and 35 m² of required area, then compares the two areas: 50 m² is enough, so the space verdict is positive.
The ceiling matters for the roof: 24.174 panels is not an orderable quantity, so the area is calculated from 25 whole panels — m², not 33.8 m².
Check the array estimate by hand
The array estimate comes from two divisions and one ratio, so it is easy to audit without a spreadsheet:
The first line spreads the year over 365 days, the second divides the daily energy by the hours of full sun, and the third adds the two percentages back as a ratio.
How the three answers are chained
The page runs two ordinary calculations in sequence. The first turns a yearly bill into the array power that would offset it; the second turns that array into whole panels and the roof area they occupy. Nothing is assumed beyond the four inputs and the two module figures.
From a yearly bill to array power
is the yearly consumption, the daily peak sun hours, the bill offset as a fraction and the environmental factor as a fraction. Dividing by 365 turns the year into an average day; dividing by turns that day into the average power the array has to produce during the hours it actually generates. The last ratio then scales the array up or down: a 90% offset with an 85% factor multiplies the first result by about 1.059, because the array has to be a little larger than the raw daily average to cover nine tenths of the bill through an allowance for losses.
From array power to modules and roof area
The factor of 1000 bridges the two power scales: the array is expressed in kilowatts and the module in watts, so a 300 W module is 0.3 kW. Dividing the array by that figure gives the exact number of modules, and the ceiling turns it into the number you could actually order. The roof area is then the module area times the ordered count, which is why a system that lands just above a whole panel carries the extra area of that panel.
The module wattage is a rated figure. The inverter that converts the array's direct current into the alternating current a house uses is not part of this calculation and adds its own losses — the EIA's overview of photovoltaics and electricity describes the panels-to-array chain and the inverter's role.
The two percentages do different jobs
Bill offset is a goal: 90% means the array is sized to cover nine tenths of the annual bill, not the whole thing. Environmental factor is a derate: 85% means the array is enlarged so that the energy delivered after dust, weather and similar losses still meets that goal. Raising the offset enlarges the array; lowering the environmental factor enlarges it too, but for the opposite reason — one changes the target, the other changes how much of the target survives. If you are unsure, change only one at a time, because both flow straight into the array size.
Units are converted before the arithmetic
Each box has its own unit menu, and the conversion happens before the formula, so the equation above always sees kWh per year, hours per day, kilowatts and square metres. These are the factors behind the menus:
| What you may have | How to enter it | What the formula receives |
|---|---|---|
| A daily figure | kWh / day | × 365 = kWh per year |
| A monthly figure | kWh / mo | × 12 = kWh per year |
| Module power in kW | kW | × 1000 = watts |
| Module area in square feet | ft² | × 0.09290304 = m² |
| Module area in square inches | in² | × 0.00064516 = m² |
| Roof area in square feet | ft² | × 0.09290304 = m² |
The same rule applies to the results: the array estimate can be read in watts, kilowatts, megawatts or gigawatts, and the two areas in square metres, square kilometres, square feet, square yards or square miles, without changing the underlying answer.
Why the array estimate is an endpoint
The sizing equation is one relationship between five quantities, so algebraically it could be rearranged to answer any of them. This page uses it in one direction on purpose: the array estimate, the panel count and the required area are answers, so there is no box to type a preferred array size into. If you want to explore a different array, change the consumption, the sun hours, the offset or the factor — one of those is what really moved.
Worked examples
The same page, used three different ways: comparing two places, swapping the module, and dealing with a roof that will not fit the first answer.
The same bill in a sunnier place
Situation: A 10,000 kWh year with the same 90% offset and 85% factor, but the house is in Los Angeles rather than Washington, D.C. The location menu gives Los Angeles five peak sun hours a day instead of four.
Inputs
Result
That is 20 panels of 300 W and 28 m² of roof — five fewer panels and 7 m² less than the D.C. case, for the same yearly consumption. The page prints 20 rather than 19.339 because the panel count always rounds up.
In practice: Sun hours are the lever that moves an array most at a fixed bill: a 25% increase in peak sun hours cut this array by about 20% and removed five panels.
A higher-wattage module on the same bill
Situation: The D.C. house keeps its 10,000 kWh year, 90% offset and 85% factor, but the installer proposes 400 W modules instead of 300 W. The panel area is left at 1.4 m² to isolate the effect of wattage.
Inputs
Result
Nineteen modules need 26.6 m² at 1.4 m² each. If those 400 W modules really measure 2.0 m², the same array needs 38 m² — more roof than the 35 m² of the 300 W case, even though it uses six fewer panels.
In practice: Check the datasheet area before assuming fewer panels means less roof: a 400 W module is often physically larger, and the area box is what decides the roof question.
When the roof says it will not fit
Situation: The D.C. house has only 30 m² of usable roof. At the default 90% offset the page needs 35 m², so the space verdict turns negative. The roof cannot grow, but the goal can change.
Inputs
Result
At 90% the page returns 7.252216 kW, 25 panels and 35 m² against a 30 m² roof — close, but not enough. Reducing the offset to 75% gives:
21 panels of 300 W and 29.4 m² — inside the 30 m² roof with a little room to spare. The verdict compares module area only; it does not know about walkways, chimneys, roof edges or the space a service technician needs, so a system that only just fits on this page should still be checked against a real layout.
In practice: The bill offset is the practical dial when the roof is the limit: lowering it shrinks the array and the panel count until the required area fits the space you actually have.
Inputs worth getting right
Peak sun hours are not daylight hours
One peak sun hour is the energy a square metre receives from an hour of 1,000 W/m² sunshine, so a 5-peak-hour day delivers 5 kWh/m² even though the sun is up for far longer. Use the daily average for the year, not a bright midsummer noon: a summer figure makes the array look small and a winter figure makes it look oversized.
A location average is a starting point
The menu figures are rounded planning averages for a city, not a measurement of your roof. Latitude, local weather and shading all change the energy a surface receives, as the EIA's solar resource overview describes. A roof under trees or facing away from the equator can sit well below the city average.
Do not stack the losses twice
The environmental factor is already the allowance for dust, weather and the rest. Resist the temptation to lower it and also trim the consumption, or to add a separate loss percentage somewhere else: the array will grow twice for the same reason. Pick one allowance and let the page carry it.
Measure the roof you can actually use
Enter usable roof area — the planes you can reach, minus chimneys, skylights, walkways and shaded sections — rather than the building footprint or the floor area. For a pitched roof, the sloped area is what counts; the roofing calculator turns a footprint and a pitch into that area.
Questions
How many panels do I need for 10,000 kWh a year?
That depends on the sun hours, the bill offset, the environmental factor and the module wattage. With the defaults of 90% and 85% and 300 W modules, 10,000 kWh a year needs about 25 panels at four peak sun hours a day (7.252216 kW), 20 panels at five hours (5.801773 kW) and 34 panels at Berlin's 2.9 hours (10.00306 kW). The panel count is always rounded up, so a fractional result becomes the next whole panel.
Does this calculate a battery or an inverter?
No. The page sizes the generating array — how many modules of a given wattage are needed to offset part of a yearly bill. An inverter converts the array's direct current to the alternating current a house uses, and a battery stores energy for later; both are sized from different questions, such as the peak load you want to run or how many hours of backup you need. Adding either changes the system design and the cost, but not the number of modules required to generate the annual energy.
Why does my installer's estimate differ from this one?
An installer works from a site survey rather than a city average. Tilt and orientation, shade from trees or neighbouring buildings, module temperature, soiling and inverter losses all move the real annual yield, and a detailed production model accounts for each of them separately rather than through one environmental factor. Net metering and tariff rules can also change how much of the bill a given array actually offsets. The page is a first-pass check on whether a proposal is in the right range, not a substitute for that survey.
Can I use it for an off-grid cabin or a business?
Treat it as a first estimate only. The model starts from a yearly bill, which works well for a grid-connected home but hides the daily pattern that matters off grid, where you size from the load on the worst days plus the autonomy a battery must provide. A business bill also carries demand charges and a different load profile, so a commercial array is usually sized from an interval-by-interval analysis rather than an annual total.
How far to trust it
- This is a planning estimate, not a design or a quote. The array power, panel count and roof area are what the two formulas produce from your four inputs; they do not include a specific module datasheet, a roof layout, electrical design or any local installation rule.
- The location figures are rounded city averages. They ignore your roof's tilt, orientation and shade, and they are not a year-by-year production forecast. A site-specific survey can move the usable energy noticeably in either direction.
- One environmental factor covers many effects. Temperature, soiling, module mismatch, wiring and inverter losses are different quantities, and folding them into a single percentage is an approximation. The page does not model time-of-day production, net metering or battery storage, so it cannot tell you what the bill will look like month by month.
- The roof verdict compares gross area only. It does not reserve walkways or fire access, does not check the roof's structural capacity and does not know whether the panels fit the plane geometry. A system that passes here can still fail a real layout.
- No cost, savings, incentives or payback are calculated. Prices, tariffs, tax credits and export rates change by country and by month; they are outside this page. Before committing to a purchase, have the design, the electrical work and the utility connection reviewed by a qualified local installer or engineer.
- Some inputs have hard limits. Sun hours must be between 0 and 24 a day, both percentages must be greater than zero and no more than 100, and the roof and module areas must be greater than zero. Zero sun hours with a positive consumption leaves the array estimate blank rather than inventing an impossible answer, and the displayed figures are rounded, so the last digits should not be read as a specification.
Related Calculators
Carrying Capacity Calculator
Estimate how many individuals an environment can sustain from a population size, its growth increment and the intrinsic growth rate, or solve back for any of the four.
Wind Turbine Profit Calculator
Estimate daily wind turbine profit from generated energy, electricity prices and turbine costs, or model output from rotor area and wind speed.
Water Demand Calculator
Estimate average, maximum and peak water demand from population size and per-capita use, in 16 flow units, and solve back for the population or the per-capita requirement.
AI Water Footprint Calculator
Calculate the water and energy footprint of AI usage based on model and query volume.
Tap Water Calculator
Compare a household's yearly tap water bill with the cost of the same drinks in bottles, and see the savings over 5 to 50 years.
Cryptocurrency Footprint Calculator
Estimate the energy, carbon and climate footprint of Bitcoin, Ethereum, Litecoin and Monero mining, and compare it with copper, aluminum, gold or platinum extraction.