Fence Post Spacing: How Far Apart by Fence Type

Posts and footings · 7 min read · Updated 2026-09-28

Space wood privacy fence posts no more than 8 feet on center, and lay them out at 7 feet 10 inches or less so standard 8-foot rails reach. Residential chain link can go to 10 feet. Vinyl and aluminum spacing is fixed by the panel, so it is the panel width plus the post width, usually around 73 inches for 6-foot sections and 96 inches for 8-foot sections.

Fence post spacing by fence type

"On center" (OC) means the distance from the center of one post to the center of the next. All the numbers below are OC, and all of them are maximums unless the fence is a panel system, where the number is exact.

Fence typeMaximum OC spacingWhat to lay outWhat sets the number
Wood privacy, vertical boards, 2x4 rails8 ft7'10" or less2x4x8 rails must reach post centers (America's Fence Store)
Wood, high wind, heavy snow, or horizontal boards6 ft6 ft or lessWind load on a solid face, and board span for horizontal styles
Chain link, residential (11 or 11½ gauge)10 ft10 ft or less, equalizedASTM F567 section 4.1
Chain link, 9 gauge or taller fences8 ft8 ft or lessHeavier fabric and more wind area
Vinyl, 6-ft wide panels with 5x5 postsExactAbout 73" to 73¼"Panel width plus post width (Bufftech manual)
Vinyl, 8-ft wide panelsExact96"Panel width plus post width
Aluminum, 6-ft sections, 2" postsExact72½" typicalManufacturer's layout (QCE Fence)
Aluminum, 8-ft sectionsExactAbout 96"Manufacturer's layout
Split rail, 11-ft railsSet by rail10'4" to 10'6"Rail overlap inside the mortise (Split Rail Fence Store)
Split rail, 8½-ft railsSet by rail7'10" to 8'Rail overlap inside the mortise

For vinyl and aluminum, treat the table as a starting point and use the number printed in your manufacturer's install sheet. Panel systems are built to fit a specific OC dimension, and a few inches of error means a panel that will not seat. America's Fence Store's vinyl guide puts the layout tolerance at plus ¼ inch.

Panel fences are measured, not estimated

With vinyl or aluminum, set the first post, install the first panel, then set the next post against the panel. Digging every hole first from a tape measure is how you end up with a panel that is an inch short.

The 8-foot rails on 8-foot centers trap

An 8-foot 2x4 is 96 inches long. It sounds like it should fit perfectly on 8-foot centers. Whether it does depends on how the rails attach.

Rails set between posts. If the rails fit between the posts (in a notch, on a bracket, or toe-screwed to the post sides), the rail length is the gap between post faces. A 4x4 is 3½ inches wide, so at 96 inches OC the gap is 96 − 3½ = 92½ inches. An 8-foot rail covers that with room to trim.

Rails on post centers. If the rails are face-mounted and butt together on the middle of each post, each rail has to span exactly one full OC distance. At 8 feet OC that is exactly 96 inches with zero margin. Any post that lands ½ inch wide, or any board that comes from the yard at 95¾ inches, leaves you a rail that stops short of the post center.

There are two ways around it:

  1. Lay out at 7'10" or less. America's Fence Store tells DIY customers to set posts at 7'10" so the 2x4x8 rails span properly. You trim 2 inches off each rail, which is easy, instead of trying to stretch one, which is impossible.
  2. Use 16-foot rails across two bays. A 2x4x16 spans two bays and lands on every other post center. Stagger the joints between the top, middle and bottom rails so no single post carries every splice.

Equalized spacing: no stub sections

If you start at one end and mark a post every 8 feet, whatever is left lands at the far end. On a 50-foot run that gives you six 8-foot bays and one 2-foot stub. It looks wrong and it wastes a rail.

Instead, divide each run into equal bays:

  • Bays = run length ÷ maximum spacing, rounded up
  • OC spacing = run length ÷ bays
  • Posts on the run = bays + 1 (the two ends are terminal posts)

Worked example: a 50-foot run

StepMathResult
Maximum spacingWood privacy8 ft
Bays50 ÷ 8 = 6.25, round up7 bays
OC spacing50 ÷ 7 = 7.143 ft85.7", about 7'1¾"
Posts7 + 18 posts (2 terminal, 6 line)

Every bay is 7'1¾", which is under both the 8-foot maximum and the 7'10" layout target. Using the 7'10" target as your maximum gives the same answer here: 50 ÷ 7.83 = 6.4, which also rounds up to 7 bays.

For panel fences, equalizing does not apply the same way. You keep the fixed panel OC and cut one panel down at the end of the run, or cut two panels equally so the short sections sit at both ends and look intentional.

Why you calculate per side, not from total length

Every corner, end post and gate restarts the spacing. A post at a corner is shared by two runs, and the first line post on the new run is measured from that corner, not from the last line post on the previous side.

