New Zealand version. Uses the 100 mm sphere limit and 150 mm stair triangle from Acceptable Solution F4/AS1, with millimetres throughout and marks measured along a raked stair barrier. US version

Baluster Spacing Calculator (New Zealand, F4/AS1)

Space balusters between deck or stair posts so no gap lets a 100 mm sphere through, as F4/AS1 sets for NZ homes with young children, plus the 150 mm stair triangle.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Baluster Spacing Calculator?

In New Zealand the safety rule for deck and stair barriers is Building Code clause F4, and the usual way to show compliance is Acceptable Solution F4/AS1. Clause F4 needs a barrier wherever people could fall 1 metre or more. Where children under 6 are about, F4/AS1 says openings in the barrier must not let a 100 mm diameter sphere through and the barrier must not be climbable, and on a stair the triangle formed by the riser, tread and bottom rail must stop a 150 mm sphere. BRANZ gives stairs within a dwelling as the typical place children under 6 use, so plan on the 100 mm rule for a home.

Enter the clear distance between the posts and the width of your balusters. On an 1,800 mm deck bay with 42 mm balusters, 12 balusters leave equal gaps of 99.7 mm at 141.7 mm centres, only 0.3 mm inside the limit. Setting a custom 95 mm maximum adds one baluster and brings every gap down to 89.6 mm, which leaves room for timber that twists after it is fixed.

Height is a separate check that this calculator does not make: take the barrier height and the post and rail sizes from the deck or stair design.

  • Baluster count, equal gap, on-centre spacing and first position
  • IRC 4 in and 4-3/8 in, 100 mm and 125 mm presets or a custom limit
  • Stair mode from rise and run or degrees, with marks along the rail
  • Layout table of every centre and an elevation sketch
  • Multiple identical sections; imperial fractions or millimetres
Read the guide: Baluster Spacing and the 4 Inch Sphere Rule, With the Math

Updated

How to use the Baluster Spacing Calculator

  1. Keep metric units and the 100 mm limit, or choose a custom maximum a few millimetres under 100 mm.
  2. Measure the clear length between the inside faces of the posts at rail height.
  3. For a stair barrier, choose stair rail and enter the riser and tread, or the angle. Check the 150 mm triangle at the bottom rail separately.
  4. Enter the number of identical bays to get the total number of balusters to order.

Worked examples

Deck bay with 42 mm balusters

Input

1,800 mm between posts, 42 mm balusters, 100 mm limit, five identical bays

Output

12 balusters per bay (60 in total), 99.7 mm gaps, 141.7 mm centres, first centre 120.7 mm from the post

With a custom 95 mm limit the same bay takes 13 balusters with 89.6 mm gaps at 131.6 mm centres, 65 for the five bays.

Stair barrier at 190 over 280

Input

2,600 mm along the rail between newels, 42 mm balusters, 190 mm riser and 280 mm tread (34.2°), 100 mm limit

Output

15 balusters, 95.1 mm level gaps, 165.7 mm centres along the rail, first centre 140.3 mm along the rail

Mark the centres along the rail, not level. The gap under the bottom rail at each tread is the 150 mm triangle in F4/AS1, which the calculator does not check.

Wide blades on a 1.5 m bay

Input

1,500 mm between posts, 65 mm blades, 100 mm limit

Output

9 blades, 91.5 mm gaps, 156.5 mm centres

Wider infill means fewer pieces for the same opening rule; the sphere limit is the same whatever the infill looks like.

Background and insight

With n balusters of width b in a clear length L there are n + 1 gaps, so gap = (L - n b) / (n + 1). Requiring gap to be no more than the limit g gives n = ceil((L - g) / (b + g)). For 96 in between posts, 1-1/2 in balusters and a 4 in limit that is 17 balusters with 3.92 in gaps at 5.42 in on centre. Marking every centre from one post, rather than stepping off the spacing, stops rounding from adding up.

The IRC (Section R312.1.3) says required guards must not have openings that allow a 4 in sphere to pass, with two exceptions: 4-3/8 in on the open side of stairs and 6 in for the triangle formed by the riser, tread and bottom rail. England uses 100 mm (Approved Document K), as does the National Building Code of Canada, and Australia's NCC uses 125 mm. On a stair the balusters are vertical, so the clear gap is measured level: the calculator works in the level run (rail length x cos of the rake) and divides back by the cosine for marks along the rail.

Common use cases

  • Deck and porch railings

    Lay out balusters between posts with equal gaps that meet the 4 in rule.

  • Stair balustrades

    Convert level spacing into marks along a raked handrail or stringer.

  • Ordering balusters

    Count balusters for several identical sections in one go.

  • Metal and cable infill checks

    Check gaps for metal pickets or glass panels against a 100 mm or 125 mm limit.

Tips and limitations

  • Measure each bay at rail height, because posts are often a few millimetres out of plumb.
  • The NZ Timber Preservation Council lists handrails, palings and decking under H3.2, the class for timber exposed to the weather above ground.
  • BRANZ sums up F4/AS1 as expecting barriers used by children under 6 not to be climbable, which generally means no horizontal rails, so vertical balusters are the simple choice.
  • This calculator spaces deck and stair balusters, not pool fencing.

Sources and further reading

  1. Acceptable Solution F4/AS1: Safety from Falling (third edition, amendment 2), Ministry of Business, Innovation and Employment. The Acceptable Solution for barriers: 100 mm sphere, non-climbable barriers and the 150 mm stair triangle, as summarised by BRANZ.
  2. Bulletin 625: Stair design, BRANZ. Section 5: F4 barrier where a fall of more than 1.0 m is possible; F4/AS1 100 mm sphere and no horizontal rails where children under 6 are about; 150 mm stair triangle.
  3. Acceptable Solution F4/AS1: resource detail, Building CodeHub (MBIE). Current version valid from 1 January 2017; clause F4 requires barriers where people could fall 1 metre or more.
  4. Know your stuff: Exempt Building Work, Part 1, Licensed Building Practitioners (MBIE). Exemption 24: decks with a fall of no more than 1.5 metres; barrier still needed at 1 metre.

Frequently asked questions

What is the maximum gap between balusters in NZ?

Where children under 6 are about, F4/AS1 says a 100 mm diameter sphere must not pass through openings in the barrier, and BRANZ gives stairs in a home as the typical case. Aim a few millimetres under 100 mm so timber movement does not push a gap over.

When does a deck need a balustrade in New Zealand?

Building Code clause F4 requires a barrier where people could fall 1 metre or more. Measure from the deck surface to the ground at the outside edge, where the drop is usually greatest.

What is the 150 mm rule on stairs?

On a stair barrier, the triangular gap formed by the riser, the tread and the bottom rail must be small enough that a 150 mm sphere cannot pass through it, as BRANZ Bulletin 625 sets out from F4/AS1. Every other opening in the barrier still has to stop a 100 mm sphere.

Do I need building consent to build a deck with a balustrade?

Exemption 24 in Schedule 1 of the Building Act, as the LBP Codewords series explains it, lets you build a deck or platform without consent as long as it is not possible to fall more than 1.5 metres from it. The barrier is still needed wherever the fall is 1 metre or more.

Can I use horizontal slats or wires instead of balusters?

Not where children under 6 are about. F4/AS1 expects barriers in those areas not to be climbable, which generally means no horizontal rails. Talk to your designer or council before choosing horizontal infill for a house.

Is there an in-depth guide to the Baluster Spacing Calculator?

Yes. “Baluster Spacing and the 4 Inch Sphere Rule, With the Math” covers the background, how it works, common pitfalls and worked examples. Read the full guide.