Fence Post Spacing Calculator

Most fence runs aren’t a neat multiple of 8 ft. This calculator spreads your posts evenly so every section is the same width, and gives you the measurement to mark on the ground.

Your fence run
ft
Measure from the center of the first post to the center of the last.
ft
Posts in this run0
Sections–
Center to center–
Clear gap between posts–

Why even spacing matters

If you set every post at exactly 8 ft, the last section of a 47 ft run ends up 7 ft wide and looks off. Splitting the run evenly gives six sections of 7 ft 10 in, which looks deliberate and keeps every rail cut the same.

sections = ⌈ run length ÷ max spacing ⌉ posts = sections + 1 center to center = run length ÷ sections

Example

A 47 ft run with 8 ft maximum spacing: 47 ÷ 8 = 5.9, so 6 sections and 7 posts. Each section is 47 ÷ 6 = 7.83 ft, or 7 ft 10 in center to center. With 4×4 posts the clear gap between posts is 7 ft 6½ in.

How far apart should fence posts be?

Fence typeTypical spacing
Wood privacy fence6–8 ft
Picket fence6–8 ft
Vinyl panelsFixed by panel width, usually 6 or 8 ft
Chain-linkUp to 10 ft
Split railSet by rail length, often 10 ft
Welded wire / farm fence8–12 ft

Use closer spacing in windy areas, for 8 ft privacy fences, and wherever the ground is soft.

Laying out the posts

  1. Set the end and corner posts first and pull a mason’s line tight between them.
  2. Hook a tape on the center of the first post and mark each center measurement from the list above along the line.
  3. Measure all marks from the same starting point instead of post to post. Small errors add up if you measure each section separately.

Common questions

How many posts do I need for a 50 ft fence?

With 8 ft maximum spacing, 50 ft splits into 7 sections of about 7 ft 2 in, so you need 8 posts.

Is 10 ft too far apart for wood fence posts?

For wood privacy fences, yes. Rails sag over long spans and standard rails come in 8 ft lengths. Ten-foot spacing is common for chain-link and split-rail fences.

Do I measure post spacing to the center or the edge?

Measure center to center. That way the rail joints land in the middle of each post, no matter what post size you use.

Related calculators

Last updated November 2026. Results are estimates. Check product labels and your local building code before you buy or build.