Toolnido

Picket Spacing Calculator: Even Gaps Between Pickets or Balusters

Enter the space between posts, picket width and the largest gap you want. Get the picket count, the exact equal gap and a mark for each picket. In or mm.

Worked out in this browser. Nothing is uploaded or sent to a server.

Units
Section and pickets

Measure the clear gap between the inside faces of the two posts, at the height of the rail.

Measure a real picket. A "1x4" board is usually 3 1/2 in wide. Fractions such as 3 1/2 work.Measure the face, not the nominal size.

The tool uses the fewest pickets that keep every gap at or under this size.

When to use this

  • You are building a picket fence section and want every gap the same, with nothing left over at the end.
  • You are spacing deck or porch balusters and want to stay under a gap size.
  • You want a list of marks to put on the rail instead of measuring each gap.

How to use

  1. Choose inches or millimetres and measure the clear space between the two posts.
  2. Measure the real width of one picket or baluster and type the largest gap you want.
  3. Choose whether there is a gap next to each post or a picket against each post.
  4. Press Work out the spacing and read the count, the gap and the marks from the left post.

Examples

  • 92 1/2 in between 4x4 posts, 3 1/2 in pickets, gaps no wider than 2 1/4 in: With a gap at each post, (92.5 - 2.25) / (3.5 + 2.25) = 15.7, so 16 pickets. They leave 92.5 - 16 x 3.5 = 36.5 in for 17 gaps: 2.147 in each, about 2 1/8 in. The first picket starts 2 1/8 in from the left post and the last one at 86 7/8 in.
  • 2400 mm between posts, 90 mm pickets against both posts, gaps no wider than 60 mm: With a picket at each post, (2400 + 60) / (90 + 60) = 16.4, so 17 pickets. They leave 2400 - 17 x 90 = 870 mm for 16 gaps: 54.4 mm each, on 144.4 mm centres.

How it works

With a gap at each post, N pickets of width w leave N + 1 equal gaps, so gap = (span - N x w) / (N + 1). With a picket against each post there are N - 1 gaps, so gap = (span - N x w) / (N - 1). The tool takes the fewest pickets that keep the gap at or under the size you allow. Each picket's position is worked out from the left post on its own and only then rounded, so rounding never adds up.

Checked against:

  • Arithmetic of equal spacing (no rule of thumb is used).
  • IRC R312.1.3 (opening limitations for guards): required guards may not have openings that let a 4 in (102 mm) sphere pass. The tool warns above that size; local codes and pool barrier rules can differ.

Understanding the result

Picket spacing comes out even only if the gap is worked out from the real span and picket width, not from a round number. The tool finds the smallest number of pickets that keeps every gap at or under the size you choose, then shares the space left over equally between all the gaps. With a gap at each post there is one more gap than pickets. With a picket against each post there is one gap fewer. The marks table gives the left edge of every picket measured from the left post, rounded to 1/16 in or 0.1 mm.

Assumptions this tool makes

  • The span is the clear distance between the inside faces of the posts at rail height, and the posts are plumb.
  • All pickets are the same width as the one you measured.
  • Gap limit in the warning: required guards may not let a 4 in (102 mm) sphere through. Source: IRC R312.1.3. Your local code and pool barrier rules can be stricter.

Limitations

  • It spaces one straight section at a time. Stairs and sloped rails need the gap measured level, which this tool does not do.
  • Real pickets vary a little in width. Check a few and use a spacer block of the gap size as you go.
  • It does not check whether a railing meets the building code for height, strength or attachment. Check your local rules.

FAQ

How far apart should pickets be?

It is mostly a matter of looks and privacy. Many picket fences use gaps of about 2 to 3 in. For a deck, porch or stair railing that the building code requires, gaps usually must not let a 4 in ball through.

Should a picket touch the post?

Either way works. A gap at each post looks the same as the other gaps. A picket against each post hides the post edge. Choose the layout in the tool and it works out the gap for that layout.

Does this work for deck balusters?

Yes. Use the space between the posts and the baluster width, and set the largest gap below 4 in if the railing is a required guard.

Related tools

More in Home & DIY