Free Tool

Solar Panel Layout Estimator

Estimate a first-pass panel grid from roof-plan dimensions, roof pitch, editable module size and a user-entered edge buffer. Free tool, no signup needed.

Solar Panel Layout Estimator

Enter roof dimensions, panel size, and setback requirements. Get maximum panel count, array dimensions, system size, and roof utilization percentage.

Enter horizontal roof-plan dimensions for a first-pass panel count. The 66 × 40 inch module and 3 ft buffer are editable examples, not a code-compliant design. Check actual module size, obstacles, roof access and local fire rules.
Roof Dimensions
ft
Horizontal dimension along the eave.
ft
Horizontal ridge-to-eave projection; pitch converts it to surface width.
Pitch multiplies the actual roof surface area.
Panel Configuration
W
Portrait is most common on residential roofs. Landscape may fit more panels on wide, shallow roofs.
⚙ Advanced Options▼
in
Long dimension. Default: 66 in.
in
Short dimension. Default: 40 in.
ft
Illustrative uniform buffer only. Local fire pathways differ by roof and jurisdiction.
%
Changes the area report only; panel count does not model obstacle locations.
0.5 in
0 in (flush)3 in6 in
Gap between adjacent panels in racking. Typical: 0.25–0.5 in.
Panels That Fit
-
Solar Panels
Enter dimensions to calculate
System Capacity
-
kWp DC
Usable Roof Area
-
sq ft
Panel Coverage
-
of buffered roof surface
Actual Roof Area
-
sq ft
Layout- cols × - rows
Pitch Factor-
Usable Length × Width-
Panel Footprint-
Roof Layout Preview
Top-down view
Enter dimensions above

Want to calculate annual energy yield? Use our Solar Panel Sizer to enter your system capacity (X kWp) with your location for location-specific yield, peak sun hours, and savings estimates.

Calculate Annual Yield with Solar Panel Sizer →
Full Calculation Summary
Roof Face Dimensions-
Roof Pitch-
Pitch Factor-
Actual Roof Surface Area-
Edge Setback-
Usable Area Reduction-
Usable Roof Area-
Panel Orientation-
Panel Footprint (H × W)-
Grid Layout-
Total Panels-
System Capacity (DC)-
Methodology:Actual Roof Area = Length × Width × Pitch Factor, where Pitch Factor = √(1 + (rise/run)²). For a 4:12 pitch: √(1 + (4/12)²) = 1.054. Usable Length = (Length − 2 × Setback), Surface Width = Width × Pitch Factor. Usable Width = Surface Width − 2 × Setback. Reported Available Area = Usable Length × Usable Width × Area Availability %. Panel columns = ⌊Usable Length ÷ Panel Footprint Width⌋. Panel rows = ⌊Usable Width ÷ Panel Footprint Height⌋. Total Panels = Columns × Rows. System kWp = Total Panels × Panel Wattage ÷ 1,000. Panel dimensions are actual module dimensions on the sloped roof surface. The area percentage is a reporting allowance only; it does not locate vents or reduce the grid count. Reduce roof dimensions or use a detailed layout for real obstructions.This tool gives a planning estimate. Actual layout depends on racking system, roof penetrations, fire code pathways, and AHJ requirements. Always confirm with a licensed solar designer.

Solar Panel Layout Estimator

Enter your roof dimensions and pitch to get an instant estimate of how many solar panels fit. The tool draws a top-down SVG grid, reports nameplate capacity in kWp DC, and reports roof area after an illustrative user-entered edge buffer. It supports imperial and metric units, portrait and landscape orientation, and custom panel sizes. The kWp figure is panels times nameplate watts, divided by 1,000. It excludes irradiance, temperature, shade and inverter losses.

How It Works

  1. Enter roof dimensions: Input the length and width of the roof face (the single plane you’re designing on) in feet or meters.
  2. Select roof pitch: Choose from flat (0:12) through steep (12:12). The tool converts the horizontal ridge-to-eave dimension to roof-surface width with a pitch factor.
  3. Configure panel settings: Select panel wattage (400, 420, 450, or 500W), orientation (portrait or landscape), and adjust gap spacing.
  4. Review the layout: See the panel count, grid (columns × rows), system kWp, and an SVG diagram showing the panel arrangement with setback zones marked.

What the Tool Calculates

  • Pitch factor: √(1 + (rise/12)²) multiplies the ridge-to-eave run only. Eave length stays the plan length.
  • Roof surface area: plan length × ridge-to-eave run × pitch factor
  • Reported available area: applies the selected uniform buffer and area-availability percentage; the percentage does not locate obstacles or reduce panel count
  • Panel grid: Floor division of usable dimensions by panel footprint (including gap) in columns and rows
  • System capacity: Total panels × panel wattage ÷ 1,000 = kWp DC

What the diagram assumes

The SVG on this page is the layout diagram. It marks the edge buffer, the remaining rectangle and the module grid. It does not trace hips, valleys or a fire path.

Input How the count uses it
Eave length Stays the horizontal plan length. Pitch does not stretch it.
Ridge-to-eave run Multiplied by the pitch factor √(1 + (rise/12)²) to get surface width. The flat option is 0:12, so a 1:12 roof needs a pitched selection.
Edge buffer One user-entered distance on every side. The default 3 ft is an example, not a local fire-code setback.
Module and gap Portrait uses the 66 in side along the slope unless you switch orientation. The gap is inside the footprint before the count.
85% area figure Reported only. It does not remove modules or place obstacles.
kWp Nameplate DC. Not annual kWh.

Worked planning example

For a 40 × 20 ft horizontal roof projection at 4:12 pitch, the ridge-to-eave surface width is 20 × √(1 + (4/12)²) = 21.08 ft. An illustrative 3 ft buffer on every edge leaves 34 × 15.08 ft. With 66 × 40 in modules, a 0.5 in gap and portrait placement, the rectangular grid fits 10 columns × 2 rows = 20 modules, or 8.0 kWp at 400 W each. The 85% area-availability input reports about 436 sq ft, but it does not reduce that 20-module count or locate any obstacles. Real fire paths, roof features, structural limits and racking clearances can lower the count.

Code Compliance

The default 3-foot uniform edge buffer is an example, not a requirement under NEC 690.12 or proof of fire-code compliance. Fire access pathways and roof setbacks vary with building type, roof geometry, adopted code and local authority. The estimator cannot locate vents, hips, skylights or access routes, and its area-availability percentage does not alter the grid count. Enter dimensions that reflect real obstructions and have a qualified designer check the final layout against the applicable code and authority requirements.

Panel Dimension Reference

Default panel dimensions are 66 × 40 inches (168 × 102 cm), representative of a standard 400W monocrystalline module. Use the advanced settings accordion to enter exact dimensions from your panel datasheet.

Free Calculator - Professional Software

Take your estimate into a full project review

Bring your site inputs and calculation assumptions to a SurgePV demo. Confirm the design and proposal workflow that fits your project.

Ready to Review a Solar Layout for Your Project?

Bring the roof dimensions, chosen module and site constraints to a demo. Confirm the design and proposal workflow for your project.

No credit card required · Full access · Cancel anytime

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