Measure Twice › Exterior, decks & fences

Fence Calculator

Enter your fence length and design to get posts, rails, pickets and the concrete to set the posts.

Units

Use 0 for a solid privacy fence.

Go below your local frost line. In much of Canada that means 4 ft (1.2 m) or deeper.

Posts
14 posts
Sections
13 sections
Rails
39 rails
Pickets (incl. 5% extra)
220 pickets
Concrete per post (30 kg bags)
4 bags
Concrete total
56 bags
Estimate the cost, with your province's sales tax

Enter a price above to see your total.

Worked example

Result:

Posts
14 posts
Sections
13 sections
Rails
39 rails
Pickets (incl. 5% extra)
220 pickets
Concrete per post (30 kg bags)
4 bags
Concrete total
56 bags

Load this example into the calculator

How the fence calculator works

Your fence length divided by the post spacing gives the number of sections; you need one more post than sections. Each section gets two or three rails. Pickets are counted across the full length with your chosen gap. For the posts, it works out the volume of each hole, subtracts the post itself, and converts that to bags of concrete.

The formula

sections        = fence length ÷ post spacing, rounded up
posts           = sections + 1
rails           = sections × rails per section
pickets         = fence length ÷ (picket width + gap) × 1.05
concrete / post = (π × (hole diameter ÷ 2)² − post width²) × hole depth

Tips

Tools and materials

Related calculators

Last updated October 28, 2026