Railing Post and Gap Calculator
Post count plus clear-gap compliance check.
With the default inputs: Total length 30 · Post spacing 1.1 · Vertical bars per bay 9 pcs etc.Posts required 29 bars
Edit the inputs below to recalculate.Inputs
Result
| Bays | 28bays |
| Post spacing | 1.07m |
| Clear gap between bars | 94mm |
| Gap within 110 mm | Yes |
| Minimum height | 1050mm |
| Height adequate | Yes |
| Horizontal load to check | 1kN/m |
Two hard requirements: clear gaps between vertical bars must not exceed 0.11 m (to stop a child passing through or climbing), and heights are at least 1.05 m for residential balconies, 1.10 m on public building edges and 1.20 m above 24 m - local rules may be stricter. The top rail is checked for about 1.0 kN/m horizontal load in housing and 1.5-2.0 kN/m in schools and malls, which requires a structural check of posts and anchors. Geometry only here.
Reverse: known result, work out one input
Enter a target result; the other inputs stay fixed and this one is worked out.
Formula
| Bays = ceil(length ÷ spacing); posts = bays + 1 | |
| Gap = (span − bar width × (bars+2)) ÷ (bars+1) | end posts count as obstruction |
| Gap ≤ 110 mm | child safety |
| Height ≥ 1050 / 1100 / 1200 mm | by location |
How to work it out
- Check the height requirement by location first: guardrails are at least 1.05 m where the drop is under 24 m and 1.10 m at 24 m and above; places used by children also need a non-climbable detail.
- Posts = total length ÷ post spacing, rounded up plus one — both ends need a post.
- Infill per bay = bay length ÷ design clear gap, rounded up.
- Verify the clear gap: bay length ÷ infill count − bar diameter must not exceed 0.11 m. This is the acceptance item and a fail means rework.
- Check the horizontal load for the occupancy: 1.0 kN/m for dwellings and dormitories, 1.2 kN/m for schools and retail; posts and anchors must be verified against it.
Where it goes wrong
- Counting posts without checking the clear gap — nine 12 mm bars in a 1.1 m bay give exactly 110 mm clear; eight bars give 125 mm, wide enough for a child's head, and inspection fails.
- Assuming 1.0 m everywhere — above 24 m the height must be 1.10 m, and a 1.0 m balcony rail on a high-rise does not comply.
- Anchoring posts with expansion bolts into the screed — a 30 mm screed carries nothing; anchor into the structural slab or use cast-in or through-bolts.
- Single-ply tempered glass infill — laminated glass is required so it stays together when broken; monolithic tempered falls as a shower of fragments.
Material and cost
Stainless tube 200-400 CNY/m, powder-coated galvanised steel 120-250, laminated glass balustrade 400-800, solid timber 300-600. Installation 40-80 CNY/m, more for work at height.
On site
- On stairs, measure handrail height from the nosing line, not the tread centre or back — the difference is 30-50 mm.
- No climbable horizontal rails or lattice within 0.10 m below the top rail on a guardrail over a drop; that is the anti-climb requirement.
- Use 304 stainless or better outdoors; powder-coated carbon steel starts rusting at the welds within two years.
Basis
- GB 50352-2019 Unified standard for design of civil buildings, Section 6.7
- GB 50009-2012 Load code for the design of building structures, Section 5.1
- GB 50210-2018 Code for acceptance of building decoration, Chapter 12
FAQ
Where does 110 mm come from?
How do glass and cable railings work?
Is 1.0 kN/m enough?
Cite this page
Use this format in reports, method statements or coursework. The link is permanent.
Building Calculator. Railing Post and Gap Calculator. 2026-10-25. https://jianzhujisuan.com/en/railing-post