1 · Enter your fence section

Layout details

Measurement display
Section measurement
in
Pickets and spacing
in
Measure the actual face width, not the nominal lumber size.
in
The calculator adds enough pickets to keep the exact gap at or below this value.
Material estimate (optional)
in
%

2 · Review the plan

Your picket spacing result

Calculated resultExact clear gap3 1/8 in3.1333 decimal inches
Pickets
14
Spaces
15
Center to center
6 5/8 in
Clear opening
96 in

Picket position list

Measure every mark from the far-left reference edge of the entered section. This includes the left post when outside-to-outside width is selected.

PicketLeft edgeCenterRight edge
13 1/8 in4 7/8 in6 5/8 in
29 3/4 in11 1/2 in13 1/4 in
316 3/8 in18 1/8 in19 7/8 in
423 1/16 in24 13/16 in26 9/16 in
529 11/16 in31 7/16 in33 3/16 in
636 5/16 in38 1/16 in39 13/16 in
742 15/16 in44 11/16 in46 7/16 in
849 9/16 in51 5/16 in53 1/16 in
956 3/16 in57 15/16 in59 11/16 in
1062 13/16 in64 9/16 in66 5/16 in
1169 7/16 in71 3/16 in72 15/16 in
1276 1/8 in77 7/8 in79 5/8 in
1382 3/4 in84 1/2 in86 1/4 in
1489 3/8 in91 1/8 in92 7/8 in
Measure Plan BuildGenerated https://measureplanbuild.com/calculators/fence-picket-spacing

Planning estimate only. Verify field dimensions, product specifications, local requirements, underground utilities, and safe installation practices.

What the fence-spacing result means

The exact clear gap is the open distance from one picket edge to the next. The center-to-center measurement adds one finished picket width. Every position in the table is measured from the far-left edge of the section you entered, so outside-to-outside layouts include the left post before the first picket mark.

Code and safety check: The calculator does not approve a fence or pool barrier. Verify opening limits, height, climbability, gates, hardware, setbacks, and permits with the applicable local authority.

How to use the calculator

  1. Choose whether your width is the clear opening or includes both posts.
  2. Enter the actual finished picket face width.
  3. Enter a maximum desired gap or a fixed number of pickets.
  4. Choose whether pickets sit flush at both clear-opening edges.
  5. Add picket height and waste allowance for a linear material estimate.
  6. Review the warning, diagram, and position table before laying out the rails.

The picket-spacing formula

First establish the clear opening. When the entered width includes posts, subtract two finished post widths. Then subtract the combined width of all pickets and divide the remaining width among the open spaces.

With pickets at both opening edges:
spaces = pickets − 1

With equal outside gaps:
spaces = pickets + 1

Exact gap:
(clear opening − picket count × picket width) ÷ spaces

Worked example

For a 96-inch clear opening with 3½-inch pickets and a requested maximum gap of 3½ inches, the calculator selects 14 pickets. They occupy 49 inches. With equal gaps at both outside edges, the remaining 47 inches are divided among 15 spaces:

(96 − 49) ÷ 15 = 3.1333 inches, displayed as approximately 3⅛ inches when rounded to the nearest sixteenth.

Common fence-layout mistakes

  • Using nominal lumber width instead of the picket’s finished face width.
  • Mixing an outside-to-outside section measurement with a clear-opening formula.
  • Forgetting that edge pickets change the number of open spaces.
  • Stepping off rounded gaps and accumulating error across a long section.
  • Assuming a visually pleasing gap automatically meets local or pool-barrier rules.
  • Ignoring actual post plumb, rail length, picket swelling, or uneven terrain.

Frequently asked questions

How do I calculate equal spacing between fence pickets?

Subtract the combined width of all pickets from the clear opening, then divide the remaining width by the number of spaces. The number of spaces depends on whether pickets sit at both opening edges.

How many spaces are there between fence pickets?

If the first and last pickets sit flush at the opening edges, there is one fewer space than pickets. If equal gaps also appear at both outside edges, there is one more space than pickets.

What fence-picket gap is allowed by code?

There is no universal answer. Requirements depend on location, fence purpose, height, pool-barrier rules, and other conditions. Confirm the current requirements with the authority having jurisdiction.

Why does maximum-gap mode add more pickets?

It rounds the calculated picket count upward so the exact equalized gap stays at or below the maximum you entered instead of exceeding it.

Should I measure between posts or across the posts?

The clear opening between inside post faces is simplest. If you measured outside-to-outside, select that basis and enter the finished width of each post so both can be deducted.

Related planning tools

Read How Much Space Should Be Between Fence Pickets? or use the board-and-batten calculatorfor an interior vertical-strip layout.

Measurement and safety disclaimer

This tool provides a planning estimate, not structural, permit, property-line, or code approval. Confirm site dimensions, boundaries, underground utilities, wind and load requirements, fasteners, product instructions, and current local rules. Use appropriate protective equipment and qualified help. Review the full measurement disclaimer.