Calculating the right solar system size is the most important decision you make before buying a single panel. Size too small and your system regularly falls short — leaving you dependent on the grid during cloudy days and high-demand months. Size too large and you’ve spent thousands of dollars on capacity you’ll never use.
The 20% rule gives you a practical, proven formula for landing in the right range — a system large enough to reliably cover your needs despite real-world losses, without unnecessary overinvestment.
The calculation has seven steps. Each step builds on the previous one. By the end, you’ll know your required system size in kilowatts, how many panels you need, what inverter capacity to specify, and how to size your battery storage if you want it.
You don’t need to be an engineer. You need your electricity bills, a basic calculator, and this guide.
The Master Formula
The core formula for calculating solar system size with the 20% rule is:
Required System Size (kW) = (Daily Energy Usage in kWh ÷ Peak Sun Hours) × 1.2
Every step in this guide feeds into that formula. Let’s build it from the ground up.
Step 1 — Find Your Average Daily Energy Usage
Your solar system should be sized to your average consumption — not your peak month, not your lowest month. A 12-month average gives the most accurate baseline.
How to do it:
- Pull out your last 12 months of electricity bills
- Find the monthly kWh consumption figure on each bill
- Add all 12 monthly figures together
- Divide the total by 12 to get your average monthly consumption
- Divide that number by 30 to get your average daily consumption in kWh
Example calculation:
| Month | kWh Used |
|---|---|
| January | 950 |
| February | 880 |
| March | 820 |
| April | 750 |
| May | 700 |
| June | 680 |
| July | 710 |
| August | 760 |
| September | 830 |
| October | 900 |
| November | 940 |
| December | 980 |
| Total | 9,900 kWh |
- Average monthly usage: 9,900 ÷ 12 = 825 kWh/month
- Average daily usage: 825 ÷ 30 = 27.5 kWh/day
Important notes:
- Use the kWh consumed figure, not the bill amount in currency
- If your usage is growing — new appliances, an EV coming soon — add a 10–15% future growth allowance to your baseline before proceeding
- If you’re building a new home without billing history, estimate based on the number of occupants and major appliances using online energy consumption calculators
Step 2 — Apply the 20% Buffer
Now apply the 20% production buffer to your daily usage figure. This is the core of the 20% rule — it compensates for inverter conversion losses, heat degradation, dust accumulation, shading, and wiring resistance that reduce actual panel output below rated capacity.
Formula:
Adjusted Daily Target (kWh) = Daily Usage × 1.2
Continuing the example:
27.5 kWh × 1.2 = 33 kWh/day (adjusted target)
Your system needs to be capable of generating 33 kWh per day — not 27.5 kWh — to reliably meet your 27.5 kWh actual consumption after accounting for system losses.
Step 3 — Find Your Peak Sun Hours
Peak sun hours are the single most location-specific variable in the calculation. They determine how much electricity a panel of a given wattage actually produces each day.
Peak sun hours ≠ daylight hours. A location may have 12 hours of daylight but only 5 peak sun hours — the number of hours per day when sunlight intensity reaches 1,000 W/m², the threshold for maximum panel output. Morning and evening sun is weaker; it counts as a fraction of a peak sun hour.
How to find your location’s peak sun hours:
- Check NASA’s Global Solar Atlas (globalsolaratlas.info) — free and accurate
- Use the PVGIS tool (European Commission) for detailed irradiance data
- Ask your solar installer for local irradiance data
- Use the regional estimates below as a starting point
Peak sun hours by region (approximate daily average):
| Region | Peak Sun Hours/Day |
|---|---|
| Bangladesh, South & Southeast Asia | 4.5 – 6.0 |
| Middle East, North Africa | 6.0 – 7.5 |
| Sub-Saharan Africa | 5.5 – 7.0 |
| Australia (most regions) | 4.5 – 6.5 |
| Southern Europe, Mediterranean | 4.5 – 6.0 |
| East & West Coast USA | 4.0 – 5.5 |
| Central USA | 5.0 – 6.5 |
| Northern Europe, UK | 2.5 – 3.5 |
| Canada (southern) | 3.5 – 4.5 |
Use your location’s annual average, not the summer peak. Summer peak values will overestimate your system’s year-round performance significantly.
Step 4 — Calculate Required System Size
Now plug your numbers into the master formula.
Formula:
Required System Size (kW) = Adjusted Daily Target ÷ Peak Sun Hours
Continuing the example (5 peak sun hours):
33 kWh ÷ 5 hours = 6.6 kW
Your required solar array size is 6.6 kW DC (the total rated wattage of all panels combined).
In practice, round up to the nearest standard system configuration — in this case, a 7 kW system is the appropriate specification.
Step 5 — Calculate Number of Panels
Once you know your required system size, calculating the number of panels is simple.
Formula:
Number of Panels = System Size (W) ÷ Individual Panel Wattage (W)
Standard residential panel wattages in 2026:
- Budget panels: 370–400W
- Mid-range panels: 400–440W
- Premium panels: 440–500W+
Continuing the example with 400W panels:
7,000W ÷ 400W = 17.5 panels → round up to 18 panels
With 440W premium panels:
7,000W ÷ 440W = 15.9 panels → round up to 16 panels
Premium higher-wattage panels require fewer panels for the same system capacity — important if your roof space is limited.
Double-checking with monthly production:
A single 400W panel produces approximately:
400W × 5 peak sun hours × 30 days = 60 kWh/month per panel
18 panels × 60 kWh = 1,080 kWh/month — which is 31% above the original 825 kWh/month consumption, comfortably covering the 20% buffer target. ✅
Step 6 — Size Your Inverter
Your inverter converts the DC electricity your panels produce into the AC electricity your home uses. Sizing it correctly relative to your panel array is critical — both for performance and for compliance with the 120% electrical safety rule.
Standard inverter sizing rule:
Inverter AC Output ≤ Panel Array DC Capacity × 1.0 to 1.33
Most installers apply a DC-to-AC ratio of 1.1–1.25 — meaning the total panel DC capacity is slightly larger than the inverter’s AC output rating. This is called array oversizing or clipping, and it’s intentional — panels rarely reach their full rated output simultaneously, so a slightly smaller inverter captures nearly all real-world production while costing less.
Continuing the example (7 kW array):
- Conservative approach: 7 kW array ÷ 1.1 = 6.36 kW inverter → specify a 6 kW or 6.5 kW inverter
- Standard approach: 7 kW array ÷ 1.2 = 5.83 kW inverter → specify a 5.5 kW or 6 kW inverter
For grid-connected systems, also verify the 120% electrical panel rule:
Maximum Solar Breaker Size = Main Panel Rating × 0.20
If your home’s electrical panel is rated at 200 amps, the maximum solar breaker is 40 amps (200 × 0.2 = 40). A 6 kW single-phase inverter at 240V draws approximately 25 amps — well within this limit for a 200-amp panel.
Step 7 — Size Your Battery (Optional)
A battery is optional for grid-connected systems but essential for energy independence and backup power. If you want to store daytime solar surplus for nighttime use, here’s how to size it.
Formula:
Required Battery Capacity (kWh) = Evening/Night Usage (kWh) ÷ Battery DoD
Step 7a — Calculate your evening and nighttime consumption.
Most homes consume roughly 40–60% of their daily usage between 6 PM and 6 AM. Using the example:
27.5 kWh/day × 0.5 = 13.75 kWh evening/night usage
Step 7b — Apply the battery’s Depth of Discharge (DoD).
- LFP lithium batteries: 80–95% DoD → divide by 0.85
- Lead-acid / AGM: 50% DoD → divide by 0.5
For LFP lithium:
13.75 kWh ÷ 0.85 = 16.2 kWh battery capacity required
Specify a 15–16 kWh LFP battery bank — such as two Tesla Powerwall 3 units (13.5 kWh each) or a single BYD Battery-Box Premium HVS 16.6 kWh unit.
For lead-acid (budget off-grid):
13.75 kWh ÷ 0.5 = 27.5 kWh rated battery capacity required
This demonstrates clearly why lithium’s higher DoD makes it significantly more practical — you need nearly twice the rated lead-acid capacity to store the same usable energy.
Full Worked Examples
Example 1: Average Suburban Home (Bangladesh / South Asia)
- Monthly usage: 800 kWh → Daily: 26.7 kWh
- Peak sun hours: 5.5 hours/day
- Adjusted daily target (×1.2): 32 kWh
- Required system size: 32 ÷ 5.5 = 5.82 kW → specify 6 kW
- Number of 400W panels: 6,000 ÷ 400 = 15 panels
- Inverter size: 5–5.5 kW
- Battery (LFP, 50% night use): (13.35 kWh ÷ 0.85) = 15.7 kWh → 15–16 kWh LFP battery
Example 2: Large Family Home with Air Conditioning
- Monthly usage: 1,400 kWh → Daily: 46.7 kWh
- Peak sun hours: 5.0 hours/day
- Adjusted daily target (×1.2): 56 kWh
- Required system size: 56 ÷ 5.0 = 11.2 kW → specify 11–12 kW
- Number of 440W panels: 11,200 ÷ 440 = 25.5 → 26 panels
- Inverter size: 10–11 kW
- Battery (LFP, 50% night use): (23.35 kWh ÷ 0.85) = 27.5 kWh → 27–30 kWh LFP battery
Example 3: Small Apartment
- Monthly usage: 250 kWh → Daily: 8.3 kWh
- Peak sun hours: 5.0 hours/day
- Adjusted daily target (×1.2): 10 kWh
- Required system size: 10 ÷ 5.0 = 2 kW
- Number of 400W panels: 2,000 ÷ 400 = 5 panels
- Inverter size: 1.5–2 kW
- Battery (LFP, 50% night use): (4.15 kWh ÷ 0.85) = 4.9 kWh → 5 kWh LFP battery
Example 4: Off-Grid Cabin (3 Days Autonomy)
- Daily usage: 10 kWh
- Peak sun hours: 4.5 hours/day
- Off-grid buffer (×1.3 instead of ×1.2 for extra safety): 13 kWh
- Required system size: 13 ÷ 4.5 = 2.9 kW → specify 3 kW
- Number of 400W panels: 3,000 ÷ 400 = 7.5 → 8 panels
- Battery for 3 days autonomy (LFP): (10 kWh × 3 days) ÷ 0.85 = 35.3 kWh → 35–40 kWh LFP battery bank
Quick Reference Chart
Use this chart to instantly estimate your system size based on monthly consumption and peak sun hours. All figures already include the 20% buffer.
| Monthly Usage (kWh) | 3.5 PSH (Cloudy) | 4.5 PSH (Moderate) | 5.5 PSH (Sunny) | 6.5 PSH (Very Sunny) |
|---|---|---|---|---|
| 300 kWh | 3.4 kW | 2.7 kW | 2.2 kW | 1.8 kW |
| 500 kWh | 5.7 kW | 4.4 kW | 3.6 kW | 3.1 kW |
| 800 kWh | 9.1 kW | 7.1 kW | 5.8 kW | 4.9 kW |
| 1,000 kWh | 11.4 kW | 8.9 kW | 7.3 kW | 6.2 kW |
| 1,200 kWh | 13.7 kW | 10.7 kW | 8.7 kW | 7.4 kW |
| 1,500 kWh | 17.1 kW | 13.3 kW | 10.9 kW | 9.2 kW |
| 2,000 kWh | 22.9 kW | 17.8 kW | 14.5 kW | 12.3 kW |
PSH = Peak Sun Hours per day
To estimate panel count: Divide system size (W) by your chosen panel wattage (typically 400–440W for 2026 panels).
Common Calculation Mistakes
Using peak monthly consumption instead of a 12-month average. Your highest bill month is not your baseline. Using it inflates your system size unnecessarily and increases upfront cost without proportional benefit. Always use a 12-month average.
Using daylight hours instead of peak sun hours. A 12-hour day does not mean 12 peak sun hours. Using daylight hours dramatically underestimates how many panels you need — potentially by 50% or more in temperate climates. Always use irradiance data from a solar resource map for your specific location.
Forgetting the DoD when calculating battery size. A 10 kWh lead-acid battery does not store 10 kWh of usable energy — it stores 5 kWh at the recommended 50% DoD. Failing to account for DoD leads to a battery that runs empty before morning. Always divide your required storage by the battery’s DoD rating.
Sizing the inverter too large. Installers sometimes recommend oversized inverters “for future expansion.” An inverter running consistently at 40–50% of its rated output operates at reduced efficiency. Match your inverter size to your current panel array using the 1.1–1.25 DC-to-AC ratio and add a second inverter later if you expand.
Ignoring the 120% electrical panel safety rule. Installing a solar system without verifying that your home’s electrical panel can accommodate it under this rule leads to failed inspections, forced disconnection, and potentially expensive panel upgrades. Always confirm your panel’s busbar rating before purchasing.
Not accounting for roof orientation and tilt losses. The formulas above assume panels are installed at the optimal angle and facing true south (in the northern hemisphere) or true north (southern hemisphere). Roofs that face east/west or have shallow pitch angles produce 10–20% less than optimally oriented panels. If your roof isn’t ideally oriented, increase your system size estimate by 10–15% before finalizing the specification.
Frequently Asked Questions
What is the complete formula for sizing a solar system with the 20% rule?
The master formula is: Required System Size (kW) = (Daily kWh Usage ÷ Peak Sun Hours) × 1.2. Feed it your 12-month average daily consumption and your location’s annual average peak sun hours. The result is the total DC panel capacity to install.
How do I find peak sun hours for my location?
The most accurate free resource is the Global Solar Atlas at globalsolaratlas.info — enter your address and it returns annual average peak sun hours (shown as “Direct Normal Irradiance” or “Global Horizontal Irradiance” data). Most of South and Southeast Asia averages 4.5–6.0 peak sun hours annually. Your solar installer should also have this data for your specific region.
Should I calculate from my current consumption or future consumption?
Calculate from current consumption as your baseline, then add a 10–15% growth allowance if you know your usage will increase — an EV, a new air conditioner, a heat pump water heater. Designing purely for current consumption leaves no room for lifestyle changes, while designing for speculative future loads that may never materialize wastes money. A growth buffer of 10–15% is the practical middle ground.
How many solar panels do I need for 1,000 kWh per month?
Using the formula with 5 peak sun hours and 400W panels:
- Daily usage: 1,000 ÷ 30 = 33.3 kWh
- With 20% buffer: 33.3 × 1.2 = 40 kWh
- System size: 40 ÷ 5 = 8 kW
- Panels: 8,000 ÷ 400 = 20 panels
In a sunnier location with 6 peak sun hours, the same consumption needs only 16–17 panels. Location matters enormously.
Does the 20% rule change for off-grid systems?
For off-grid systems, use 1.3 (30% buffer) instead of 1.2 in the formula, and size your battery for 3–5 days of autonomy rather than just overnight storage. Off-grid systems have no grid backup to fall back on during extended cloudy periods, so a larger production and storage buffer is essential for reliable independence.
How accurate is this calculation method?
The 20% rule formula gives an accurate starting point and ballpark specification — it’s the method professional installers use for initial system sizing before detailed site assessment. For the most precise result, a full professional assessment will also factor in your specific roof angle and orientation, a shading analysis at different times of year, local microclimate irradiance data, and detailed load profiling. Expect the professional assessment to land within 10–15% of the formula result in most cases.
What if my roof can’t fit enough panels for the calculated system size?
First, switch to higher-wattage panels — moving from 400W to 440W or 500W panels increases capacity per panel by 10–25%, fitting more generation into the same roof space. If that’s still insufficient, consider east/west split array configurations that spread panels across multiple roof faces, or add ground-mounted panels in the yard. If roof space is genuinely the hard constraint, install as much capacity as the roof allows and accept partial grid dependency for the remainder of your consumption.