Fence Calculator: Posts, Rails, Pickets

Use this fence calculator to estimate the posts, rails, pickets and post concrete you need for a fence line. Enter the length, height and post spacing, add gates, and get a full list before you head to the store.

Fence Calculator

Materials for a wood picket fence.

-
Everything runs in your browser. Nothing you enter is sent to a server.

How to use the Fence Calculator

  1. Enter the total fence length in feet, including gate openings.
  2. Set the post spacing (usually 6 or 8 ft) and the number of rails per section.
  3. Enter the picket width and the gap between pickets in inches.
  4. Add the number of gates and their width, then read sections, posts, rails, pickets and concrete bags.

Fence formula

  • Fence run = total length − gates × gate width
  • Sections = run ÷ post spacing, rounded up. Posts = sections + 1 + gates
  • Rails = sections × rails per section
  • Pickets = run (in) ÷ (picket width + gap), rounded up. Concrete = 2 bags per post

Examples

  • 100 ft of fence with one 4 ft gate, 8 ft spacing, 2 rails, 5.5 in pickets and 1/2 in gaps: 12 sections, 14 posts, 24 rails, 192 pickets and 28 bags of concrete.
  • 150 ft with two 4 ft gates and 6 ft spacing: 24 sections and 27 posts.

Add 5–10% extra pickets for cuts and damaged boards. Set posts about one third of their length in the ground, and check your property line, HOA rules and local height limits before you dig. Call 811 to have buried utility lines marked first.

Frequently asked questions

How far apart should fence posts be?

Most wood privacy fences use 6 to 8 feet between posts. Use 6 feet in windy areas or for taller fences.

How many pickets do I need for 100 feet of fence?

With 5.5 inch pickets and 1/2 inch gaps, about 200 pickets for 100 feet, or about 192 if a 4 ft gate is left out.

How many bags of concrete per fence post?

Usually 1 to 2 bags of 50 lb mix per post, depending on hole size. The calculator plans 2 bags per post.

How deep should fence posts be?

A common rule is one third of the post length in the ground, or at least 2 feet, and below the frost line in cold climates.

Do gates need their own posts?

Yes. Each gate adds a post, and heavy gates are often hung on larger 6 × 6 posts set in more concrete.

Related tools: Deck Calculator, Concrete Calculator, Board Foot Calculator, Retaining Wall Calculator, Paint Calculator.

Plan your fence materials

How to use it

  1. Enter the fence length in feet.
  2. Set the height and post spacing.
  3. Add any gates.
  4. Read posts, rails, pickets and concrete.

More questions

What post spacing is common?

Six to eight feet apart is common for wood fences.

How deep should posts go?

Often about a third of the post's height, but follow local rules.

Does it count concrete?

Yes. It estimates bags for the post holes.

Related tools: Concrete Calculator, Board Foot Calculator, Retaining Wall Calculator.

Fence materials by length

Straight runs with no gates, 2 rails per section, 5.5 in pickets with 1/2 in gaps, and 2 bags of concrete per post, the same rules the calculator uses:

Fence lengthPost spacingSectionsPostsRailsPicketsConcrete bags
50 ft8 ft781410016
50 ft6 ft9101810020
100 ft8 ft13142620028
100 ft6 ft17183420036
150 ft8 ft19203830040
200 ft8 ft25265040052
300 ft8 ft38397660078

6 ft or 8 ft post spacing?

On 100 ft of fence, 6 ft spacing needs 4 more posts, 8 more rails and 8 more bags of concrete than 8 ft spacing. The picket count stays the same, because pickets depend only on the length of the run. Add each gate in the calculator so its opening is taken out of the run and its extra post is counted.

More answers

How many posts do I need for 200 feet of fence?

With posts 8 ft apart, 200 ft is 25 sections and 26 posts, plus one more post for each gate. At 6 ft spacing it is 34 sections and 35 posts. The calculator plans 2 bags of concrete per post, so 52 or 70 bags.

Does closer post spacing change how many pickets I need?

No. Pickets depend only on the fence length, picket width and gap. 100 ft with 5.5 in pickets and 1/2 in gaps needs 200 pickets at either 6 ft or 8 ft spacing. Closer spacing adds posts, rails and concrete.