How the fence math works
- Fence run = total length − (gates × gate width).
- Sections = run ÷ post spacing, rounded up (8 ft is common for wood; 10 ft for chain link).
- Posts = sections + 1 + one extra per gate, plus waste %.
- Rails = sections × rails per section (2 for fences up to 4 ft, 3 for 6 ft privacy).
- Panels = run ÷ panel width when you use pre-built panels.
Example
A 150 ft back-yard fence with one 4 ft gate and 8 ft spacing: run 146 ft → 19 sections → 21 posts before waste (23 with 5% waste) and 57 rails for a 3-rail privacy fence (60 with waste).
Tips for an accurate fence line
- Zoom right in and use the crosshair: corner posts matter more than straight runs.
- Use Distance for an open run, or Area if the fence encloses the yard (the perimeter is used).
- Type known lengths with ✎ when you've already taped a side.
FAQ
How far apart should fence posts be?
Usually 6 to 8 ft for wood privacy fences and up to 10 ft for chain link. Check your local code and panel size.
Does the calculator include gates?
Yes. Enter the number and width of gates; the opening is removed from the run and gate posts are added.