Canada version. Feet and inches as Canadian lumber is sold, posts set 48 in deep for frost, 30 kg concrete bags, prices in CA$, and municipal fence and pool enclosure bylaws. US version
Fence Calculator (Canada)
Count fence posts, rails, boards or panels and 30 kg concrete bags for posts set below the frost line, with gates and corners, post lengths and prices in CA$.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Fence Calculator?
The Canadian difference in a fence estimate is frost. Posts set 2 feet deep, as US guides often suggest, can be heaved out of line by frost in much of Canada, so this version starts with holes 48 inches deep. Ontario municipal deck guides, such as the one from Trent Hills, set footings at 48 in (1.2 m) for the same reason; on the Prairies and in the North frost goes deeper, so ask your municipality.
Depth doubles the concrete. On a back yard with runs of 60, 40 and 60 feet and a gate, 4x4 posts in 10 inch holes need about 52 litres of concrete each at 48 inches, which is about 3.7 bags a post (round up to four for a single hole) and 90 bags of 30 kg for all 24 posts. At 24 inches it would be 45 bags. Posts also get longer: 10 feet for a 6 foot fence.
Before you build, check the bylaw. Toronto, for example, sets fence heights by location in Table 1 of its Fence Bylaw, and any outdoor pool or hot tub needs a pool fence enclosure permit, with an enclosure at least 1.2 m high for a single residential property.
- Any number of straight runs with gates, open or closed layouts
- Rails and pickets or prefabricated panels
- Concrete per post and in total, in 40, 50, 60 and 80 lb or 20 and 25 kg bags
- Run-by-run table with the real section length for layout
- Material cost and post length; runs in the browser with a share link
Updated
How to use the Fence Calculator
- Enter each straight side of the fence in feet with any gates, and say whether it ends at the house.
- Choose rails and boards for a wood privacy fence, or panels for vinyl or prefab sections.
- Set the post spacing (8 ft suits standard rail lengths) and the fence height.
- Enter the post size (3.5 in for a 4x4), the hole diameter and a depth below your local frost line.
- Pick the 30 kg bag and enter prices in CA$ for posts, rails, boards and concrete.
Worked examples
Back yard privacy fence with a gate
Input
Runs of 60, 40 and 60 ft, one 4 ft gate in the 40 ft run, 8 ft spacing, 6 ft high, 3 rails, 1x6 boards (5.5 in) with no gap, 5% extra, 4x4 posts in 10 in holes 48 in deep, 30 kg bags
Output
24 posts of 10 ft, 22 sections, 70 rails, 374 boards, about 3.7 bags a post (round up to four for a single hole), 90 bags for all 24 posts
The two 60 ft sides take 8 sections each and the back 6 around the gate. Each hole holds about 52 L of concrete once the post is in.
Same fence at 24 inches deep
Input
Same layout, holes 24 in deep
Output
24 posts of 8 ft, 2 bags a post, 45 bags
Half the concrete and shorter posts, but in frost-prone ground the posts are more likely to lift over a few winters.
Vinyl panel fence along a 100 ft lot line
Input
One 100 ft run, 8 ft panels, 6 ft high, 4x4 size posts, 10 in holes 48 in deep
Output
13 panels, 14 posts, 52 bags of 30 kg
Use the actual post centres from the panel maker; vinyl posts are often 5 in square, which changes the spacing and the concrete.
Background and insight
Post spacing is a maximum, not a rule that every section must hit. Wood privacy fences are commonly built with posts 6 to 8 feet on centre, because 8 foot rails are a stock length and longer spans sag. When a run does not divide evenly, the calculator rounds the number of sections up and spreads the length evenly, so a 50 foot run at 8 foot maximum spacing becomes 7 sections of 7.14 feet instead of six full sections and a stub.
Gates are assumed to be spaced evenly within their run. That gives the fewest posts; a gate placed off-centre can need one more section on one side, so check the run table against your plan. Each gate needs its own pair of posts, which should be set deeper or larger because a swinging gate loads the hinge post sideways.
Concrete is the hole volume minus the part of the hole the post fills. A common rule from post and concrete manufacturers is a hole about three times the post width and at least a third to a half as deep as the post stands above ground, and always below the local frost line so frost heave cannot lift the post. Bag yields come from published data: an 80 lb bag of concrete mix makes about 0.60 cubic feet and a 50 lb bag of fast-setting mix about 0.375 cubic feet.
Common use cases
Privacy and picket fences
Get the post, rail and picket list for a wood fence before ordering lumber.
Panel fences
Count vinyl or wood panels and the posts between them for a yard with several sides.
Gates and corners
See how gates and changes of direction change the post count instead of guessing.
Concrete order
Buy the right number of bags for every post hole in one trip.
Tips and limitations
- Request a free utility locate before digging; provinces have one-call services such as Ontario One Call and BC 1 Call.
- Set gate posts deeper or larger, and use a bigger hole around them; a swinging gate pulls sideways all winter.
- Crown the concrete at the top of each hole so water runs away from the post instead of freezing around it.
- Buy posts treated and rated for ground contact; they sit in wet soil for decades.
Sources and further reading
- Fences: building permit application guide, City of Toronto. Fence Bylaw height table and pool fence enclosure permits, heights and gate rules.
- Deck design guide, Municipality of Trent Hills. Footings 48 in (1.2 m) deep for frost protection in Ontario.
Frequently asked questions
How deep should fence posts be in Canada?
Below the frost line for your area. In much of Ontario that means about 48 inches (1.2 m), the depth municipal deck guides use for footings; it is deeper on the Prairies and in the North. Ask your municipality for the local frost depth.
How many 30 kg bags of concrete per fence post?
For a 4x4 post in a 10 inch hole 48 inches deep, about 52 litres of concrete, which is four 30 kg bags. A 12 inch hole at the same depth takes six.
Do I need a permit to build a fence?
Most municipalities regulate fence height through a fence bylaw rather than a building permit, with lower limits in front yards. Pool enclosures are different: cities such as Toronto require a pool fence enclosure permit and an inspection before the pool is filled.
How high does a pool fence have to be?
In Toronto at least 1.2 m for a single residential property and 1.8 m for multiple residential or non-residential properties, with self-closing, self-latching gates. Other municipalities set their own rules, so check your bylaw.
How long should fence posts be for a 6 ft fence?
Fence height plus hole depth: with 48 inches in the ground a 6 foot fence needs 10 foot posts. The calculator shows the post length from your inputs.
How many fence boards do I need per 8 ft section?
Divide the section width by the board width plus gap. With 1x6 boards (5.5 in) and no gap that is 18 boards for each 8 ft section, before any extra for splits.
Is there an in-depth guide to the Fence Calculator?
Yes. “How to Estimate Fence Posts, Pickets, Rails and Concrete” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.