ThisCalculator

Construction

Fence Post Spacing Calculator: How Far Apart?

Updated · Standard formula, shown below

Post spacing 10.00 ft
Posts needed for max 8 ft
14
Result
Total fence length
100 ft
You entered
Number of posts
11
You entered

Fence Post Spacing Calculator: How Far Apart?

This fence post spacing calculator works out the exact distance between posts for a straight fence run. You enter the total fence length and the number of posts (or the desired maximum gap), and it returns the spacing in feet or meters, plus the number of posts you actually need. It uses the standard formula that accounts for posts at both ends, so you don’t end up one post short.

Formula

The core formula is simple: Spacing = Total length ÷ (Number of posts − 1). The “−1� is the part most people forget. If you have 11 posts along a 100-foot line, there are 10 gaps between them, not 11. So the spacing is 100 ÷ 10 = 10 feet.

Variables:

  • Total fence length (L) – the straight-line distance the fence covers, in feet or meters.
  • Number of posts (N) – includes the corner or end posts at both ends.
  • Spacing (S) – center-to-center distance between adjacent posts, in the same unit as L.

The inverse formula for finding how many posts you need for a given maximum spacing is: N = ceil(L ÷ S_max) + 1. The ceil function rounds up to the next whole number, and the +1 adds the starting post. For a 100-foot fence with a maximum 8-foot gap, that’s ceil(100 ÷ 8) + 1 = 13 + 1 = 14 posts.

Worked Example

Using the defaults from the calculator: a 100-foot fence with 11 posts.

  1. Start with the formula: S = L ÷ (N − 1)
  2. Plug in the numbers: S = 100 ÷ (11 − 1) = 100 ÷ 10
  3. Result: S = 10 feet

So each post sits 10 feet from the next, center to center. The calculator also shows that for a maximum 8-foot spacing, you’d need 14 posts (ceil(100 ÷ 8) + 1 = 13 + 1).

How to Choose the Right Spacing

Spacing isn’t just a math exercise – it depends on the fence type, material, and local conditions. Here are the typical ranges:

  • Wood privacy fence (6–8 ft tall): 6–8 feet apart. Taller fences need closer spacing because of wind load.
  • Chain-link fence: 10 feet is standard for residential, but 8 feet is safer in high-wind areas.
  • Wire or electric fence (agricultural): 12–15 feet for smooth wire, but 8–10 feet if you use barbed wire or have livestock that pushes hard.
  • Vinyl or composite: 6–8 feet, following the manufacturer’s rail system – many vinyl rails are designed for 8-foot spacing and won’t span more.

Also consider the post material. Steel posts can often go wider than wood because they don’t warp. But the real limit is the rail or panel you attach – if your horizontal rails are 8 feet long, spacing them at 10 feet means you’ll have to cut every rail.

Common Mistakes and How to Avoid Them

  • Forgetting the corner post: The formula counts both end posts. If you measure between the first and last post and then divide by the number of posts, you’re short one gap.
  • Mixing units: If you measure the fence in feet but the post spacing in meters, you’ll be off by a factor of 3.28. Always convert first.
  • Not accounting for gates: A gate opening breaks the run. Remove the gate width from the total length before dividing, then add gate posts separately.
  • Ignoring terrain: On a slope, the horizontal distance matters, not the ground distance. If you measure along the ground on a steep hill, you’ll set posts too close together when measured horizontally.
  • Rounding down: Always round the number of posts up. If you need 13.2 posts, you need 14 – not 13.

Post Depth and Strength Considerations

Spacing and depth work together. A common rule for post depth is: bury one-third to one-half of the above-ground height. For a 6-foot fence, that means 2–3 feet in the ground. But if you space posts farther apart, each post carries more load, so it should be set deeper and in a wider hole with concrete.

In frost-prone areas, the bottom of the post should sit below the frost line – often 30–48 inches in northern climates. Check your local building code for both depth and spacing requirements; many municipalities have specific rules for fence posts near property lines.

Wind load is the biggest force on a solid fence. A solid 6-foot-tall wood fence in a 70-mph wind can exert over 10 pounds of force per square foot. At 8-foot spacing, each post handles about 48 square feet of fence area – that’s roughly 480 pounds of wind force. That’s why 8 feet is usually the maximum for solid fences; going wider risks the whole fence acting like a sail.

Comparing Spacing by Fence Type

Here’s a quick comparison table for typical residential fences:

  • Picket fence (3–4 ft tall): 6–8 feet. The light weight and low height allow wider spacing.
  • Split-rail (3-rail): 8–10 feet. Rails are usually 10–11 feet long, but you’ll need a post at every rail joint.
  • Horse fencing (vinyl or wood plank): 8 feet max. Horses lean on fences, so closer spacing prevents sagging.
  • Temporary or snow fence: 8–10 feet with steel posts, but you can go 12 feet if you use line posts and brace corners.

For agricultural wire fencing, the spacing also depends on the number of wires and whether you have line posts between corners. A common pattern is posts every 12 feet for smooth wire, with a brace post every 60–80 feet and at every corner.

Frequently Asked Questions

How many posts do I need for a 100-foot fence?

It depends on the spacing. For 8-foot spacing, you need ceil(100 ÷ 8) + 1 = 14 posts. For 10-foot spacing, you need 11 posts. Always include the end posts in your count.

Can I space wood fence posts 10 feet apart?

Only if you use a strong rail system and the fence is short (4 feet or less). For a standard 6-foot privacy fence, 10-foot spacing will likely sag and catch wind. Stick to 6–8 feet for wood.

What is the standard spacing for chain-link fence posts?

Residential chain-link is usually 10 feet on center, but 8 feet is safer for windy areas or if you use heavier gauge fabric. The terminal posts (corners, ends, gates) should be set in concrete and may need bracing.

How deep should fence posts be?

As a rule, bury 1/3 to 1/2 of the above-ground height. For a 6-foot post, that’s 2–3 feet deep. In frost areas, go below the frost line. Use concrete for corner, gate, and end posts; line posts can sometimes be tamped with gravel.

Does spacing change if I have a gate?

Yes. A gate opening needs its own posts on each side, and those are usually set closer (e.g., 3–4 feet apart for a walk gate, 10–12 feet for a driveway gate). Remove the gate width from the total fence length before calculating the spacing for the rest of the run.

What if my fence is on a slope?

Measure the horizontal distance, not the ground distance. On a slope, the ground distance is longer than the horizontal run. Use a string line and a level to measure horizontal, or use the calculator with the horizontal length. Posts should be stepped down the slope, not angled.

Related

Formula used
in len | Total fence length | ft | 100 | 0
in np | Number of posts | - | 11 | 2
out sp | Post spacing | ft | len / (np - 1) | 2
out posts | Posts needed for max 8 ft | - | ceil(len / 8) + 1 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.