Back to Blog
solar design28 min read

How to Design a Residential Solar System: Step-by-Step

A 12-step guide to design a residential solar system, from the electricity bill to permit plans, with worked examples and sourced PVGIS data.

Keyur Rakholiya

Written by

Keyur Rakholiya

CEO & Co-Founder · SurgePV

Rainer Neumann

Edited by

Rainer Neumann

Editorial contributor · SurgePV

Published ·Updated

Answer

To design a residential solar system, follow 12 steps: read 12 months of bills, check the roof, map shade, size the array in kWp, pick panels, lay them out, size the inverter, string the panels, decide on a battery, simulate yield, test the money case, and prepare permit plans. Start with the annual kWh the home uses.

A good residential design starts with what the home uses, not with how many panels fit on the roof. This guide walks through 12 steps in order and follows one example home from its first bill to its permit plans.

kWp means kilowatts peak, the rated size of the panels. kWh means kilowatt-hours, the energy a home uses or makes. This guide is for installers and designers. It uses one example home from the first step to the last.

Last updated: November 2026

  1. Gather the electricity bill and load data.
  2. Check the site and the roof.
  3. Map the shade.
  4. Calculate the system size in kWp.
  5. Select the panels.
  6. Design the panel layout.
  7. Size and select the inverter.
  8. Configure the strings and wiring.
  9. Add battery storage if the home needs it.
  10. Run the energy yield simulation.
  11. Prepare the financial analysis and proposal.
  12. Generate the permit plans and submit them.

Designing a home roof this week?

Run the same steps on your own project and see roof modeling, shading and the proposal come from one model.

Book a Demo

Checking cost first? See the SurgePV pricing page.

What is the example home?

All the worked examples below use the same assumed home. The numbers are for teaching. They are not market data.

Step Result for the example home
1. Bill 10,500 kWh a year
4. Size 10,500 ÷ 1,400 = 7.5 kWp, plus 10% = 8.25 kWp
5. Panels 19 panels of 440 W = 8.36 kWp
6. Roof area 19 × 2.2 m² = 41.8 m² of panel area
7. Inverter 7 kW, so DC/AC ratio is 8.36 ÷ 7 = 1.19
8. Strings 10 + 9 panels on two inputs; cold Voc 456 V and 410 V
10. Yield 8.36 × 1,403.69 = 11,735 kWh a year

What do you need before you start?

Gather these inputs first. A missing one will stall the design.

Input Where to get it Why you need it
12 months of utility bills The homeowner or the utility’s website Gives the yearly kWh and the seasonal peaks
Roof access or satellite images Site visit, drone or map imagery Shows roof area, direction and obstacles
Local building and fire rules The AHJ (authority having jurisdiction, the office that approves permits). See AHJ Sets where panels may go and what permits you need
Panel and inverter datasheets Maker or distributor Gives the electrical numbers for sizing
Electricity rate schedule Utility tariff sheet Needed for the money case
Sunlight data for the site PVWatts from NREL, or PVGIS from the European Commission Gives the yield per kWp

Step 1: How do you gather the electricity bill and load data?

Every residential solar design starts with one question: how much electricity does this home use in a year? Get 12 months of bills. One month shows nothing about the seasons. Heating raises winter use, and air conditioning raises summer use.

For scale, the U.S. Energy Information Administration (EIA) says a U.S. residential utility customer bought 10,791 kWh on average in 2022, about 899 kWh a month (EIA FAQ). Your homes will differ. Our example home uses 10,500 kWh.

From each bill, write down:

  • Total kWh used. This drives the size.
  • Peak demand (kW). It matters if the utility charges for demand.
  • Time-of-use (TOU) rates. These change what solar power is worth.
  • Net metering credits. These pay the homeowner for power sent to the grid. See net metering.

Add up the 12 months. This total goes into Step 4.

Ask about changes in the next 2 to 5 years. An electric car, a heat pump, a pool pump or a new air conditioner will raise use. It costs more to add panels later than to size for them now.

Step 2: How do you assess the site and the roof?

The site check answers three questions. Where can panels go? How much space is there? Which way does the roof face?

