Perfect layout is the mark of a pro. Avoid these common mistakes with this tool:
The 4″ Baluster Rule (IRC 2021)IRC 2021 R312.1.3: a required guard must not have openings that let a 4″ sphere pass through, from the walking surface up to the required guard height. Guards are required where the walking surface is more than 30″ above the grade below (R312.1.1) and must be at least 36″ high (R312.1.2). The gap between balusters must therefore stay under 4″ – a gap of exactly 4″ fails.
How Many Balusters or Pickets Do I Need?With a gap at both posts, n balusters leave n + 1 gaps. Count = (space between posts − max gap) ÷ (baluster width + max gap), rounded up. Then recalculate the real gap = (space − count × width) ÷ (count + 1). Example: 72″ between posts, 1 1/2″ balusters, 4″ max gap: (72 − 4) ÷ 5.5 = 12.36 → 13 balusters, real gap (72 − 19.5) ÷ 14 = 3 3/4″.
Fence Pickets per 8 ft SectionThe same formula works for a fence. 96″ between posts, 5 1/2″ pickets (1×6), about 2″ gap: (96 − 2) ÷ 7.5 = 12.53 → 13 pickets, real gap (96 − 71.5) ÷ 14 = 1 3/4″. Multiply by the number of sections for your total, and measure the real space between posts – it is rarely exactly 96″.
Cumulative ErrorNever measure piece-by-piece. Small errors add up and can throw your layout off by inches.
Math CertaintyHitting an exact gap across a total width requires complex equations. We solve them instantly.
Scrap PreventionPlan your layout to avoid ugly, tiny offcuts at the ends of your project.
Running DimsPull your tape measure once, lock it, and mark all points. It’s the fastest route to precision.
On-Center SpacingCrucial for drilling. Center-to-center distance is often more important than the gap itself.
Visual BalanceSymmetry defines quality. Adjust edge offsets with two clicks for a professional look.
Edge EndingsThe layout can start and end with an item or a gap, so you can solve the connection to a wall, post, frame or corner precisely.
Slopes & RailingsOn a sloped line an item takes up a wider footprint and the gaps are longer than in the horizontal projection. The calculator converts both and shows the cut angle and rise.
A Limit, Not an AverageFor railings, battens and joists the largest allowed gap is what matters. Switch to Do not exceed and the calculator adds an item rather than breaking the limit.
Fixed End CentersFor dowels, dominos and screws keep the first and last center at the same distance from the end. Enter the spacing as a maximum and the rest is divided evenly between them.
Moving WoodOutdoors, wood swells and shrinks. Choose the gap for decks and fences based on the moisture of the boards at installation, not on how they should look in a month.
Start from a ProfileNot sure where to begin? Pick a profile for what you are building. The calculator prefills values from practice and highlights in yellow what to adjust for your material.
⚠️ Pro Tip: Always layout the entire project using running dimensions before you start any final cuts or drilling.
Ratings & Reviews