Fence Calculator
HoneyDoMath.com
Enter the length of a run of fence and the post spacing you will use, and get the posts, the rails and the boards to order; the math shows the sections and the real gap between boards, and gates, post depth and concrete are not counted.
Estimates for planning, not professional advice. Read the full notice.
Example: a run of fence
13 fence posts
- Sections between posts 12
- Posts 13
- Rails, one section long each 36
- Boards 182
- Real gap between boards 0.01 m (0.032 ft)
Estimate for planning, from what you entered and the product data shown. Check product labels and your supplier before you buy.
Result
Enter a size to see your total.
Each product is rounded up once for the whole project, so the total can be less than the items bought alone added together. A line counted from a cut layout (sheets, boards or tiles laid out piece by piece) is counted for each item and added.
- Posts, Fence post, 95 × 95 mm, 2.4 m 13
- Rails, Fence rail, 38 × 63 mm, 3.6 m 18
- Boards, Fence board, 100 mm wide 182
Questions
How many fence posts do I need?
The run over the post spacing, rounded up, plus one for a run with a post at each end. The table gives the count for common run lengths and spacings.
How far apart should fence posts be?
The spacing is a number you type, and the calculator counts what you give it. Use the spacing your fence panels, rails and local rules call for.
How many fence boards do I need?
Boards of the width you enter, with the largest gap you enter, fill the run; the real gap is shown. A wider board or a larger gap changes the count.
Worked example: a run of fence
Show the steps
- Sections: the run over the post spacing, rounded up 20 m (65 ft 7 3/8 in) ÷ 1.8 m (5 ft 10 7/8 in) = 12 sections
- Posts: one more than the sections on a run with two ends 12 sections + 1 = 13 posts
- Rails: the sections times the rails in each section, cut from the rail length 12 sections × 3 rails = 36 rails
- Boards: with the gap shown, whole boards fill the run 20 m (65 ft 7 3/8 in) ÷ 110 mm (4 5/16 in) = 182 boards
Assumptions
The figures behind the example. Sourced figures link to their source below; a default is a starting value to check against your label or supplier.
| Assumption | Value | Details and changes |
|---|---|---|
| Waste allowance | 0% | |
| Default Your own allowance, added once to the total. Check your label or supplier. | ||
Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm
Posts by run length and spacing
Posts for a single run with a post at each end, by run length and by post spacing
| Run length | Posts at 1.8 m | Posts at 2.4 m | Posts at 3 m |
|---|---|---|---|
| 10 m | 7 | 6 | 5 |
| 20 m | 13 | 10 | 8 |
| 30 m | 18 | 14 | 11 |
| 50 m | 29 | 22 | 18 |
Each count is the run over the spacing, rounded up, plus one post. Corners, gates and the posts of a closed shape are in the calculator above or are not counted.