Direction (azimuth). In the Northern Hemisphere, a south-facing roof gets the most sun over a year. In the Southern Hemisphere, north-facing is best. Many roofs do not face the ideal way. The loss is often smaller than people fear.

To show this, we ran PVGIS for Raleigh, North Carolina. We used 1 kWp, a 20 degree tilt and PVGIS’s default 14% system losses. Only the direction changed. PVGIS is a free tool from the European Commission’s Joint Research Centre. The run was on 28 October 2026.

Roof faces Compass azimuth (degrees) kWh per kWp per year Compared with south
South 180 1,404 100%
South-southwest 202.5 1,383 98.5%
Southeast 135 1,354 96.5%
Southwest 225 1,336 95.1%
East 90 1,211 86.3%
West 270 1,184 84.4%
North 0 945 67.3%
Yield by roof direction, Raleigh NC, 20 degree tilt, PVGIS default 14% losses (kWh per kWp per year)
  • South1,404
  • South-southwest1,383
  • Southeast1,354
  • Southwest1,336
  • East1,211
  • West1,184
  • North945

Source: PVGIS run by SurgePV for 1 kWp, only the direction changed, checked 28 October 2026.

Key Takeaway

In this run an east or west roof made about 84% to 86% of the south-facing yield. A roof that does not face the ideal way is a reason to model it, not a reason to turn the job down.

Tilt. In the same run, with a south-facing roof, tilt changed the yield like this: 0 degrees gave 1,236 kWh/kWp, 10 gave 1,337, 20 gave 1,404, 30 gave 1,437, 40 gave 1,435 and 60 gave 1,328. Flat or gentle roofs lose a little. Roof pitch often sets the tilt, so use the real pitch in your model. For more, see the guide to azimuth, tilt and zenith angles.

Available area. Measure the usable roof area in square meters. Take off space for vents, skylights and fire paths. In our example, a 440 W panel is 2.0 m by 1.1 m, which is 2.2 m². Nineteen panels need 19 × 2.2 = 41.8 m² of clear roof, before gaps.

Ways to measure the roof:

  • Tape and inclinometer. Cheap and slow, and you need roof access.
  • Drone survey. Fast, and it makes a map image of the roof.
  • LIDAR (laser scan data). Good for roof shape where public data exists.
  • Satellite images. Fast for a first look, but weak on roof pitch.

Structure. Check that the roof can carry the panels and the racking. Older roofs and damaged roofs need an engineer’s review. Do not guess.

Step 3: How do you map the shade?

Shade is the biggest risk to a good design. A small shadow can cost far more than its size. In NREL’s 2009 field test, one fully shaded cell cut its panel’s voltage, and so its power, by one third. The paper says a shadow can cost over 30 times its own size in that kind of setup. Read how shading affects solar panels for the details.

Walk the roof, or fly a drone, and note each obstacle:

  • Trees. Leaves change the shade between summer and winter.
  • Chimneys and vents. They cast sharp shadows that move through the day.
  • Dormers and roof bumps. They make fixed shade zones.
  • Nearby buildings. Tall buildings to the south (north in the Southern Hemisphere) matter most.
  • Poles and wires. Thin lines of shade can still hit a cell group.

The sun sits lower in winter. A tree that shades nothing in June may shade half the array in December. Model the sun path for the whole year, not for one day.

Ways to do the analysis:

  • Sun path diagrams. A manual plot of obstacle angles against the sun’s path.
  • Solar Pathfinder. A device with a dome lens that you use on the roof.
  • LIDAR 3D models. Shade maps built from laser scan data.
  • Software. Shading analysis software builds shade maps from a 3D roof model.

Do not fill every gap with panels. Compare a layout without the shaded spots against a layout that keeps them, using the same model.

Step 4: How do you calculate system size in kWp?

Use this formula:

System size (kWp) = annual use (kWh) ÷ yield (kWh per kWp per year)

Yield is how many kWh each kWp makes in a year at your site. It depends on sunlight, heat and system losses. Do not guess it. Look it up for the exact address with PVWatts or PVGIS.

