Skip to content
RK Calculator
Menu

Fence Calculator

Find how many posts, rails and pickets a wood fence needs from its length, height and picket spacing.

Change the values and press Calculate to work out your own figures.

Enter the fence's length and height and the picket size and gap.

About lengthSize of this dimension.
About height or depthSize of this dimension.
About picket widthActual width.
About gap between pickets0 for a privacy fence.
About post spacing (optional)On center; 8 ft if blank.
About rails per section (optional)From the height if blank: one per 2 ft, at least 2.
About extra, % (optional)For waste, cuts or compaction; for example 10.
Result
Materials
14 posts, 39 rails, 160 pickets
Sections
13 of up to 8′ 0″, 3 rails each
Posts
about 8′ 0″ long, set 2′ 0″ deep (a third of the height)
Fence face
600 sq ft

The fence needs 14 posts, 39 rails, 160 pickets.

Show the working
  1. posts = ⌈length ÷ post spacing⌉ + 1
  2. rails = sections × rails per section
  3. pickets = length ÷ (picket width + gap), rounded up

How to use it

Enter the fence's length and height and the picket size and gap.

Lengths can be decimals, fractions or tape entries such as 12' 6 1/2" (in feet or inches). Prices are optional.

Key facts

posts = ⌈length ÷ post spacing⌉ + 1
rails = (posts − 1) × rails per section
pickets = length ÷ (picket width + gap), rounded up

Posts

Set about a third of the fence's height in the ground (a 6 ft fence on 8 ft posts, 2 ft deep), below the frost line. Wood posts go every 6–8 ft.

Questions

How many posts for a 100 ft fence?

14 posts at 8 ft spacing.

How many pickets for 100 ft?

160 pickets of 5.5 in with 2 in gaps.

Formulas

posts = ⌈length ÷ post spacing⌉ + 1
rails = (posts − 1) × rails per section
pickets = length ÷ (picket width + gap), rounded up

Sources

Limitations

  • Material densities are typical values (the midpoint of the commonly published range); real loads vary with moisture, grading and compaction, so check with your supplier or type in their density.
  • Tank results are the geometric volume; real tanks have wall thickness and fittings.

Formula version 0.1.0Reviewed