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.
How to use the Fence Calculator
- Enter the total fence length in feet, including gate openings.
- Set the post spacing (usually 6 or 8 ft) and the number of rails per section.
- Enter the picket width and the gap between pickets in inches.
- 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
- Enter the fence length in feet.
- Set the height and post spacing.
- Add any gates.
- 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 length | Post spacing | Sections | Posts | Rails | Pickets | Concrete bags |
|---|---|---|---|---|---|---|
| 50 ft | 8 ft | 7 | 8 | 14 | 100 | 16 |
| 50 ft | 6 ft | 9 | 10 | 18 | 100 | 20 |
| 100 ft | 8 ft | 13 | 14 | 26 | 200 | 28 |
| 100 ft | 6 ft | 17 | 18 | 34 | 200 | 36 |
| 150 ft | 8 ft | 19 | 20 | 38 | 300 | 40 |
| 200 ft | 8 ft | 25 | 26 | 50 | 400 | 52 |
| 300 ft | 8 ft | 38 | 39 | 76 | 600 | 78 |
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.