How Much Fencing Do You Need? Posts, Rails and Pickets

In short

Divide the fence length by the post spacing to get sections, then add one post. With 8 foot spacing, 100 feet of fence is 13 sections, 14 posts, 26 rails (two per section) and about 219 pickets of 5.5 inches, or 230 with 5 percent extra. Add a post for each gate.

Start with the length and the post spacing

A fence is made of equal sections between posts. Divide the fence length by the post spacing, round up to get the number of sections, and add one post to finish the line. The fence calculator works from the total length, the spacing, the number of gates and the style.

sections = fence length / post spacing (rounded up)
posts = sections + 1, plus 1 for each gate

Eight feet between posts is the standard for wood. A USDA NRCS practice specification for wood corral fences caps post spacing at 8 feet on center to suit the rail lengths, with rails twice the post spacing and no longer than 16 feet, and with the rail seams staggered on the posts. That document covers livestock fences, not a backyard privacy fence, but the post spacing and rail logic is the same. The calculator's hint puts standard spacing at 6 to 8 feet.

Worked example: 100 feet of fence

With posts every 8 feet, 100 feet of fence is 13 sections and 14 posts. With two rails per section that is 26 rails of 8 feet, and with 3 rails per section, which suits a taller fence, it is 39. Pickets that are 5.5 inches wide with no gaps come to 219 for the 100 feet, and 230 with 5 percent extra for waste. A single gate adds one post, so 15. Post concrete is about 28 bags of 80 pounds, at the calculator's assumption of two per post.

Quantities by fence length

These use 8 foot spacing, two rails per section, 5.5 inch pickets with no gaps, no gates and no waste.

Fence lengthSectionsPostsRailsPickets
50 ft7814110
100 ft131426219
150 ft192038328
200 ft252650437

How spacing changes the order

Closer posts make a stronger fence and cost more. At 6 foot spacing, the 100 foot fence needs 18 posts instead of 14. More sections also mean more rails. If you choose prefab panels instead of rails and pickets, the same 100 feet with one gate is 13 panels and 15 posts.

How many rails per section?

The calculator's guide is two rails for a fence up to about 4 feet tall, three rails for a 5 to 6 foot fence, and four rails for an 8 foot fence. The rail count is simply the number of sections times the rails per section, so the 100 foot example takes 26 rails with two per section and 39 with three. Taller fences also carry more wind load, so check the posts and bracing as well as the rails.

A quick cost check

At the calculator's default of $14 per post, the posts for the 100 foot fence cost $196. That is a placeholder, so enter the real price from your supplier. Posts are usually the smaller part of the bill, and the pickets, rails, concrete and hardware add up quickly, so price every line before you decide between building the fence and buying panels.

Pickets with gaps

A privacy fence has no gaps, but a picket fence leaves space between boards. A half inch gap between 5.5 inch pickets changes the 100 foot count from 219 to 200, because each picket now occupies 6 inches of the fence line. Enter your actual picket width and gap in the calculator, and add a few percent for splits and cut ends.

Check the rules before you build

Many cities limit fence height and setback. One Utah city's fence rules, in a 2025 public hearing notice, keep front-yard fencing to 4 feet and fencing in interior side or rear yards to 6 feet, and require a setback from the curb. Your town will have its own limits, and some require a permit. Find your property line before you set posts, and call before you dig so you do not hit buried utilities.

Common mistakes

What else to order

Besides posts, rails and pickets, the job needs post concrete, which you can size with the post hole concrete calculator, gravel for drainage if you want it, fasteners, and gate hardware. Treat all numbers here as planning estimates and measure your own fence line.

Calculators for this guide

Frequently asked questions

How many fence posts do I need for 100 feet?

With posts every 8 feet, 100 feet is 13 sections and 14 posts. Each gate adds one more, so one gate makes 15.

How far apart should fence posts be?

8 feet on center is the standard for wood fences with 8 foot rails. A USDA NRCS practice specification for wood fences caps post spacing at 8 feet on center, and the fence calculator's hint is 6 to 8 feet.

How many pickets do I need per foot of fence?

With 5.5 inch pickets and no gaps, each foot takes about 2.2 pickets. For 100 feet that is 219 pickets, plus a few percent for waste.

Sources and further reading

More guides

Estimates only. Always confirm quantities with your supplier or a qualified contractor before ordering, and add extra for waste and site conditions.