Quick calculator

Fence Calculator

Count the posts, rails and pickets for a wood privacy or picket fence of any length.

8 ft is standard; 6 ft for windy sites or heavy fences.

The picket length. Sets the rails: 2 up to 4 ft, 3 for 5–6 ft, 4 for 7–8 ft.

A nominal 1×6 picket is 5½ in wide.

0 for a privacy fence; 2–3 in for a spaced picket fence.

Extra posts where the fence changes direction.

%

Your numbers

Posts14
Rails (3 per section)393 rails per section for a fence 6 ft tall. Each rail spans one section; buy rails at least as long as the post spacing.
Rail spacing32 in81.28 cmTop and bottom rails 4 in from the picket ends, the others evenly between them.
Pickets230
Sections13

Materials & tools for this job

As an Amazon Associate we earn from qualifying purchases. Prices and availability vary by store.

Tips before you buy

  • Check property lines and call 811 (in the US) to have utilities marked before you dig.
  • Many towns require a permit and limit fence height — typically 4 ft in front yards and 6 ft in back.
  • Gates need sturdier posts (often 6×6) and a dedicated section width; plan gate openings before setting posts.
  • Use pressure-treated posts rated for ground contact, even if the rest of the fence is cedar.