Fence Calculator
Plan a fence run and get the full materials list: posts, rails and pickets, plus the concrete bags to set the posts.
How many fence posts do I need?
A fence is built in sections between posts. Divide the run by your post spacing, round up to whole sections, and the posts are always sections + 1 — every run has a post at both ends.
Sections = round up(length ÷ spacing) · Posts = sections + 1 · Rails = sections × rails per section
Example: a 100 ft run at 8 ft spacing needs ceil(100 ÷ 8) = 13 sections, so 14 posts and 26 rails at 2 per section. With standard pickets (5.5 in wide + 0.5 in gap), it takes 200 pickets — 220 with 10% extra for warped and split boards.
The picket count
Standard pickets are 5.5 in wide and are installed with about a 0.5 in gap, so each picket “uses” 6 inches of fence line — a simple 2 pickets per foot. Wider gaps for a more open look use fewer: change the plan, and pickets per foot = 12 ÷ (picket width + gap, in inches).
| Run at 8 ft spacing | Posts | Rails (2/section) | Pickets |
| 40 ft | 6 | 10 | 80 |
| 80 ft | 11 | 20 | 160 |
| 100 ft | 14 | 26 | 200 |
| 160 ft | 21 | 40 | 320 |
Posts are set in concrete: about two 50-lb bags of mix per standard post hole is a fair planning figure (deeper or wider holes take more). Gates need their own heavier posts and hardware — count gate posts separately from this run.
Frequently asked questions
How far apart should fence posts be?
8 ft is the standard for wood privacy fences; 6 ft is sturdier in windy areas or for tall fences; 10 ft is light-duty and can feel springy. Local codes and HOA rules sometimes set the spacing — check before you dig.
Do I need a post at every corner and gate?
Yes — corners and gate openings each need their own post, and gate posts should be heavier (6×6 is common) and set deeper. This calculator counts a straight run; add corner and gate posts on top.
How much concrete per fence post?
Roughly two 50-lb bags of concrete mix per post for a standard 8–10 in diameter hole, 24–30 in deep. Wider or deeper holes scale fast — a 12 in hole at 36 in can take four bags.
Should pickets go on my side or the neighbour's?
Convention (and many local rules) puts the finished, picket side facing outward, with rails and posts on your side. Check local bylaws — some places require the “good side” out, and a quick word with the neighbour beats a redo.