Fence Material Calculator

Count posts, rails, and pickets for a straight fence run. Based on length, post spacing, and picket dimensions.

Assumptions

  • Straight fence line on flat ground.
  • Posts at each end and every spacing interval.
  • Pickets are uniform width with consistent gap.
  • Corner, gate, and terminal posts may need extra hardware not counted here.
  • Post spacing typically 6–8 ft for wood privacy fence.
Formula
Sections = ceil(fence length ÷ post spacing). Posts = sections + 1. Pickets = ceil(section length ÷ (picket width + gap)) × sections. Rails = sections × rails per section.

100 ft fence, 8 ft post spacing, 5.5 in pickets

  1. Sections = 100 ÷ 8 = 12.5 → 13 sections. Posts = 14. Picket spacing ≈ 5.625 in each. ~17 pickets per 8 ft section × 13 ≈ 221 pickets. Rails = 13 × 3 = 39.

How to measure

Measure the fence line along the planned post centerline from end post to end post, following grade. Confirm post spacing matches your design and local wind-load habits.

Common mistakes

  • Forgetting gate posts and latch-side spacing.
  • Using nominal picket width without adding gap.
  • Not adding extra posts for changes in elevation or direction.

Frequently asked questions

How far apart should posts be?
6–8 ft is typical for wood privacy fences. Closer spacing handles wind loads better.
Does this include a gate?
No. Plan gate width, posts, and hardware separately.
Chain link vs wood?
This targets picket-style layout. Chain link uses fabric rolls and different post counts.
Slope adjustments?
Stepped or racked fences on slopes need longer posts and may change rail lengths.

Related calculators