To show the range, we ran PVGIS for eight cities on 28 October 2026. Each run used 1 kWp, a 20 degree tilt, the default 14% system losses, and a due-south roof (due north in Sydney). Your tilt, direction and shade will change these results.

City kWh per kWp per year
London 976
Berlin 1,013
Raleigh, North Carolina 1,404
Mumbai 1,521
Sydney 1,523
Madrid 1,564
Dubai 1,707
Phoenix, Arizona 1,789
Yield for 1 kWp at a 20 degree tilt, due-south roof (due north in Sydney), default 14% losses (kWh per kWp per year)
  • London976
  • Berlin1,013
  • Raleigh1,404 example home
  • Mumbai1,521
  • Sydney1,523
  • Madrid1,564
  • Dubai1,707
  • Phoenix1,789

Source: PVGIS run by SurgePV; ERA5 data for Raleigh, Phoenix, Mumbai and Sydney, SARAH3 for the other four, checked 28 October 2026.

PVGIS used its ERA5 database for Raleigh, Phoenix, Mumbai and Sydney. It used its SARAH3 database for London, Berlin, Madrid and Dubai.

Worked example. The example home is in Raleigh and uses 10,500 kWh a year. We round the PVGIS yield to 1,400 kWh/kWp.

  • Base size: 10,500 ÷ 1,400 = 7.5 kWp.
  • Add a 10% margin: 7.5 × 1.10 = 8.25 kWp.
  • The 8.25 kWp is the target DC array size.

The 10% margin is our choice for the example. Use your own company rule. Some homeowners want less than a full offset, and some utilities cap net metering credits. In those cases, size below 100% of use. In places with good export rates, a bigger system can pay.

Step 5: How do you select the solar panels?

Pick panels that fit the roof, the budget and the inverter. Read these items on each datasheet:

Item What it tells you
Rated power (Wp) Output at standard test conditions (STC)
Efficiency (%) Power for each square meter of panel
Temperature coefficient How much power the panel loses as it gets hot. See temperature coefficient
Voc and Isc Open-circuit voltage and short-circuit current, needed for stringing
Size and weight Needed for the roof layout and the structure check
Warranty What the maker covers, and for how long

Compare real datasheets for the models you can buy. We do not give a “typical” range here, because panel specs change fast. For cell types and circuits, read half-cut vs full-cell solar panels.

Worked example. We assume a 440 W panel (0.44 kWp).

  • Target: 8.25 kWp.
  • Panels needed: 8.25 ÷ 0.44 = 18.75, so 19 panels.
  • Actual array: 19 × 0.44 = 8.36 kWp.

If 19 panels do not fit, try a higher-watt panel or lower the target. The roof often limits the count more than the maths does.

Step 6: How do you design the panel layout?

Layout puts the panels on the roof. Fire rules, roof structure and looks all matter here.

Fire setbacks. Fire codes, such as the International Fire Code or a local version, require clear paths and edge gaps on many roofs. The numbers differ by place and by code year. Ask the AHJ for the current rule before you draw. A roof that looks big enough for 25 panels may fit fewer after setbacks.

Portrait or landscape. Portrait means the long side runs up the slope. Landscape means it runs across. Try both on each roof plane. The choice changes how many panels fit and how the strings are wired. With some half-cut panels, portrait can help in row layouts. See the shading guide.

Row spacing on flat roofs. Tilted rows can shade the row behind them. Space the rows so the sun in the low winter season does not cast one row onto the next. The inter-row spacing guide shows how.

Using software. Design software can import a 3D roof model, apply setback rules you enter, and place panels. You still check the result against the AHJ rules. See the solar panel layout design guide and the residential solar design workflow.

Want to see Steps 2 to 6 on your own roof?

SurgePV supports roof modeling, layout, shading analysis, electrical workflow support, bill of materials and proposals. Bring one of your own roofs to a guided demo.

Book a Free Demo

Checking cost first? See the SurgePV pricing page.

Step 7: How do you size and select the inverter?

The inverter turns the panels’ DC power into AC power for the home and the grid. Its size decides how much energy you can deliver.

