Free materials calculator Fence Calculator
Enter your fence run length and post spacing, set the rails per bay and picket size, and get the posts, rails, pickets and bags of post-mix concrete you need. Works in feet/inches or metres/millimetres.
How this calculator works
It works for any wood or timber fence - picket, close-board, board-on-board or pre-made panels. A fence run is divided into bays no wider than the post spacing. Each bay is one panel; posts close each bay, rails span them, and pickets or boards clad the run:
bays = ceil(run length ÷ post spacing)
posts = bays + 1
rails = bays × rails per bay
pickets = ceil(run length ÷ (picket width + gap) × wastage)
concrete = posts × bags per post
Bays round up so no gap is ever wider than your spacing - it is the post count people run short on, so the estimate stays on the generous side. Building an L-shaped, three-sided or full perimeter fence? Add a run for each straight length and the quantities pool, with a post counted at every corner - so a whole boundary is just as easy to total as a single run. All math runs in exact metric internally, so switching units never changes the answer.
Worked example
This example follows the unit system you pick in the calculator above.
A 60 ft run at 8 ft post spacing, 3 rails per bay, 3.5 in pickets with a 0.5 in gap, 10% wastage, 2 bags of post-mix per post:
- Bays: ceil(60 ÷ 8) = ceil(7.5) = 8, so posts = 8 + 1 = 9 posts.
- Rails: 8 bays × 3 = 24 rails (180 ft of rail).
- Pickets: 60 ÷ (4 ÷ 12) × 1.10 = 180 × 1.10 = 198 pickets.
- Concrete: 9 posts × 2 = 18 bags.
Fence material guide
| Part | Rule of thumb |
|---|
| Post spacing | 1.8-3 m (6-10 ft); 2.4 m (8 ft) is the common default |
| Rails per bay | 2 up to 1.2 m, 3 for privacy height, 4 over 1.8 m |
| Post depth | About a third of the above-ground height, in concrete |
| Post-mix | 1-2 bags per standard post; more for tall or exposed posts |
| Picket gap | 0 for close-board/privacy, or the picket width for a classic spaced look |
Tips for setting out
- Set the two end posts first, run a string line between them, and space the intermediate posts off the line so the fence is dead straight.
- Dig post holes about three times the post width and a third of the fence height deep, then set each post in post-mix with a slight fall away from the timber.
- For a spaced picket fence, set the gap equal to the picket width for an even look; for privacy, set the gap to zero so boards butt or overlap.
- Add each side of a corner or stepped fence as a separate run so every junction gets its own post.
- Buy a few spare pickets beyond the wastage allowance to replace any that split when nailing.
Fence guides
Go deeper on any part of the job: