Three numbers give you a complete fence materials list: total length, post spacing and picket width. Everything else, from posts and rails to the picket count, follows from those.
The calculator handles picket fences and privacy fences (set the gap to zero), adds a post for each gate, and gives a rough figure for post concrete.
How to use the fence calculator
- Measure the full fence line. Walk it with a tape or a measuring wheel, and note corners and gates.
- Choose post spacing: 8 ft (2.4 m) is standard for wood. Use 6 ft for tall fences or windy sites.
- Enter the actual picket width and the gap you want between pickets.
- Pick rails per section by height: two up to 4 ft, three for 5 to 6 ft, four above that.
The formula
Everything follows from the number of sections:
Worked example
100 ft of fence, posts every 8 ft, 5.5 in pickets with 0.5 in gaps, one gate
| Sections | 100 ÷ 8 = 12.5, so 13 |
|---|---|
| Posts | 13 + 1 + 1 = 15 |
| Rails (3 per section) | 13 × 3 = 39 |
| Pickets | 1,200 in ÷ 6 in = 200, plus 5% = 210 |
15 posts, 39 rails and 210 pickets. In 10 in holes 30 in deep, the posts take about 32 bags of concrete.
Tips from the job
- Buy posts rated for ground contact. Pressure-treated lumber is labeled for above-ground or ground-contact use.
- Check property lines, HOA rules and local height limits before you dig. Many towns cap front-yard fences at 3 to 4 ft.
- Set the corner and end posts first, stretch a string line between them, then set the line posts to the string.
Mistakes that cost people money
- Forgetting the extra post at every gate and corner.
- Using the nominal picket width (6 in) instead of the actual width (5.5 in), which leaves you short.
- Spacing posts more than 8 ft apart, so the rails sag.
Questions people ask
How many posts for 100 ft of fence?
With 8 ft spacing: 13 sections and 14 posts, plus one more for each gate.
How far apart should fence posts be?
6 to 8 ft. 8 ft is the most common spacing for wood fences.
How many pickets in an 8 ft section?
For a privacy fence with 5.5 in pickets, about 18. With 0.5 in gaps, about 16.
References
Figures on this page come from the following manufacturer data and trade references:
- Post spacing and rail practice: American Fence Association
- Ground-contact treated lumber ratings: American Wood Protection Association