DC/AC ratio. This is the array size in kWp divided by the inverter size in kW. If the ratio is above 1, the inverter can reach its limit at midday and cut off (clip) some power. The NREL System Advisor Model help page says high DC/AC ratios may cause clipping (SAM help). Check the inverter maker’s allowed range. Read the solar inverter sizing guide for a full walkthrough.

Types of inverter. The U.S. Department of Energy’s inverter primer describes two main types:

Type How it works Shade effect
String inverter One inverter for a string of panels If one panel is shaded, the string makes less power
Microinverter A small inverter on each panel Shade on one panel does not change the power from the others

The DOE says microinverters can cost more. It adds that either type might be helped by a system that manages battery storage. Solar can charge the battery directly over DC or after a change to AC.

Checks from the datasheet. Before you choose an inverter, read:

  • Maximum DC input voltage. The string’s cold Voc must stay below it.
  • MPPT voltage range. MPPT (maximum power point tracking) is how the inverter finds the best working point. The string voltage should stay in this range.
  • Maximum current per MPPT input. The string current must stay below it.
  • Number of MPPT inputs. This sets how many separate string groups you can run.

Worked example. For the 8.36 kWp array:

  • A 7 kW inverter gives a ratio of 8.36 ÷ 7 = 1.19.
  • An 8 kW inverter gives 8.36 ÷ 8 = 1.05.
  • Check both against the maker’s allowed range, and pick on cost, clipping and features.

Microinverters or optimizers can suit roofs with many directions or heavy shade. NREL’s study of 542 systems with optimizers found a median shade loss of 8.3%. It estimated 13% with plain bypass diodes. The systems may not be typical, so treat these as examples.

Step 8: How do you configure the strings and wiring?

A string is a line of panels wired in series. Voltage adds up along the string, and current stays the same. Strings in parallel add current and keep the same voltage. Each string must fit the inverter’s voltage window in every season.

Cold panels make more voltage. Hot panels make less. So you check both ends:

  • Cold check: string Voc at the lowest expected temperature must stay below the inverter’s maximum DC voltage.
  • Hot check: string Vmp at high heat must stay above the bottom of the MPPT range.

The correction for a voltage with a coefficient in %/°C is V(T) = V(STC) × [1 + (coefficient ÷ 100) × (T − 25)]. STC means standard test conditions.

Worked example (cold check only). Assume a panel with Voc 41.5 V at STC and a Voc coefficient of −0.28%/°C. Assume the inverter’s maximum DC voltage is 650 V and the coldest temperature is −10°C.

  • Cold Voc per panel = 41.5 × [1 − 0.0028 × (−10 − 25)] = 41.5 × 1.098 = 45.57 V.
  • Most panels per string = 650 ÷ 45.57 = 14.26, so 14.
  • Our 19 panels can be 10 + 9 on two MPPT inputs.
  • Cold string voltage: 10 × 45.57 = 455.7 V, and 9 × 45.57 = 410.1 V. Both are under 650 V.

Pro Tip

Write the coldest design temperature you used on the string sheet, next to the result. A reviewer can then recheck your numbers without repeating your survey.

That passes the cold check only. Also run the hot check with the panel’s Vmp and its own coefficient, check start-up voltage, and check current limits. The solar panel stringing and wiring guide has a full worked example. For terms, see auto-stringing.

Common mistakes:

  • Mixing panels that face different ways on one string.
  • Going over the inverter’s maximum voltage on a cold morning.
  • Putting strings of different lengths on one MPPT input. SMA’s rules for one of its inverters ask for the same number of panels in each string on an input (SMA manual).

Step 9: Do you need battery storage?

Not every home needs a battery. Storage changes the design when the homeowner wants backup power, more self-use, or savings on time-of-use rates. An off-grid home must have one.

Sizing formula.

Battery capacity (kWh) = critical load (kW) × backup hours ÷ depth of discharge (DoD)

Depth of discharge is the share of the battery you can use. Check the maker’s datasheet for the real value.

Worked example. Assume a 2 kW critical load (lights, fridge, router), 8 hours of backup and a DoD of 0.9. Then 2 × 8 ÷ 0.9 = 17.8 kWh.