Take a backyard with three 50-foot sides. If you divide the total 150 feet by 8, you get 18.75, rounded up to 19 bays. Worked per side, each side needs 7 bays, so the real total is 21 bays. Across a whole project this undercount shows up as missing posts, missing rails and a second trip to the yard.

CalculatorLay out each run and get equalized spacing in the fence calculator

Terminal posts are not part of the spacing math

Corner posts, end posts and gate posts are terminal posts. ASTM F567 section 4.2 describes them as the posts that set the beginning and end of each continuous length of fence and mark abrupt changes in direction or grade. They are fixed by the layout, and the line posts are spaced between them.

That has two practical consequences:

  • A gate splits a run into two runs. Measure from the corner to the first gate post, equalize that stretch, then measure from the second gate post to the next corner and equalize that separately.
  • The gate opening is set by the gate, not the spacing. A 4-foot gate needs its posts set at the gate width plus the hinge and latch gaps the gate manufacturer specifies. Do not try to make the gate opening match the line bays.

Terminal posts also get bigger holes and deeper footings, and chain link terminals are a larger pipe size than line posts. See how deep fence posts should be for the depth and diameter numbers.

How to lay out posts with a string line

You need two stakes or the terminal posts themselves, mason's string, a 100-foot tape, marking paint or flags, and a helper if you have one.

  1. Call 811 first. Utility marking is free and required before you dig. Wait for the marks before you set any layout.
  2. Set the terminal posts. Mark every corner, end and gate post location first. If you have a survey, measure from the property pins, and keep the fence a little inside the line unless you and your neighbor have agreed otherwise.
  3. Run a string between terminals. Pull it tight at the height of the post faces, not the centers, so you have a clean reference line. Keep the same side of every post on the string.
  4. Measure each run along the string. Measure horizontally along the line of the fence, not along a sagging tape. On sloped ground ASTM F567 measures the interval parallel to the grade, which is what a racked fence follows. A stepped fence is laid out level.
  5. Equalize and mark. Work out the bays and OC spacing for that run, then hook the tape on the center of the first terminal and mark each line post center with paint or a flag. Mark cumulative distances (85¾", 171½", and so on) rather than moving the tape each time, so small errors do not add up.
  6. Check the last bay. The final mark should land on the center of the far terminal. If it is off by more than about ½ inch, re-measure the run before you dig.
Mark cumulative, not bay by bay

Hooking the tape on each new post and measuring 7'1¾" again adds a little error at every bay. Keep the tape hooked on the first terminal and mark 7'1¾", 14'3½", 21'5¼" and so on.

When to space posts closer than the maximum

The maximums above assume normal residential conditions. Tighten the spacing when:

  • The fence is solid and exposed. A 6-foot privacy fence is a sail. In open areas, on hilltops, or in coastal wind zones, 6-foot spacing puts less load on each post.
  • You get heavy wet snow. Snow drifts against solid fences and loads the rails.
  • The boards run horizontally. Horizontal boards span from post to post, so the post spacing is the board span. Shorter spans keep the boards from cupping and sagging.
  • Your local code or HOA says so. Some pool barrier, HOA and commercial specifications set their own maximums.
  • The run changes grade a lot. Shorter bays let a stepped fence follow the ground in smaller, less noticeable steps.

Closer spacing costs you more posts and holes, but it does not add much lumber, since the rails and boards cover the same length either way.

CalculatorPrice a wood fence at 6 or 8 foot spacing

Questions people ask

How far apart should fence posts be?

For a wood privacy fence, 8 feet on center is the maximum and most crews lay out at 7 feet 10 inches or less. Residential chain link can go up to 10 feet. Vinyl and aluminum spacing is set by the panel width, so follow the manufacturer's number.

Can fence posts be 10 feet apart?

Chain link and split rail fences with 11-foot rails are designed for spacing around 10 feet. A wood privacy fence with 2x4 rails should not go past 8 feet, because the rails sag and standard 8-foot rails will not reach.

Why do fence builders space posts at 7 feet 10 inches instead of 8 feet?

A post that drifts even half an inch wide leaves an 8-foot rail short of the post center. Laying out at 7 feet 10 inches gives you a little slack so every 2x4x8 rail reaches, and you trim the extra.

What do I do with a short leftover section at the end of a run?

Avoid it by equalizing. Divide the run length by your maximum spacing, round up to get the number of bays, then divide the run length by that number of bays. Every bay comes out the same width and none is over the maximum.

Are corner and gate posts included in the spacing?

Corner, end and gate posts are terminal posts. They fix the start and end of each run, and you space the line posts between them. The gate opening itself is set by the gate width, not by the line post spacing.

Should I calculate posts from total fence length?

No. Work out each straight run separately. Every corner, end and gate restarts the spacing, so dividing the total perimeter by 8 undercounts posts.

Use the calculators

Written by the My Fence Calculator editorial team. Quantities are estimates; verify with your supplier and local code.