HomeCalcTool
Fence

How Many Fence Posts Do I Need?

How to calculate the number of fence posts for any fence, the right post spacing to use, and how to account for corners, gates, and end posts so you order the right count.

HC
HomeCalcTool Team 6 min read

Fence posts are the backbone of any fence, and getting the count right matters for both your budget and your build. Order too few and you are back at the store mid-project. The count comes down to two things: the length of your fence and how far apart you set the posts.

8 ft spacing +1 end post
Posts divide the fence into sections. There is always one more post than the number of sections.

Choose your post spacing

Most residential fences use posts spaced 6 or 8 feet apart, measured center to center. Which one you pick depends on the fence:

Closer spacing means a sturdier fence and more posts. Wider spacing saves posts but can let rails sag over time. When in doubt, 8 feet is a safe standard for most yards.

The formula

The core formula is simple, and it hinges on one detail people forget: a straight run of fence always needs one more post than the number of sections.

Posts = (fence length ÷ spacing) + 1

For a straight 80 foot fence at 8 foot spacing: 80 divided by 8 is 10 sections, plus 1, which is 11 posts. If the length does not divide evenly, round the number of sections up before adding the end post.

Add posts for corners and gates

The basic formula covers a single straight line. Real fences turn corners and have gates, and each of those needs attention:

For a simple rectangular yard, calculate the perimeter, divide by spacing, and add posts for each of the four corners. A gate replaces a section rather than adding much length.

How deep and how much concrete

Once you know the count, each post needs a hole. The rule of thumb is to bury one third of the post length, so a 6 foot tall fence uses an 8 or 9 foot post set about 2 to 3 feet deep. In cold climates, go below the frost line so the posts do not heave.

Most posts are set in concrete. A standard 6 foot fence post in a 10 inch hole takes about two 50 pound bags of fast-setting concrete per post. Multiply that by your post count to size the concrete order. Our fence post concrete calculator works this out per hole.

Let the calculator handle the layout

Our fence calculator takes your fence length and spacing and returns posts along with rails and pickets, so the whole material list comes out together. If you just want to compare spacings and see the post count, the fence post spacing calculator does exactly that. Plan the layout once, order the right count, and you will not be making a second trip halfway through the build.

Frequently Asked Questions

What is the standard post spacing for a wood privacy fence?

Eight feet on center is the most common spacing because it matches standard fence panel and board lengths with minimal waste. Six feet is used for board-on-board fences or in very windy locations where a stiffer fence is needed. Going wider than 8 feet puts too much load on each post and causes rail sag over time.

Do I need extra posts at corners and gates?

Yes. Every corner requires a post, so a rectangular yard with four corners gets at least four posts in addition to the line posts. Gate openings need a post on each side, and for gates wider than 4 feet, use 4x6 posts instead of 4x4 to handle the extra torque from the gate weight. Double gates need a center post or a drop rod to anchor the inactive leaf.

Can I use 4x4 posts for a 6-foot privacy fence?

Yes, 4x4 posts are standard for 6-foot privacy fences at 8-foot spacing. If the fence is in an exposed location, if you are using 6x8 spacing, or if your soil is soft and offers less resistance, 4x6 posts provide noticeably more rigidity. Corner posts should always be at least 4x4; upgrading them to 4x6 costs little and makes corners significantly more stable.

How many rails does a standard fence need?

A standard 6-foot wood privacy fence uses two rails. Fences 6 feet and taller benefit from three rails (top, middle, and bottom) to prevent pickets from bowing in or out over time. Board-on-board fences typically need two rails for 6-foot height, three rails at 8 feet. Pre-built panels come with rails already attached and determine the count for you.

How deep should fence posts be set?

At least one-third of the total post length. A post supporting 6 feet of fence above ground needs at least a 2-foot burial, making the total post length 8 feet. In climates where the ground freezes, posts must go below the frost line to prevent heaving. In Minnesota or Maine, that can mean 4 to 5 feet of burial.

Does pressure treated wood last longer in the ground?

Yes, significantly. Untreated posts rot at grade level in 3 to 7 years. Pressure treated posts rated for ground contact (look for UC4B or UC4C on the label) last 20 to 40 years depending on soil conditions. Never use posts rated for above-ground use (UC1 or UC2) in direct soil contact; they are not treated enough to resist rot and insects underground.

Skip the math

Every formula in this guide is built into a free calculator. Enter your numbers and get exact quantities with waste included, in seconds.

Related Calculators

Keep reading