AC-coupled or DC-coupled. An AC-coupled battery connects on the AC side. A DC-coupled battery connects on the DC side, through a hybrid inverter. The right choice depends on the equipment and on whether the home already has solar.

Compatibility. The battery must match the inverter’s voltage and its charge and discharge limits. Check the maker’s compatibility list. Battery systems have their own code rules, so ask the AHJ.

For more, read on-grid vs off-grid vs hybrid solar systems and battery solar system design for the UK.

Step 10: How do you run the energy yield simulation?

A simulation turns the design into a forecast of kWh per year. It uses weather data for the exact site, the shade you mapped, heat effects, wiring and inverter losses, soiling and panel ageing.

Quick estimate. Annual yield (kWh) = array size (kWp) × yield (kWh per kWp per year).

For the example home: 8.36 × 1,403.69 = 11,735 kWh a year. That is 112% of the 10,500 kWh the home uses (11,735 ÷ 10,500 = 1.12).

Performance ratio (PR). PR compares the real output with what the panels would make with no losses. In the same PVGIS run, 1 kWp made 1,403.69 kWh from 1,813.55 kWh/m² of sunlight on the panel plane. So PR = 1,403.69 ÷ 1,813.55 = 0.77. Read the solar performance ratio guide and how to calculate solar performance ratio.

Why it matters. The homeowner makes a large buying decision from your number. State the tool, the weather data and the assumptions in the proposal. PVGIS and PVWatts are free starting points. Design software adds panel-level shade and your own equipment. To see how SurgePV handles yield and financial modeling, visit the generation and financial tool page.

Step 11: How do you prepare the financial analysis and proposal?

The money case turns kWh into savings. Use your real quote, the utility’s rate schedule and the incentives that apply today. Incentive rules change, so check them each time.

Key measures:

Measure What it tells you
Simple payback Years to repay the price from yearly savings
Net present value (NPV) Total value over the life, in today’s money
Internal rate of return (IRR) The yearly return on the money spent
Levelized cost of energy (LCOE) Cost per kWh over the system life

Inputs you need:

  • The system price from your quote.
  • Yearly production from Step 10.
  • The electricity rate, and how fast it may rise.
  • How much solar power the home uses itself, and how much it exports.
  • The export or net metering rate.
  • Incentives that apply now.
  • Panel ageing and maintenance costs.
  • The discount rate for NPV.

Simple payback = system price ÷ first-year savings. Say the price is $24,000 and first-year savings are $1,760 (11,735 kWh at an assumed flat $0.15 per kWh). Payback is 24,000 ÷ 1,760 = 13.6 years. These two numbers are assumptions for the maths. They do not describe the market. A fuller model should also include incentives, ageing and rate changes.

A good proposal shows the monthly bill before and after solar, savings over time, the equipment and warranties, the timeline and the finance options. Solar proposal software can build these documents from the design data. For the maths, read the solar NPV, IRR and payback guide and the solar financing options guide.

Step 12: How do you generate permit plans and submit them?

The design is not done until the AHJ and the utility approve it. Ask both for their lists. A residential plan set often includes:

  • Site plan. An aerial view with the roof outline and panel positions.
  • Roof plan. The panel layout with dimensions and fire paths.
  • Single-line diagram. A simple drawing of how the system is wired: array, strings, inverter, disconnects, meter and grid connection.
  • Equipment datasheets. For panels, inverter, racking and any battery.
  • Structural detail. How the racking fixes to the roof, and how it stays watertight.
  • Fire setback drawing. Shows the layout meets the local rule.
  • Service panel check. Confirms the main panel can take the solar backfeed.

Code. In the United States, most places use the National Electrical Code (NEC, NFPA 70). Ask the AHJ which edition applies. Rapid shutdown, grounding and overcurrent protection all need review. Other countries use their own rules.

Utility interconnection. This is a separate application from the building permit. Ask the utility what it needs and how long it takes.

For related checklists, see the solar safety compliance checklist and NTP, PTO and COD solar project milestones. To compare software for this work, read solar panel design software for home solar systems.

What are the common residential design mistakes?

