Fence post calculator
Estimate total fence posts from length and spacing.
What this calculator covers
Estimate how many fence posts a straight fence run needs from its total length, target post spacing, and any extra gate posts.
The walkthrough keeps the span math visible so users can see how spacing decisions affect the total post count.
Frequently asked questions
- What post spacing is typical for a wood privacy fence?
- Most wood privacy fences use 6 or 8 feet between posts, with 8 feet being the most common since it aligns with standard fence panel lengths. Closer spacing adds strength and is recommended for areas with high wind loads or heavy gate use.
- Why does the formula add one more post than the number of spans?
- A straight fence run with n spans needs n+1 posts — one at the start, one between each pair of spans, and one at the end. This is the classic "fence post" counting problem: spans and posts are always off by one.
- Should I count gate posts separately?
- Yes. Each gate opening typically requires dedicated posts beyond the straight line count — usually two posts per gate. Enter that number in the gate posts field and the calculator adds them to the line post total.
- Does the result include corner posts for an L-shaped or U-shaped fence?
- No. The calculator models a single straight run. For a fenced enclosure or a fence with corners, calculate each straight section separately and add the results, keeping in mind that shared corner posts are counted once per section.
Tool
Run the calculation
Result
RESULT · FENCE POSTS
â„–021
Primary result
18 posts
A 120 ft fence with posts every 8 ft needs about 18 posts including gate posts.
- Fence spans
- 15
- Line posts
- 16
- Total posts
- 18
Step-by-step solution
- 1.Divide the fence length by the post spacing to get 15 fence spans.
- 2.Add one more post than spans to get 16 line posts.
- 3.Add 2 gate posts to reach 18 total posts.
Walkthrough
Visual walkthrough
Fence post planning starts with the number of spans, then converts spans into posts and adds any extra gate posts.
01
Count the spans
120 ÷ 8 ≈ 15
The fence length is divided by the target spacing to estimate how many segments the run contains.
02
Convert spans into line posts
A straight run always needs one more post than the number of fence spans.
16 line posts
03
Add gate posts
Any gate opening typically needs dedicated extra posts beyond the straight run count.
18 total posts