Overview

A wood fence is built from posts, rails between the posts and pickets nailed to the rails. This calculator counts all three for a straight run, plus the concrete to set the posts.

Enter the fence length, post spacing, rails per section, picket width and the gap between pickets (0 for a privacy fence).

Worked examples

InputsResult
UnitsImperial (ft, in)Fence length (ft or m)100Post spacing (ft or m)8Rails per section2Picket width (in or cm)5.5Gap between pickets (in or cm)0.5Posts: 14Sections: 13Rails: 26Pickets: 200Post concrete: about 21 × 50 lb bags (1½ bags per post)
Show 2 more examples
UnitsImperial (ft, in)Fence length (ft or m)150Post spacing (ft or m)6Rails per section3Picket width (in or cm)3.5Gap between pickets (in or cm)2Posts: 26Sections: 25Rails: 75Pickets: 328Post concrete: about 39 × 50 lb bags (1½ bags per post)
UnitsMetric (m, cm)Fence length (ft or m)30Post spacing (ft or m)2.4Rails per section2Picket width (in or cm)9Gap between pickets (in or cm)1Posts: 14Sections: 13Rails: 26Pickets: 300Post concrete: about 21 × 50 lb bags (1½ bags per post)

Posts by post spacing

With the calculator's starting values, the posts is 14. The table shows how it changes with the post spacing.

Post spacing (ft)Posts
426
521
618
716
8starting value14
913
1011
1111
1210

Other inputs: Units: Imperial (ft, in) · Fence length: 100 ft · Rails per section: 2 · Picket width: 5.5 in · Gap between pickets: 0.5 in. Change them in the calculator above for your own numbers.

How it works

Sections = fence length ÷ post spacing, rounded up; posts = sections + 1. Rails = sections × rails per section. Pickets = fence length ÷ (picket width + gap), rounded up.

The formula

Posts = ⌈Length ÷ Spacing⌉ + 1 · Pickets = ⌈Length ÷ (Picket + Gap)⌉
SpacingDistance between post centres
GapSpace between pickets; 0 for privacy

Practical tips

  • Corners, ends and gates each need their own post. Calculate each straight run separately.
  • Set posts a third of their length in the ground, below the frost line in cold climates.
  • Use 3 rails for fences taller than 6 ft so pickets do not warp.

Frequently asked questions

How many posts for a 100 ft fence?

With 8 ft spacing: 13 sections and 14 posts for a straight run.

How much concrete per fence post?

About 1–2 bags of 50 lb fast-setting concrete for a 4×4 post in a 10 in hole, 2–3 ft deep.