Mistake What goes wrong How to avoid it
Ignoring shade from trees The system makes less than promised Run a shade analysis over all 12 months (Step 3)
Wrong string setup Inverter faults, lost power, voided warranty Check cold Voc, hot Vmp and current for each string
An inverter that is too small Heavy clipping at midday Check the DC/AC ratio against the inverter maker’s range
Ignoring future loads The system is too small in a few years Ask about electric cars, heat pumps and pools
Skipping the structure check Roof damage, liability, permit refusal Get the roof checked before you finalize the layout
Wrong fire setbacks Permit refusal and a redesign Use the AHJ’s rule, not a default
Old sunlight data A forecast that does not match the site Use current data such as PVGIS or PVWatts
Overselling the output Lost trust and possible claims State the tool, the data and the assumptions

Conclusion

Residential solar design follows 12 steps in order. Here is what to do next:

  • Start with the bill. Get 12 months of kWh before you open any tool.
  • Map the shade. It decides whether the system makes what you promised.
  • Use a tool for speed and records. Manual maths works for learning. Software helps you repeat the steps, keep records and produce the documents. To see it on a real roof, book a demo or read the solar designing page.

Frequently Asked Questions

How many solar panels do I need for a residential system?

Divide the home’s yearly kWh by the yield per kWp for your site. This gives the kWp you need. Then divide by the panel’s kWp. For example, 10,500 ÷ 1,400 = 7.5 kWp. At 440 W (0.44 kWp) per panel, 7.5 ÷ 0.44 = 17.05, so use 18 panels to reach 7.5 kWp.

What is the best roof orientation for solar panels?

In the Northern Hemisphere, south is best. In a PVGIS run for Raleigh, North Carolina (20 degree tilt), southwest made 95.1% of the south-facing yield and southeast made 96.5%. West made 84.4% and east made 86.3%. In the Southern Hemisphere, north is best.

How do I size a solar inverter for a residential system?

Work out the DC/AC ratio: array kWp divided by inverter kW. For 8.36 kWp and a 7 kW inverter, the ratio is 1.19. A ratio above 1 can clip some power at midday. Check the inverter maker’s allowed range, then compare clipping and cost.

What is solar panel stringing and why does it matter?

Stringing is how you wire panels in series and parallel to fit the inverter’s voltage and current limits. A bad string can lose power or trip the inverter. Check the string’s cold Voc against the inverter’s maximum voltage, and its hot Vmp against the bottom of the MPPT range.

Can I design a solar system myself or do I need software?

You can design a small system by hand with the formulas in this guide and a free tool such as PVGIS or PVWatts. Software helps you repeat the steps, model shade by panel and produce permit documents. Whatever you use, an engineer or the AHJ still approves the design.

What size solar system do I need for a 2,000 sq ft house?

House size does not decide system size. Yearly use does. The EIA reports that U.S. residential utility customers bought 10,791 kWh on average in 2022. At 1,404 kWh/kWp, that would need 10,791 ÷ 1,404 = 7.7 kWp. Electric cars, heat pumps and pools raise use, so check the bills.

Where this fits

This article is part of SurgePV's Solar Design hub, which works through the topic from first principles to the decisions a project team actually has to make.

About the Contributors

Author
Keyur Rakholiya
Keyur Rakholiya

CEO & Co-Founder · SurgePV

Keyur Rakholiya is identified by SurgePV as its CEO and a company co-founder. His SurgePV author page lists only role information that can be tied to the public profile below; credentials, project totals, testing claims, media appearances, and speaking engagements are not asserted without retained evidence.

Editor
Rainer Neumann
Rainer Neumann

Editorial contributor · SurgePV

Rainer Neumann is credited as an editorial contributor on SurgePV content. This profile does not assert engineering credentials, project totals, software-testing experience, education, speaking engagements, or media citations because independent verification evidence is not retained in the publication record.

Get Solar Design Tips in Your Inbox

Join 2,000+ solar professionals. One email per week - no spam.

No spam · Unsubscribe anytime

Book Free Demo

Choose which optional technologies SurgePV may use. Essential storage remains active for security and requested features.