Fence Calculator

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 working shows the bays 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.

Run of fence

Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm

reads as 1.8 metres, 5 feet 10 and 7 eighths inches

Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm

reads as 20 metres, 65 feet 7 and 3 eighths inches

Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm

reads as 100 millimetres, 3 and 15 sixteenths inches

Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm

reads as 10 millimetres, 3 eighths of an inch

Metres, centimetres or millimetres, like 3.8 m, 10 cm or 250 mm

Example: a run of fence

13 fence posts

  • Bays between posts 12
  • Posts 13
  • Rails, one bay 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.

  • 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

Share this project

This link carries:

    The project is inside the link, after the # sign. Browsers do not send that part to the site.

    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 working
    1. Bays: 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 bays
    2. Posts: one more than the bays on a run with two ends 12 bays + 1 = 13 posts
    3. Rails: the bays times the rails in each bay, cut from the rail length 12 bays × 3 rails = 36 rails
    4. 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.

    AssumptionValueDetails and changes
    Waste allowance 0%
    Default Your own allowance, added once to the total. Check your label or supplier.

    Posts by run length and spacing

    Posts for a single run with a post at each end, by run length and by post spacing

    Posts for a single run with a post at each end, by run length and by post spacing
    Run lengthPosts at 1.8 mPosts at 2.4 mPosts at 3 m
    10 m 765
    20 m 13108
    30 m 181411
    50 m 292218

    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.