Inputs and assumptions
- Square post width
- Board width
- Gap
- Rail rows
- Fasteners per board per rail
- Supply length per rail piece
- Waste allowance
Each segment starts at the previous endpoint. Gate start and width are distances between post centers; enter zero width for no gate. 0° points right and 90° points up. A closed loop must end at its starting point. The start coordinates apply only when New start is selected.
Formula
N_b = Σ ceil((W + g)/(b + g)); N_r = Σ(r × ceil(W / R))
Count bays before posts
For one uninterrupted straight run, bays = round up(run length ÷ maximum spacing). Posts = bays + 1. This rule applies to that run only. A gate breaks it into two fenced portions with separate gate posts. A shared corner belongs to both runs but is ordered once.
A 12 m run at a 2.4 m maximum spacing has five bays and six posts. Two perpendicular 6 m runs each require three bays. Counting their shared corner once gives seven posts. A closed four-sided loop has no two free ends: add the bays, then count unique junctions.
Our planner divides every fenced interval separately and merges matching endpoint coordinates. Gate posts take priority over corner and line labels. Specify reinforcement and footing requirements separately for gate posts. A post count is not a decision about structural suitability or allowable spacing.
This is a materials estimate, not a structural design. Gate frame boards and hardware are separate. Follow the product label. Yield and coverage are editable.