Fence calculator

Type the length of the fence and the panels you’re buying to see how many panels and posts you need, or work out rails and pickets for a picket fence.


How it’s worked out

A panel fence alternates posts and panels, starting and ending with a post. A picket fence has posts at a spacing, rails between them and pickets along its length:

Panels = (length − post) ÷ (panel + post), rounded up
Posts = panels + 1
Pickets = length ÷ (picket + gap), rounded up
Post length = fence height + depth in the ground

Worked examples

20 m of 1.83 m panels with 100 mm posts needs 11 panels and 12 posts, each 2.4 m long for a 1.8 m fence set 0.6 m into the ground; the last panel is cut to about 0.5 m. A 100 ft picket fence with posts every 8 ft, 3 rails, 3½ in pickets and 1¼ in gaps needs 14 posts, 39 rails and 253 pickets.

How to read the result

Common mistakes

How to use it

  1. Choose panels and posts, or rails and pickets.
  2. Type the fence length and the panel or picket sizes.
  3. Type the fence height and how deep the posts go, for the post length.

Questions

How many fence panels do I need?

Take one post width off the length, then divide by a panel plus a post and round up. 20 m of 1.83 m panels with 100 mm posts needs 11 panels.

How many posts for a fence?

One more than the number of panels, or one more than the number of bays on a picket fence.

How long should fence posts be?

The fence height plus about a quarter of the post in the ground: a 1.8 m (6 ft) fence usually takes 2.4 m (8 ft) posts.

More calculators

See all 39 calculators. Everything runs in your browser; nothing you type is sent anywhere.