Fence Calculator
Estimate the posts and rails needed for a wood fence run.
Computed in your browser — nothing you enter is uploaded. Figures are presented in United States units and terminology, and each formula’s basis is cited under regulatory standards below.
Last verified 2026-08-25 · v1.0.0
Estimated fence needed
14 posts
- Fence length
- 98 ft
- Sections
- 13 sections
- Rails needed
- 39 rails
With the figures above, the result comes to 14 posts. This is presented for United States. Building in another market? Change the selector above and the units and terminology follow.
Estimated cost — your price
This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.
Presented in US customary units and US trade terminology. Where a formula follows a published standard, that standard and its edition are cited beside it on this page; where none governs, the page says so. Local amendments override model codes — verify against the code in force where you build.
Regulatory standards & verification citations
- Post count = (fence length / post spacing) + 1; typical post spacing is 6-8 ft for wood fencing
- Recommended rails: 2 for fences under 5 ft, 3 for 5-7 ft, 4 for 8 ft fences