Skip to content
GableGreens

Fence Calculator

Count the pickets, posts and rails for a straight run of wooden fence.

Illustration of a wooden picket fence with a post-hole digger

Fence run

Use 0 for a solid privacy fence.

Rails per section

How the fence calculation works

  1. Pickets. Fence length ÷ (picket width + gap), plus your waste allowance, rounded up.
  2. Sections. Fence length ÷ post spacing, rounded up.
  3. Posts. Sections + 1, because every run needs a post at each end.
  4. Rails. Sections × rails per section.

pickets = roundup( fence length ÷ (picket width + gap) × (1 + waste) )

Example: a 50 ft privacy fence with 5.5 in boards and no gap needs 600 ÷ 5.5 = 109.1 boards. With 5% extra, buy 115. Posts at 8 ft: 50 ÷ 8 = 6.25, so 7 sections and 8 posts. With 2 rails per section, buy 14 rails.

Example: a 15 m fence with 100 mm boards and no gap needs 15,000 ÷ 100 = 150 boards. With 5% extra, buy 158. Posts at 2.4 m: 15 ÷ 2.4 = 6.25, so 7 sections and 8 posts. With 2 rails per section, buy 14 rails.

Pickets per length by size and gap

Picket widthGapPickets per 8 ft section
5.5 inNone18
5.5 in1/2 in16
3.5 inNone28
3.5 in2.5 in16
Picket widthGapPickets per 2.4 m section
100 mmNone24
100 mm10 mm22
75 mmNone32
75 mm50 mm20

Counts are rounded up and exclude waste.

Posts and rails guide

Fence heightRailsTypical post in the ground
Up to 4 ft (1.2 m)22 ft (60 cm)
5 to 6 ft (1.5 to 1.8 m)32 to 3 ft (60 to 90 cm)

Bury one third to one half of the above-ground height, and go below the frost line where the ground freezes. Local rules may also limit fence height.

Before you build

  • Check the boundary line and any height limits with your local authority, and talk to your neighbour.
  • Contact your utility-locating service before you dig post holes.
  • Measure each straight run separately if the fence has corners, then add the results.
  • Subtract gate openings from the fence length, and add gate posts and hardware separately.

Common questions

How many pickets do I need per foot of fence?

With 5.5 inch pickets and no gap, you need about 2.2 pickets per foot. With 3.5 inch pickets and a 2.5 inch gap, you need 2 per foot. Divide 12 by the picket width plus the gap, both in inches.

How many pickets do I need per metre of fence?

With 100 mm boards and no gap, you need 10 per metre. With 75 mm pickets and a 50 mm gap, you need 8 per metre. Divide 1,000 by the picket width plus the gap, both in millimetres.

How far apart should fence posts be?

Up to 8 feet (2.4 m) apart is standard for timber fences. Use 6 feet (1.8 m) in windy places, on slopes, or to match pre-made panels. Closer posts make a stronger fence.

How many rails does a fence need?

Two rails are normal for fences up to about 4 feet (1.2 m) high. Use three rails for fences of 5 to 6 feet (1.5 to 1.8 m) and above, to stop the boards warping.

How much concrete do I need for the posts?

It depends on the hole size and the number of posts. Use the post count from this page in the concrete calculator on this site, in post hole mode.

Monthly home energy tips

One email a month with our new guides, a free calculator to try and the latest electricity prices. Unsubscribe any time.

The signup form is provided by Hostinger Reach and loads when you click. You confirm by email before you get anything. Privacy policy.

Embed this calculator on your website

Free to use on any website. Copy the code below and paste it into an HTML or custom code block. Please keep the credit line under it.

Preview

Published