How many solar panels fit on a roof? A layout guide
Work out how many solar panels fit on a roof using usable dimensions, module sizes and gaps. Compare portrait and landscape layouts with a worked example.
Key takeaways
- Count whole modules within measured usable roof-face dimensions, including the actual gaps.
- Compare portrait and landscape layouts; dividing roof area by panel area does not prove a fit.
- A physical layout still needs mounting, roof condition, shade and electrical design checks.
To work out how many solar panels fit on a roof, count whole modules inside the usable dimensions of each roof face. Include the gaps between modules and keep required clearances outside that usable rectangle. Roof area alone cannot establish the final count.
For example, a hypothetical usable face measuring 6.20 × 4.00 m fits 10 portrait modules or 9 landscape modules when each module is 1,762 × 1,134 mm and the assumed gap is 20 mm. Dividing the two areas suggests 12 modules, but that does not show where those rectangles would go.
The workflow below lets you reproduce that difference and prepare a layout that an installer can check. It estimates physical fit on a pitched roof with modules arranged in the roof plane; flat-roof racks and their row spacing require another model.
Step 1: Measure Each Roof Face in Its Own Plane
Measure the width along the eaves and the sloping distance from eaves toward ridge for each candidate face. Use drawing dimensions, a suitable survey or measurements obtained through appropriate access arrangements. Label where each dimension begins and ends.
A satellite outline normally represents a horizontal projection. It does not directly give the sloping length of a pitched face. If the horizontal run is known, the face length is horizontal run ÷ cos(roof angle), for the simple plane and endpoints being measured.
Do not apply that conversion to a length already measured on the slope. The Google Maps roof-area guide explains the difference between a footprint and a sloping surface, including the limits of imagery as a measurement source.
Keep separate faces separate. Two roof areas totaling 30 m² do not behave like one uninterrupted 30 m² rectangle. Their shapes, orientations and available mounting regions can produce very different module counts.
Step 2: Draw the Usable Boundary Before Placing Panels
Start with the gross roof-face outline. Mark ridge, eaves, hips, valleys, roof windows, chimneys, vents and other obstructions. Then record the areas that must remain available for the actual project.
Required access routes, roof-edge distances, fire-related provisions and equipment clearances depend on the location and system. Obtain them from the installer and applicable design requirements. This guide intentionally does not invent one clearance dimension for every roof.
Distinguish those edge exclusions from the gap between adjacent panels. If you have already reduced the roof outline to a usable rectangle, do not subtract the same edge distance again in the module formula.
Give each excluded zone a label and a reason. “Clearance at roof window per project detail” is useful; an unexplained shaded strip is harder to verify or revise. If a distance is provisional, show it as provisional in the layout.
Step 3: Choose the Exact Module Dimensions
Use the dimensions of the model in the proposed quotation. A generic “450 W panel” is not a size specification. Modules with the same nominal power can have different lengths, widths, thicknesses and mounting requirements.
For a real dimensional reference, Trina’s TSM-NEG9RC.27 product page lists a 1,762 × 1,134 × 30 mm module and power up to 450 W. Our packing example uses the stated length and width; it is not a recommendation to select that product.
Confirm the exact product revision and power class before ordering. If the quote changes to another module, repeat the layout rather than assuming the same count will remain possible.
Also obtain the mounting-system information. Trina’s Vertex installation manual illustrates that mounting arrangements and permitted loading depend on the module and attachment configuration. A rectangle fitting on paper does not approve its clamps or rails.
Step 4: Count Gaps Between Modules, Not After Every Module
For n equal modules across a row, there are n − 1 internal gaps. If the module width is w and the gap is g, the row requires n × w + (n − 1) × g of usable width.
Rearranging that expression gives a convenient count:
Columns = floor((usable width + gap) ÷ (module width + gap))
Apply the same formula to the vertical direction using module length and the relevant row gap. The floor operation means round down to a whole number. If even one module cannot fit, that direction’s count is zero.
This formula assumes a rectangular usable region and a regular grid with constant gaps. It does not handle an obstacle cutting through the grid or claim that a mixed layout cannot fit more panels.
If horizontal and vertical gaps differ, use the correct value for each direction. End clamps, rail extensions or other mounting allowances must already be accommodated in the usable boundary or explicitly added to the layout dimensions, without double counting.
Step 5: Calculate the Portrait Layout
Use millimeters throughout the example: usable width 6,200 mm, usable slope length 4,000 mm, module width 1,134 mm, module length 1,762 mm. Assume 20 mm gaps in both directions solely to demonstrate the arithmetic.
Across the roof, floor((6,200 + 20) ÷ (1,134 + 20)) gives 5 columns. Up the slope, floor((4,000 + 20) ÷ (1,762 + 20)) gives 2 rows. The regular portrait layout therefore contains 10 modules.
Verify the result by rebuilding its dimensions. The width is 5 × 1,134 + 4 × 20 = 5,750 mm. The height is 2 × 1,762 + 20 = 3,544 mm. Both fit within the assumed usable rectangle.
The remaining 450 mm in width and 456 mm in height are total leftovers, not additional prescribed clearances. Their distribution depends on how the array is positioned. Do not call them acceptable edge margins without checking the project boundary definition.
Step 6: Rotate the Modules and Check Again
For landscape, use 1,762 mm across the roof and 1,134 mm up the slope. With the same assumed gaps, the horizontal count is floor(6,220 ÷ 1,782) = 3 columns. The vertical count is floor(4,020 ÷ 1,154) = 3 rows.
That layout contains 9 modules. Its overall width is 3 × 1,762 + 2 × 20 = 5,326 mm, and its height is 3 × 1,134 + 2 × 20 = 3,442 mm.
| Layout in the same usable rectangle | Columns × rows | Modules | Occupied width × slope length |
|---|---|---|---|
| Portrait | 5 × 2 | 10 | 5,750 × 3,544 mm |
| Landscape | 3 × 3 | 9 | 5,326 × 3,442 mm |
Portrait wins this regular-grid comparison by one module. It does not always win. A shorter or wider usable face can favor landscape, and an interrupted face may favor different blocks in different regions.
The physical orientation must also be compatible with the selected mounting arrangement. A layout can be geometrically attractive and still need to change because its attachment zones do not suit the available roof structure.
Step 7: See Why the Area Shortcut Overstates This Example
The usable rectangle has an area of 6.20 × 4.00 = 24.80 m². Each example module occupies 1.762 × 1.134 = 1.998108 m². Dividing gives approximately 12.41, which rounds down to 12 whole module areas.
That number ignores packing. Twelve module areas can total less than the roof area while their rectangular outlines still fail to fit inside it. Narrow unused strips cannot be collected and moved elsewhere on the roof.
The two regular layouts demonstrate ten and nine actual placements, not a proof that ten is the global maximum under every mixed orientation. If someone proposes eleven or twelve, ask for a dimensioned placement drawing showing every module, gap and boundary.
The roof-area calculator remains useful for checking the size of the face. Use the result as a geometry input and a reasonableness check, then let the dimensioned layout establish the physical module count.
Step 8: Test Obstacles and Near-Threshold Dimensions
A roof window removes more than an abstract area. It can interrupt a row and prevent panels from using neighboring narrow strips. Draw the obstacle’s actual position and the required surrounding exclusion, then remove or reposition the affected module rectangles.
For complex faces, divide the usable area into non-overlapping regions and lay out each one. Ensure a module is not counted in two regions and that the regions themselves do not overlap. Keep their orientations and mounting arrangements visible.
Small dimension changes can produce a whole-panel step. The five-column portrait row in our example requires exactly 5,750 mm. If the usable width falls to 5,749 mm, that five-column row no longer fits under the same assumptions; the simple two-row portrait grid falls from ten panels to eight.
That sensitivity is why a map estimate should not be treated as an order-ready measurement near a threshold. Record measurement uncertainty and installation tolerances rather than rounding the usable rectangle upward to preserve the desired count.
Step 9: Check Shade, Roof Condition and the Mounting Design
Physical fit answers only one question. Before adopting a layout, assess the roof’s condition, the suitability of its structure and the attachment design. An array that occupies every possible rectangle may still be a poor proposal for that roof.
ENERGY STAR’s rooftop-solar guidance highlights roof condition, orientation and shading as factors in evaluating a project. A chimney’s effect changes with the sun’s position; one aerial image cannot show its full annual shadow pattern.
Keep the shade assessment attached to the actual panel positions. Removing a shaded panel may alter string design or equipment choices, and those decisions belong with the qualified installer. This guide does not provide electrical wiring instructions.
For the effect of roof orientation and tilt, continue with the solar roof-angle guide. On a flat roof, tilted racks also introduce their own projected footprint, interrow shading and support requirements, so the flush-mounted grid above should not be reused unchanged.
Step 10: Keep Panel Count, Power and Energy Separate
If the ten fitted modules are each rated at 450 W, their combined nominal DC rating is 4,500 W, or 4.5 kWp. Nine such modules total 4.05 kWp. These figures describe nameplate power under rating conditions.
They do not say how many kilowatt-hours the system will produce per day or year. That requires a site-specific energy estimate using location, orientation, shade, weather and system assumptions. An inverter’s AC rating is another number and may differ from the modules’ combined DC rating.
For quotation comparison, put module count, exact module model, nominal DC total, inverter specification and estimated annual energy on separate lines. Ask which inputs explain differences between competing proposals.
A larger panel count is therefore not automatically the best design. The useful comparison connects a verified layout with its mounting plan, expected production and the household’s goals, without pretending that area alone settles those choices.
Prepare a Layout an Installer Can Review
Your worksheet should contain the measured roof outline, slope direction, usable boundaries, obstacles, module dimensions, assumed gaps and occupied array dimensions. Mark the source of every clearance and identify provisional inputs.
Keep the portrait and landscape alternatives beside each other. Label the demonstrated count and any unresolved mixed-layout option. This makes a quotation discussion more concrete than asking how many panels should fit on a roof of a certain area.
Begin by checking the face dimensions with the roof-area calculator, then draw the whole modules. Send the resulting layout to the installer for verification of measurements, mounting, structure and electrical design before relying on the final count.
Module reference and guidance reviewed 26 October 2026. The usable rectangle and 20 mm gaps are illustrative assumptions, not prescribed site clearances or installation instructions.
Tilted rows need a different footprint check; use the flat-roof solar row spacing example to include the gaps between rows.
Frequently asked questions
Can I divide roof area by solar panel area?
That gives an area-based upper bound for a fully usable surface, not a layout. Rectangular panels cannot use every narrow leftover strip, and gaps, obstacles and required clearances consume space. Draw rows and columns using the actual module dimensions, then test every boundary.
Do portrait solar panels always fit better?
No. The best orientation depends on the usable face dimensions, gaps, obstacles and permitted mounting arrangement. In this guide, portrait fits ten modules and landscape nine, but a different roof rectangle can reverse the result. Mixed layouts need their own dimension and mounting checks.
Does ten 450 W panels mean 4.5 kWh per day?
No. Ten modules rated at 450 W total 4.5 kWp of nominal DC power under their rating conditions. Daily or annual energy is measured in kWh and depends on sunlight, orientation, shade, system losses and other site factors. Panel count alone cannot determine it.