Fence Post Calculator
Calculate the number of fence posts needed.
Last updated 2026-08-21
What Is a Fence Post Calculator?
The fence post calculator tells you how many posts you need for a fence line. Enter the fence length, post spacing, and the number of gates, and it adds the extra hinge and latch posts each gate requires.
How It Works
Posts = ceil(Length ÷ Spacing) + 1 + Number of gates.
Example
A 100 ft fence at 8 ft spacing with 2 gates: 14 + 2 = 16 posts.
How to Calculate
- Measure the total fence length in feet. A 100 ft fence is typical.
- Choose a post spacing, usually 6 to 8 ft on center for wood fences.
- Enter the length, spacing, and number of gates. At 100 ft, 8 ft spacing, and 2 gates, you get 14 posts plus 2 more, for 16 total.
- Decide on post size. Use 4×4 posts for most residential fences and 6×6 for tall or wind-loaded fences and gates.
- Set posts about one-third of their height deep, typically 24 to 30 in for a 6 ft fence.
Fence Posts Needed by Length and Spacing
| Fence Length | 6 ft Spacing | 8 ft Spacing |
|---|---|---|
| 50 ft | 10 posts | 8 posts |
| 100 ft | 18 posts | 14 posts |
| 150 ft | 26 posts | 20 posts |
| 200 ft | 34 posts | 26 posts |
| 300 ft | 51 posts | 39 posts |
Sources
Frequently Asked Questions
Why does each gate add a post?
A gate needs its own hinge and latch posts, even when it lines up with the regular spacing.
What size posts should I use?
4×4 posts suit most residential fences; 6×6 for tall or wind-loaded fences and gates.
How deep should posts be set?
About one-third of the post height, typically 24–30 in for a 6 ft fence.
Estimate the cost with the Fence Cost Calculator or browse Fence Calculators