Skip to content

Fence Calculator

Plan a fence: the number of posts, rails, and pickets for your length and spacing.

Your numbers

ft
ft
in
in

Posts

14

Sections
13
Rails
26
Pickets
200

Results are estimates for planning. Check important figures with a qualified professional.

Quick answer

The Fence Calculator shows posts, rails, and pickets for a fence of any length. How it works: Sections = length ÷ post spacing, rounded up; Posts = sections + 1. For example, with fence length of 100 ft, post spacing of 8 ft, and rails per section of 2, the posts is 14.

How to use the Fence Calculator

  1. Enter fence length.
  2. Enter post spacing.
  3. Enter rails per section.
  4. Enter picket width.
  5. Enter gap between pickets.
  6. Read posts and the breakdown. Use Share to send the exact numbers, or Print to save a PDF.

How it's calculated

  • Sections = length ÷ post spacing, rounded up
  • Posts = sections + 1
  • Pickets = length ÷ (picket width + gap)

Worked example

With fence length of 100 ft, post spacing of 8 ft, rails per section of 2, picket width of 5.5 in, and gap between pickets of 0.5 in:

Posts: 14. Sections: 13.

Questions people ask

Do gates need extra posts?

Yes. Add one post per gate side and adjust for gate width.