Glass fence panel layout calculator
Fit supplied glass panel widths and gap bounds to a straight run, including known gate clearances and spigot positions.
About this calculator
This layout fits the supplied panel widths to one straight run while honoring the entered gap bounds, end conditions, gate details, and support set-in.
Steps
- Run lengthRun length (available in another mode)
Use the selected run length unit. Panel widths, gaps, and support positions use inches.
- Run length unitRun length unit (available in another mode)
Choose the option that matches your project.
- Panel modePanel mode (available in another mode)
Choose the option that matches your project.
- Panel widthsPanel widths (available in another mode)
Enter actual panel widths in inches, separated by commas or newlines. Known-sequence mode preserves their order. Standard search accepts up to 32 distinct sizes.
- Custom panel countCustom panel count (available in another mode)
Use a whole number.
- Minimum gapMinimum gap (available in another mode)
Enter minimum gap in inches.
- Maximum gapMaximum gap (available in another mode)
Enter maximum gap in inches.
- End gapsEnd gaps (available in another mode)
Choose the option that matches your project.
- Spigot set-inSpigot set-in (available in another mode)
Enter spigot set-in in inches.
- Maximum spigot centersMaximum spigot centers (available in another mode)
Enter maximum spigot centers in inches.
- Internal gateInternal gate (available in another mode)
Choose the option that matches your project.
- Gate panel widthGate panel width (available in another mode)
Enter gate panel width in inches.
- Hinge gapHinge gap (available in another mode)
Enter hinge gap in inches.
- Latch gapLatch gap (available in another mode)
Enter latch gap in inches.
- Gate after panelGate after panel (available in another mode)
Use a whole number.
- Hinge sideHinge side (available in another mode)
Choose the option that matches your project.
- Fixed hinge panel widthFixed hinge panel width (available in another mode)
Enter fixed hinge panel width in inches.
Formula
Regular gaps = fixed panel count − 1 + selected end gaps − one gap replaced by an internal gate. Gap = (run − gate/clearances − panel widths) ÷ regular gaps. Standard modes search supplied equal widths or two adjacent supplied sizes, minimizing gap above the minimum, then panel count. Custom mode divides remaining width equally at the exact entered minimum gap. Spigot center intervals = ceil((panel width − 2 × set-in) ÷ entered maximum centers).
Notation: ceil rounds up to the next whole number.
Interpret the result
The displayed panel widths and gaps are a geometric specification for review. They do not approve glass, hardware, supports, pool barriers, installation, or arbitrary cutting.
Worked example
Four 48-in panels and one 42-in panel use 4 × 48 + 42 = 234 in. The 240-in run leaves 6 in across four regular gaps, so each gap is 6 ÷ 4 = 1.5 in, within the entered 1-to-2-in range.
Example result: 5 panels; 1.5 in gaps
Example inputs
- Run length
- 240 in
- Run length unit
- Inches
- Panel mode
- Mixed adjacent standard sizes
- Panel widths
- 42,48
- Minimum gap
- 1 in
- Maximum gap
- 2 in
- End gaps
- No end gaps
- Spigot set-in
- 6 in
- Maximum spigot centers
- 36 in
- Internal gate
- No gate
FAQs
Can it find every possible panel combination?
No. Standard search is limited to the supplied equal or adjacent sizes; use known sequence for a specific arrangement.
What do the layout marks refer to?
Use the stated origin, centerline or face reference, and units shown with the result. Display rounding may differ from the internal coordinates.
Does this approve the selected dimensions or product?
No. It lays out the dimensions you enter and does not establish structural capacity, product cutting permission, or installation compliance.
Additional examples and limits
Glass layout examples and constraints
For a 240 in run, supplied 42/48 in panels, no end gaps, Minimum gap 1 in and Maximum gap 2 in: four 48 in panels and one 42 in panel total 234 in. Four equal gaps use the remaining 6 in, or 1.5 in each. At 6 in spigot set-in and 36 in entered maximum centers, each panel has two supports. The first pair is at 6 and 42 in, and the last panel ends at 240 in.
Known-sequence gate example: three 48 in panels, a 36 in gate, 0.5 in hinge and latch clearances, no end gaps, and a 183 in total run leave one regular 2 in gap. The gate after panel 1 runs from 48.5 to 84.5 in. The other panels start at 85 and 135 in. Gate glass and clearances are separate from the regular gap; the fixed panels include any explicitly inserted hinge panel.
Boundary: one 48 in panel in a 48 in run has no regular gap. Custom mode with 148 in total, 2 panels, no end gaps and an exact 4 in gap gives two 72 in panel specifications. These are not instructions to trim purchased glass. No fit, consumed width, negative gaps, nonpositive dimensions, more than 100 panels or more than 1,000 support coordinates is accepted. The mixed search filters panels too short for both support set-ins before comparing candidates.
The tool supports supplied equal or adjacent panel sizes, a known sequence, custom equal dimensions, an internal gate, and support marks. Its search is limited to the entered sizes and the two entered gap bounds; it does not search every possible combination. Gates at a run end, multiple gates, curved/angled runs, custom hardware, loads, pool requirements, glass type and compliance are outside this straight-run model.
