Home
Fence materials calculator
One straight run, with a post at each end. Corners, gates, and slopes are extra pieces you add after this count.
These fields start with a sample so you can check the arithmetic. Replace them with your own figures.
How to use it
- Choose feet or meters and enter the length of one straight run of fence.
- Enter post spacing (center to center), picket width, the gap between pickets, rails per section, and bags of concrete per post.
- Press Calculate. Run each straight section on its own, then add gate posts, gate hardware, and spare pickets yourself.
Spacing is the distance between post centers. Eight feet is a common wood-fence spacing, not a code. Picket width and gap are the face and the space you want.
Rails are boards per section, often two or three. Bags per post is however many you actually set. A gate needs its own posts and hardware. This count does not include them. The deck beside the fence is Deck board calculator.
Building a deck beside the fence? Count boards with the deck board calculator. For a footing or pad, use the concrete calculator, and price the labor with the handyman estimate calculator.
Formula
Posts = length ÷ spacing, rounded up, plus one. Sections = posts − 1. Picket pitch = picket width + gap, in feet or meters. Pickets = length ÷ pitch, rounded up. Rail boards = sections × rails per section. Concrete bags = posts × bags per post, rounded up.
Worked example
Questions
Where is the gate?
Take the gate width out of the picket run and add the gate frame yourself. The posts on either side of the gate are often closer than the regular spacing.
What about a corner?
Split the fence into straight runs. A corner post is the end of one run and should not be counted again as the start of the next.
Do I need concrete on every post?
Only if you are setting them that way. Set bags per post to zero for driven posts. The bag count is not a structural design.
Does picket width include the overlap?
No. If pickets overlap, use the spacing from one picket’s edge to the next visible edge, not the full board width plus a gap. The pitch is the repeat distance.
How many pickets do I need for an 80 foot fence?
With 3.5 inch pickets and a 0.5 inch gap, each picket takes 4 inches, so 80 feet needs 240 pickets. That is the sample. With 8 foot post spacing it also needs 11 posts, 20 rail boards at two rails per section, and 11 bags at one bag per post.
How far apart should fence posts be?
Eight feet is a common spacing for wood privacy fences, but follow the fence design, the rail or panel length you buy, and any local rules. Closer spacing adds posts and can make a stiffer fence.
How many bags of concrete per fence post?
It depends on the hole size and the bag yield. Work out the hole volume, compare it with the yield printed on the bag, and type that number into bags per post. Use zero for posts you drive or set in gravel.