Fence Calculator (Posts, Rails & Pickets)
Posts, rails and pickets for a straight run of wood privacy or picket fence.
Formula
Sections = ⌈length ÷ spacing⌉; posts = sections + 1 + gates; pickets = ⌈length(in) ÷ (picket width + gap)⌉.
Worked example
Inputs: Fence length = 100 ft; Post spacing = 8 ft; Gates (extra posts) = 1; Picket width = 5.5 in; Gap between pickets = 0 in; Rails per section = 2.
| Sections | 13 |
|---|---|
| Posts | 15 |
| Rails | 26 |
| Pickets | 219 |
FAQ
Do local rules apply?
Height, setbacks and permits are set locally and by HOAs; check before building.
Sources
- Geometry (volume/area formulas); no external constant needed
Related
More Exterior calculators
Embed this calculator
Free to embed on your site; please keep the credit link.
Last reviewed 2026-10-11.