Garden planning, made simple

Fence Calculator: Posts, Rails and Pickets

Count the posts, rails and pickets for a straight fence. Enter the fence length, post spacing, picket width and gap, with US or metric units.

Measure. Calculate. Grow.US & metric units.
Clear quantities. Less guesswork.

Your fence

Enter the run of fence and the picket sizes.

Measurement units
ft
ft
in
in

Rails run between posts.

For spills, uneven ground or a spare.

Updates as you type

Measure the right space

Use inside dimensions. Divide irregular spaces into smaller rectangles.

Whole bags, every time

Bag counts round up from the full calculation, never the displayed volume.

A useful starting point

Allow for settling and check your supplier’s product and delivery details.

A few useful answers

A better estimate starts with good measurements.

Here’s how the numbers work, and what to check before placing an order.

How do I work out how many fence posts I need?

Divide the fence length by the post spacing and round up to get the number of sections. A straight fence needs one more post than sections. Corners and gate posts are extra.

How many pickets for a 100 ft fence?

Each picket and its gap take up 6 inches when the picket is 5.5 in wide with a 0.5 in gap. 100 ft is 1,200 in, so 200 pickets, or 210 with 5% extra.

Does it include gates and corners?

No. The calculator treats the fence as one straight run. Add posts for corners, gates and ends, and subtract the gate width from the length if the gate has its own frame.

What post spacing should I use?

Six to eight feet is common, but rails, wind, local rules and the fence height all matter. The calculator uses the spacing you type.

Does it include concrete for the posts?

No. For post holes, the concrete calculator can help once you know the hole size.

How to calculate fence posts, rails and pickets

A simple picket fence has three parts you count: posts, horizontal rails between the posts, and the pickets themselves. All three come from the fence length and a few sizes.

Posts: divide the length by the spacing and round up. A 100 ft fence with posts every 8 ft has 13 sections and needs 14 posts, because the last section has a post at both ends. Rails: multiply the number of sections by the rails per section. With three rails that is 39 rails, each as long as the spacing.

Pickets: each picket takes its own width plus one gap. With 5.5 in pickets and a 0.5 in gap, that is 6 in per picket, so 100 ft takes 200 pickets. Add an allowance for cuts and mistakes. With 5% extra the answer is 210.

Example: 100 ft of fence, 8 ft post spacing, 3 rails, 5.5 in pickets with a 0.5 in gap and 5% extra needs 14 posts, 39 rails and 210 pickets.

What is not counted

The calculator does not include gates, corner posts, post concrete, screws, brackets or stain. Slopes, panels of different lengths and uneven ground change the numbers, so treat the result as a planning figure and check it against your design.