Fence Calculator — Posts, Rails, Pickets & Cost
Enter the run length and post spacing to size posts, rails, pickets and concrete, with a budget range for materials and labor.
Your numbers
Results
- Fence length
- 150 lin ft
- Estimated cost
- $4,335 – $5,865
- Sections
- 19 sections @ 8 ft
- Postsset 2.0 ft deep (1/3 of height)
- 21 posts
- Rails
- 57 rails × 8 ft
- Picketsincludes 5% waste
- 344 pcs
- Concrete
- 63 bags (60 lb)
- Gate hardware sets
- 1 sets
Quantities are estimates for planning. Verify spans, spacing and local amendments before ordering.
How the math works
- Sections = total length ÷ post spacing, rounded up. Posts = sections + 1, plus one extra post per gate.
- Rails: two per section under 6 ft tall, three per section at 6 ft and above.
- Pickets = (length × 12) ÷ picket width, plus 5% waste for cuts and culls.
Code & best practice
- Post holes should be one third of the post height deep, and always below the local frost line.
- Many municipalities cap front-yard fences at 4 ft and rear-yard fences at 6 ft — check zoning before ordering.
- Call 811 before digging; utility locates are free and required in most states.
Frequently asked questions
How many posts for a 150 ft fence?
At 8 ft spacing you need 19 line/end posts plus one extra post per gate.
How deep should fence posts go?
One third of the above-ground height, minimum 24 inches, and always below the frost line in cold climates.
How much does a wood fence cost per foot?
Installed pressure-treated privacy fence typically runs $28–$45 per linear foot; vinyl runs $40–$65.