HomecalcTool

Fence Post Spacing Calculator

See how post spacing changes your post count, rail material, and concrete needs.

Price per Linear Foot (optional)

$

Contractors quote installed fencing per linear foot. Enter your quote for a total cost estimate.

How to Use This Calculator

Enter your fence length and try different post spacing values. This calculator shows how changing spacing from 6 to 8 to 10 feet affects your total post count, rail material, and concrete cost. Use it to compare the tradeoff between fewer posts (cost savings) and closer spacing (structural strength).

Set rails per section to 3 for a 6-foot privacy fence. Adjust picket width and gap for your fence style. Hit Calculate to see the full material list. Try the spacing presets to see how the numbers change side by side.

How to Calculate Fence Post Spacing

The post spacing formula is: Posts = ceil(Fence Length / Post Spacing) + 1.

The "+ 1" accounts for the final end post. For a straight run from point A to B, you need one post at the start and one at the end, plus one at each intermediate interval.

Example: 97-foot fence at 8-foot spacing.

  • 97 / 8 = 12.1 sections, rounded up to 13
  • Posts = 13 + 1 = 14 posts

For uniform spacing on a non-round fence length: divide fence length by the post count minus 1. For 14 posts on a 97-foot fence: 97 / 13 = 7.46 feet per section. Set each post at 7.46-foot intervals for a clean, uniform look from the street.

Rail linear feet = Fence Length x Number of Rails. Concrete bags = Posts x 2 (two 60-lb bags per post).

Post Spacing Tips

Measure and mark all post locations before digging. Stretch a string line from corner to corner at grade level. Mark each post location with a stake. Double-check spacing by measuring from stake to stake. It is much easier to adjust a stake than to fill and re-dig a post hole in the wrong spot.

Start from a corner post and space out uniformly. Do not let the last section be a short stub at a gate or property edge. Calculate uniform spacing that divides the fence length evenly into sections. A 4-foot stub section at the end of a fence looks unfinished and is harder to gate.

Check local building codes before setting posts. Most jurisdictions require permits for fences over 6 feet tall. Some areas limit front-yard fence height to 4 feet. HOAs may restrict post spacing, materials, or colors. Check all rules before buying materials to avoid required changes after installation.

What to Buy

Posts: 4x4 pressure-treated ground-contact posts (UC4B rating). Length depends on fence height plus in-ground depth. For a 6-foot fence, buy 9-foot or 10-foot posts and set 3 feet in the ground.

Rail hardware: post rail brackets are faster than toe-nailing. Galvanized post-to-rail brackets sold at hardware stores hold 2x4 rails without splitting. Use 2 brackets per rail end per post for a secure connection.

Post hole digger: rent a gas-powered one-person auger for projects under 20 posts. Rent a two-person towable auger for larger projects. A clamshell post digger works for 10 posts or fewer in soft soil. Auger diameter: 8 inches for a 4x4 post, 12 inches for a 6x6 post.

Concrete: Quikrete Fast-Setting 60-lb bags, 2 per post. Pour dry into the water-soaked hole and add water on top. No mixing needed. Sets in 20 to 40 minutes so you can move to the next post quickly.

Frequently Asked Questions

What is the standard fence post spacing? +
8 feet on-center is the standard spacing for wood privacy and picket fences. This spacing matches standard 8-foot rail and panel lengths sold at lumber yards. For chain link fences, 10 feet on-center is standard. Spacing over 8 feet on a 6-foot wood fence causes 2x4 rails to sag. For shorter fences under 4 feet, 10-foot spacing can work if you use 2x6 rails.
How do I calculate fence post spacing? +
To find post spacing for uniform sections: divide fence length by the desired section count. For a 97-foot fence with 8-foot spacing: 97 / 8 = 12.1 sections, so you need 13 sections. Divide evenly: 97 / 13 = 7.46 feet per section. Set posts at 7.46-foot intervals for a clean look. The calculator shows how many posts you need; to find exact uniform spacing, divide fence length by (post count minus 1).
Does post spacing affect how many pickets I need? +
No. Picket count depends only on fence length, picket width, and gap. Post spacing affects post count, rail length, and concrete count. However, post spacing affects the span of your rails, which determines whether rails sag. Longer spans between posts require heavier rail stock to resist sagging from board weight and wind load.
Can fence posts be 10 feet apart? +
10-foot post spacing works for chain link fences and low-load wood fences with 2x6 rails. For a standard wood privacy fence with 2x4 rails and 6-foot boards, 10-foot spans will cause noticeable rail sag over time, especially in climates with wet seasons where wood absorbs moisture and gains weight. Stick to 8-foot maximum spacing for 2x4 rails on wood fences.
How does slope affect fence post spacing? +
On flat ground, posts can sit at uniform intervals. On slopes, you have two options: racked (fence follows the slope with the same spacing) or stepped (fence goes in level steps with wider gaps at the step). For a racked fence, spacing remains the same. For a stepped fence, each step uses a full panel width at the post positions, which may change total post count. Steep slopes over 3:1 often require stepped fencing.
What happens if fence post spacing is too far apart? +
Rails sag in the middle of the span, which causes boards to lean out at the center. The fence loses rigidity and looks wavy when viewed from an angle. In high-wind areas, wider post spacing increases the load per post, which can pull posts from the ground. For most wood fences, keep spacing at or under 8 feet with 2x4 rails. Double the rail stock to 2x6 if you need to go wider.
How many posts do I need for a 100-foot fence? +
At 8-foot spacing: ceil(100 / 8) + 1 = 14 posts. At 6-foot spacing: ceil(100 / 6) + 1 = 18 posts. At 10-foot spacing: ceil(100 / 10) + 1 = 11 posts. The formula is: Posts = (Fence Length / Post Spacing) rounded up, then add 1 for the end post. Each corner or gate entrance adds additional posts.

Related Calculators