Fence Calculator

Enter the total fence length, post spacing and picket size to get a full material list. Posts = sections + 1 (plus one per gate), where sections = length ÷ post spacing, rounded up. A 100 ft wood privacy fence with posts 8 ft apart needs 14 posts, 39 rails and about 219 pickets.

6-8 ft is typical for wood fences.
2 rails up to 4 ft high, 3 for 5-6 ft, 4 for 8 ft.
A nominal 1×6 picket is 5.5 in wide.
0 for a privacy fence.

Results update as you type. All maths runs in your browser.

You need

–
fence posts
Rails–
Pickets–
Concrete (50 lb bags)–
Sections–
Post hole depth–
Estimated cost–
Download your results

Estimate only. Confirm quantities and weights with your supplier before ordering.

How to calculate fence materials

  1. Sections: divide the fence length by the post spacing and round up.
  2. Posts: sections + 1 for a straight run. Add one post per gate, and one for every corner or end if the fence has several separate runs.
  3. Rails: sections × rails per section.
  4. Pickets: fence length in inches ÷ (picket width + gap), rounded up.
  5. Concrete: each post hole is about three times the post width (10 in for a 4×4) and half the fence height deep, so about a third of the post is in the ground.
Posts = ⌈Length ÷ Spacing⌉ + 1 + Gates
Pickets = ⌈Length × 12 ÷ (Picket width + Gap)⌉

Example: 100 ft privacy fence, 6 ft high

100 ÷ 8 = 12.5, so 13 sections and 14 posts. Rails: 13 × 3 = 39. Pickets: 1,200 in ÷ 5.5 = 218.2, so 219 pickets. Holes 36 in deep and 10 in wide take about 1.38 cu ft of concrete each, or 52 bags of 50 lb fast-setting concrete for all 14 posts.

Buying tips

  • Buy posts 2-3 ft longer than the fence height: an 8 ft post for a 6 ft fence leaves enough in the ground and a little to trim.
  • Add 5-10% extra pickets for splits and bad boards.
  • Call 811 before digging so buried utility lines can be marked for free.
  • Check local rules on fence height and setbacks before you buy materials. Many towns cap front-yard fences at 3-4 ft.

Concrete yield is based on 0.375 cu ft per 50 lb bag of fast-setting concrete.

Frequently asked questions

How many fence posts do I need for 100 feet?

14 posts with 8 ft spacing (13 sections + 1), or 18 posts with 6 ft spacing. Add one post per gate and per extra corner or end.

How far apart should fence posts be?

6-8 ft for wood fences. Use 6 ft in windy areas or for heavy board-on-board fences. Vinyl and chain link have their own standard panel widths, usually 6-10 ft.

How deep should a fence post hole be?

About half the height of the fence above ground, or at least 24 in, and below your local frost line. A 6 ft fence needs holes about 3 ft deep.

How many bags of concrete per fence post?

For a 4×4 post in a 10 in hole 3 ft deep, about 3-4 bags of 50 lb fast-setting concrete. Shallower holes for 4 ft fences need about 2-3.

Last updated December 2026. Formulas checked against standard US estimating figures.