MaterialMath

Fence Calculator

Enter the total fence length and your layout. Gates are not included, so add a post for each gate.

2 for fences up to 4 ft, 3 for 6 ft
Use the fence post concrete calculator for an exact figure

Result

You need

14 posts · 219 pickets

39 rails · 28 bags of post concrete

Posts14
Sections13
Rails (8 ft)39
Pickets (6 ft)219
Concrete bags for posts28

Shopping list

  • 14 fence posts
  • 39 rails, 8 ft
  • 219 pickets, 6 ft
  • 28 bags post-setting concrete
· ·

How to calculate fence materials

Posts = fence length ÷ post spacing, rounded up, plus 1. Each gap between posts is a section, and each section needs its rails.

Pickets = fence length in inches ÷ (picket width + gap), rounded up. A nominal 1 × 6 picket is 5.5 in wide.

Example

100 ft of 6 ft privacy fence with posts every 8 ft: 14 posts, 39 rails and 219 pickets.

Quick reference

6 ft privacy fence, 8 ft post spacing, 3 rails, 5.5 in pickets
LengthPostsRailsPickets
50 ft821110
75 ft1130164
100 ft1439219
150 ft2057328
200 ft2675437
300 ft39114655

Frequently asked questions

How far apart should fence posts be?

6 to 8 ft for wood fences. 8 ft lines up with standard rail lengths. Vinyl panels set their own spacing, usually 6 or 8 ft.

How long should fence posts be?

About one third of the post goes in the ground. A 6 ft fence normally uses 8 ft posts set 2 ft deep, deeper below the frost line.

Last updated December 4, 2026