How many fence posts do I need?

Count corners and gates first, then add line posts using your chosen spacing.

Fence posts are easy to undercount because corners, ends, and gates each need their own posts in addition to regular line posts.

Start with a simple plan: break the fence into straight runs, choose spacing, then count posts run by run.

Step-by-step: post count

  1. Draw your fence layout and break it into straight runs between corners/gates/ends.
  2. Choose post spacing based on your fence style (often 6–8 ft on center).
  3. For each run, compute line posts: (run length ÷ spacing), then round down and add posts appropriately for the ends.
  4. Add corner posts (one per corner) and end posts (one per run end if not shared).
  5. Add gate posts (often two; heavier gates may require stronger posts) and round up.

Practical tips

  • Corner and gate posts often need to be sturdier than line posts.
  • Measure spacing “on center” and confirm panel sizes if you’re using prebuilt panels.
  • If the fence follows a slope, you may need more posts due to stepped sections.
  • Check local frost depth and code for post hole depth and concrete footing requirements.
Want the fast estimate?
Use our fence calculator and share a link that keeps your inputs.
Use the calculator

FAQ

What spacing should I use for fence posts?
Common spacing is 6–8 feet on center, but it depends on panel size, wind load, and fence type.
Do corners share posts?
Corners generally use a dedicated corner post. Adjacent runs connect to it, so you don’t count separate end posts at that same point.
How do gates affect post count?
A gate usually needs two posts. Large or heavy gates may need larger posts or additional bracing.

Related

In Roofing & exterior

← Back to guides