Fence Calculator
Posts, rails, pickets and concrete for a fenceRuns in your browser
13 sections. Gate width is not subtracted from pickets: keep the spares for repairs, or subtract them yourself.
Rough material cost
$1,438Wood privacy fence materials only: no gate hardware, nails/screws or labor. Rough 2026 US prices for pressure-treated pine.
Material estimates only. Round up, buy a little extra, and check with your supplier. Structural work (footings, framing, roofs) must follow local building codes; consult a licensed contractor where required.
How it works
Formulas
Sections = length ÷ post spacing (rounded up); posts = sections + 1 + gatesPickets = length (in) ÷ (picket width + gap)Worked example
Input: 100 ft, 8 ft spacing, 2 rails, 5.5 in pickets with 1/4 in gaps, 1 gate.
- 100 ÷ 8 = 12.5 → 13 sections, 15 posts.
- 13 × 2 = 26 rails.
- 1,200 ÷ 5.75 = 208.7 → 209 pickets.
Result: 15 posts, 26 rails, 209 pickets, 30 bags of concrete.
How to use
- 1Enter the total fence length.
- 2Set post spacing (8 ft is standard) and rails per section.
- 3Enter the picket width and gap (0 for privacy).
- 4Add gates and bags of concrete per post.
FAQ
How many fence posts do I need?
Length ÷ post spacing, rounded up, plus one for the end, plus one extra per gate. 100 ft at 8 ft spacing is 13 sections and 14 posts, 15 with a gate.
How deep should fence posts be?
A common rule is one third of the post's length in the ground (2 ft for a 6 ft fence on an 8 ft post), and below the frost line where the ground freezes.
Can I use metric units?
Yes. Switch to Metric and enter meters and centimeters; results show cubic meters, square meters or tonnes alongside US units.