Fence Calculator

A fence is made of posts, rails and pickets or panels. Posts are often 8 feet apart. Rails run between posts. Pickets are the vertical boards. Measure the total fence length in feet. Count corners and gates. A corner needs a post. A gate needs two posts.

Quick answer

A 100 foot fence run with posts 8 feet apart needs 14 posts, 26 rails and about 210 pickets. Posts are the sections plus one, and pickets are the fence length in inches divided by picket width, plus 5 percent waste. Mark every post hole before you dig.

Wood fence with posts and pickets

Calculate now

Enter your size below. The result updates as you type. No signup needed.

Your result
Enter your size to see the result

Parts needed for your fence

Posts, rails and pickets for the length you entered.

How much fence do I need

A fence is made of posts, rails and pickets or panels. Posts are often 8 feet apart. Rails run between posts. Pickets are the vertical boards.

Measure the total fence length in feet. Count corners and gates. A corner needs a post. A gate needs two posts.

How to use the calculator

Enter total fence length in feet. Enter post spacing, often 8 feet. Enter fence height and picket width if asked.

The calculator gives posts, rails and pickets. It does not count gates as normal sections. Add gate posts by hand.

Formula

Number of sections = fence length in feet / post spacing in feet
Posts needed = sections + 1
Rails needed = sections x rails per section, often 2 or 3
Pickets needed = fence length in inches / picket width in inches, plus waste

Worked example

A fence run is 100 feet long. Post spacing is 8 feet.

Sections = 100 / 8 = 12.5, round up to 13 sections

Posts = 13 + 1 = 14 posts

Rails: 2 rails per section x 13 = 26 rails

Pickets: pickets are 6 inches wide. Fence length is 1,200 inches. 1,200 / 6 = 200 pickets. Add 5 percent waste: 200 x 1.05 = 210 pickets.

If you use panels instead of pickets, each panel is often 8 feet wide. 100 / 8 = 12.5 panels, round up to 13 panels.

One common mistake

People space posts by eye and end up with a short last section. Mark every post hole before you dig. Start at a corner and work along the line. The other mistake is setting posts too shallow. For a 6 foot fence, posts should go at least 2 feet deep, and deeper in soft ground or frost areas. Check local rules for depth and for where your boundary is.

Coverage at a glance

Fence heightPost depth
4 foot fenceAt least 1.5 feet deep
6 foot fenceAt least 2 feet deep

Frequently asked questions

How far apart should fence posts be?

8 feet is common. 6 feet is stronger and better for tall fences or windy places. Do not go wider than 8 feet for a wood fence.

How deep should fence posts be?

At least one third of the post should be in the ground, and at least 2 feet for a 6 foot fence. In frost areas, go below the frost line. Check local rules.

How many pickets do I need for 100 feet?

With 6 inch pickets and no gap, about 200 pickets, plus 5 percent waste, so about 210. With a small gap, you need fewer, but the calculator can adjust if you enter the gap.

How much concrete per fence post?

A normal post hole of 10 inches wide and 2 feet deep needs about 1 to 2 bags of 50 pound post mix, depending on hole size. Check the bag label and your hole size.

Do I need a permit for a fence?

It depends on your town and fence height. Many places need a permit for a fence over 6 feet. Check with your local council before you build.