Skip to content
YardMath

Fence Post Spacing: How Far Apart Should Posts Be?

Wood fence posts go 8 feet on center; chain link goes 10 feet; vinyl matches manufacturer panel width (6–8 ft). Learn spacing by fence type and how to divide uneven runs.

By The YardMath Estimating DeskUpdated October 7, 2026

Wood fence posts go 8 feet apart on center as the standard. Chain-link line posts go 10 feet on center for residential installations. Vinyl and aluminum posts match the manufactured panel width, usually 6 or 8 feet. Those spacings exist for material efficiency and structural reasons — not arbitrary convention.

Spacing by Fence Type

Fence type Standard spacing (on center) Notes
Wood privacy (pickets) 8 ft Matches standard 2x4 and 2x6 rail lengths
Wood horizontal slat 6 ft Heavy boards need tighter support
Wood split rail 8–10 ft Follows rail lengths
Vinyl panel 6–8 ft Per manufacturer; match panel width
Aluminum ornamental 6–8 ft Per manufacturer panel width
Residential chain link 10 ft Per ASTM F567-07
Commercial chain link 8 ft Higher security, closer posts

Source: American Fence Association (AFA) installation guidelines; ASTM F567 for chain link.

Why 8 Feet for Wood

A 2x4 rail spanning 8 feet between posts carries a standard 6-foot privacy fence without deflecting noticeably. Span 10 feet and the same 2x4 flexes enough to look wavy in direct sunlight. Moving to 2x6 rails solves the sag but adds cost and weight — which puts more stress on the posts.

Standard lumber comes in 8-, 10-, 12-, and 16-foot lengths. An 8-foot rail span uses an 8-foot board with both ends landing at post centers, leaving roughly 3.5 inches of bearing on each post face. A 10-foot span requires a 12-foot board, with 2 feet of waste per rail.

How to Space Posts for a Non-Standard Run

Most fence runs do not divide evenly into 8-foot sections. Here is how to handle it without one short section at the end.

Example: 38-foot run, target 8-foot spacing

  1. Divide total length by target spacing: 38 ÷ 8 = 4.75 sections
  2. Round up to the next whole number: 5 sections
  3. Divide total length by number of sections: 38 ÷ 5 = 7.6 ft (7 ft 7 in) per section
  4. Space all 5 sections equally — no short section at the end

This puts 6 posts total in the run (5 sections = 6 posts including both ends). Every section is 7 feet 7 inches, and every rail cut is the same length.

Number of Posts and Panels

The number of line posts between two terminal posts is (number of sections - 1). Terminal posts include the two end posts, all corner posts, and both posts of every gate opening.

Run length 8-ft sections Posts in run
16 ft 2 3
24 ft 3 4
40 ft 5 6
64 ft 8 9
100 ft 13 14

Use the fence calculator to total posts, rails, and pickets for your full fence run automatically.

Spacing on a Slope

On sloped ground, the horizontal distance between posts is what matters for rail length — not the distance along the slope. If the ground drops 20 degrees over an 8-foot horizontal run, the rails are approximately 8 feet 6 inches long even though the horizontal post spacing is 8 feet. Know whether your rails will be racked (follow the slope) or stepped (horizontal with gaps underneath) — it changes the math for rail length.

Wind Load Considerations

In high-wind areas — coastal Florida, Oklahoma, the Texas Panhandle — taller privacy fences act as solid walls against wind. Closer post spacing (6 feet instead of 8) reduces the moment arm and cuts lateral force on each post by about 40%. Some local codes in hurricane-prone zones specify maximum post spacing for privacy fences. Check your local wind zone classification if you’re building a 6-foot or taller privacy fence.

Gate Post Spacing

Gate posts require additional consideration:

  • Set gate posts so the clear opening matches the gate width
  • Lightweight gates (aluminum, vinyl): standard spacing is fine
  • Heavy gates (wood, steel, over 5 ft wide): use 6x6 posts, deeper holes, and more concrete
  • Double-wide driveway gates: consider posts 10 feet apart at the opening with a drive-through footing if soil is soft

Vinyl and Aluminum: Match Spacing to Panel Width

Vinyl and aluminum fencing comes in prefabricated panel sections. Posts must be set at exactly the panel width — usually 6 feet or 8 feet — or the panels will not fit. Unlike wood, you cannot cut a vinyl panel to fill a short bay (most products are hollow with internal supports that cannot be cleanly trimmed at any length).

Measure your total run and divide it by your panel width before setting a single post:

  • If the run divides evenly, you’re done — space posts at panel width on center.
  • If the run does not divide evenly, decide whether to accept one custom-cut end section or adjust all bay widths within the 2-inch tolerance most manufacturers allow.
  • Use the manufacturer’s installation guide to confirm the exact on-center dimension. A 6-foot panel might require posts set at 72 inches, 70 inches, or 73 inches — the spec varies by brand.

A 2-inch spacing error repeated across 20 bays adds up to a 40-inch gap or overlap at the end of the run. Calculate the total first, then mark all post locations before digging.

Common Spacing Mistakes

Mistake Problem Fix
Spacing posts 10 ft for a 6-ft privacy fence 2x4 rails sag; fence waves in sunlight Keep to 8 ft or upgrade to 2x6 rails
Measuring post face to post face Bay widths come out short; rails do not reach Measure center to center every time
Setting all posts before calculating the run One short bay at the end Calculate equal spacing first, then locate each post
Ignoring panel width on vinyl or aluminum Panels too long or too short to fit Match post spacing exactly to manufacturer panel width
Same spacing on slope sections as flat sections Rails cut to wrong length on angled ground Recalculate horizontal distance separately for each slope segment

For post depth and concrete requirements, see fence post depth.

Frequently asked questions

Can I space wood fence posts 10 feet apart?+

You can, but 2x4 rails spanning 10 feet will sag under the weight of pickets on a 6-foot privacy fence. You would need to upgrade to 2x6 rails or add a mid-span bracket. Sticking to 8-foot spacing uses standard lumber efficiently and avoids sag.

Why does 8 feet keep coming up for wood fences?+

Standard lumber comes in 8-foot lengths. A 2x4 rail spanning exactly 8 feet uses the full board with no waste. Push to 10 feet and you are buying 12-foot lumber, cutting 2 feet off each rail, and paying 35–50% more per running foot of fence.

How do I space posts when the fence run doesn't divide evenly into 8-foot sections?+

Divide the total run length by 8 feet and round up to get the number of sections. Then divide the run by the number of sections to get equal spacing. For a 38-foot run: 38 ÷ 8 = 4.75 sections, round up to 5, so 38 ÷ 5 = 7.6 ft per section (7 ft 7 in).

Do corner posts count in the spacing calculation?+

Corner posts, end posts, and gate posts are terminal posts — set them first, exactly where they need to be. Line posts (the ones in between) get spaced evenly in the remaining run.

Does fence post spacing affect permit requirements?+

Spacing itself rarely triggers permits. Fence height is the usual trigger. But some jurisdictions require engineered spacing in high-wind zones. Check local codes if you're in Florida, Oklahoma, or coastal areas.

Keep reading