Fence Calculator
Plan posts and panels for a straight privacy or wood fence. Enter length and spacing — optional gates and picket width for board counts.
Results
—posts
Panels / sections
—
Run covered
—
Pickets (est.)
—
Assumptions: Panels = ceil(length ÷ spacing), then minus gates. Posts = ceil(length ÷ spacing) + 1 with both end posts (or without the +1 if one end ties in), plus optional +1 post per gate. Gates do not remove line posts. Pickets ≈ (spacing × 12 ÷ board width) × panels, rounded up. Buy a few extras for cuts and culls. Corner posts and sloping grades may need more posts.
Fence calculator FAQ
How far apart should fence posts be?
Wood privacy fences often use 6–8 ft on center. Default is 8 ft. Closer spacing holds up better in wind.
How many posts do I need for a fence?
For a straight run, panels ≈ ceil(length ÷ spacing) and posts ≈ panels + 1 when both ends are included. Uncheck end posts if one end ties into a building.
How do gates affect the count?
Each gate typically replaces one panel. Optionally add one extra post per gate for latch/hinge hardware.
How do I estimate pickets?
Enter board width in inches. Pickets per panel ≈ (spacing × 12) ÷ width, then × panel count. Add a little waste when you buy.
Step-by-step guide: How much fencing do I need? (posts, pickets, rails + concrete) — formula, worked examples, and common mistakes.