Fence calculator
A 100 ft fence with posts every 8 ft takes 14 posts: 13 sections, 26 rails and 219 pickets.
Works in feet and inches or metres and centimetres, for projects in the United States and Canada. Unit conversions are exact; other constants are named with their source. Checked 6 December 2026. Sources
Your fence
Posts every 8 ft
- Fence length
- 100 ft
- Sections
- 13
- Rails
- 26
- Pickets 5.5 in wide
- 219
This is one straight run. A corner or a gate needs its own post, so add those. If you buy panels, set the spacing to the panel width.
How this is worked out
- Sections: 100 ÷ 8 ft = 12.50, rounded up to 13.
- Posts: 13 sections + 1 = 14, one at each end.
- Rails: 13 × 2 = 26.
- Pickets: 100 ft = 1,200 in; 1,200 ÷ 5.5 in = 218.18, rounded up to 219.
Posts for common fence lengths
Posts = sections + 1, with one post at each end of a straight run.
| Fence length | Posts 6 ft apart | Posts 8 ft apart |
|---|---|---|
| 50 ft | 10 | 8 |
| 100 ft | 18 | 14 |
| 150 ft | 26 | 20 |
| 200 ft | 35 | 26 |
| 300 ft | 51 | 39 |
Pickets per 8-foot section
| Gap between pickets | Pickets |
|---|---|
| 0 (touching) | 18 |
| 0.5 in | 17 |
| 1 in | 15 |
| 2 in | 14 |
Post spacing
The Millard Lumber guide to building wood fences sets posts about 6 to 8 feet apart and says the spacing depends on the kind of fence, the ground and what the fence is for. It attaches a top and a bottom rail to the posts. The calculator starts at 8 feet and 2 rails; closer posts make a stiffer fence and cost more posts.
Corners, gates and panels
- Work out each straight side on its own. A corner post is shared, so take one post off for each corner.
- A gate needs a post on each side; add them if they do not fall on the spacing.
- For ready-made panels, set the post spacing to the panel width and the picket width to 0.
- Local rules on fence height and placement vary; check with your city or homeowners’ association.
Questions
How many fence posts do I need for 100 feet?
With posts 8 feet apart, 13 sections and 14 posts. With posts 6 feet apart, 14 posts.
How far apart should fence posts be?
The Millard Lumber guide says about 6 to 8 feet, depending on the type of fence, the ground and its purpose. Panels set the spacing to their width.
How many pickets do I need for an 8-foot section?
With 5½-inch pickets touching, 18. With a 1-inch gap, 15.
How many pickets for a 100-foot fence?
With 5½-inch pickets touching, 219: 1,200 inches ÷ 5.5, rounded up.
Sources
Checked on 6 December 2026. If a figure here differs from the official page, the official page is right; please tell us.
- Building wood fences (Millard Lumber)
- Voluntary Product Standard PS 20-20, American Softwood Lumber Standard, Table 3: nominal and dressed sizes (NIST)
- NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement
Setting the posts in concrete? Work out the bags for each hole.
Concrete calculator