Fence Calculator

Enter the fence length, post spacing, and picket sizing to get the number of posts, rails, and pickets needed.

Results

Posts
14
Rails
39
Pickets
219
Sections
13

Estimates only. Round up and buy a little extra to account for waste, spills, and breakage.

Enter the fence length, post spacing, and picket sizing to get the number of posts, rails, and pickets needed.

How to use the fence calculator

  1. Enter the fence length in ft.
  2. Enter the post spacing in ft.
  3. Enter the rails per section.
  4. Enter the picket width in in.
  5. Enter the gap between pickets in in.
  6. Optionally add a price to estimate the total project cost.
  7. Read your quantities instantly — no sign-up, and you can print the estimate to take to the supplier.

Worked example

Inputs

Fence length
100 ft
Post spacing
8 ft
Rails per section
3
Picket width
5.5 in
Gap between pickets
0 in

Results

Posts
14
Rails
39
Pickets
219
Sections
13

Using the example values above, the fence calculator returns 14 (posts). Change any field to match your own project and the numbers update instantly.

Formula

Sections = length ÷ post spacing. Posts = sections + 1. Pickets = (length × 12) ÷ (picket width + gap).

Frequently asked questions

How far apart should fence posts be?
Space posts 6–8 ft on center; closer spacing adds strength in windy areas.
How many rails per section?
Use two rails for fences under 5 ft and three rails for taller privacy fences.

Related calculators