Fence Material Calculator

Enter the length of the fence line and the spacing you plan for posts. The calculator counts bays, posts, rails, pickets and concrete bags, adding extra posts for gates.

Loading the tool…

How it works

  • Bays = fence length ÷ post spacing, rounded up. Posts = bays + 1 + 2 per gate. Rails = bays × rails per bay.
  • Pickets = fence length ÷ (picket width + gap), rounded up.

Assumptions and limits

  • Fence length excludes gate openings. Straight runs only: add a post for each corner. Uneven ground and fixed spacing may change the numbers.
  • Concrete bags per post depends on hole size and post type. Quantities are estimates for planning and ordering. Check product labels and have measurements confirmed on site before buying or building. Structural work should be checked by a qualified professional.

Frequently asked questions

How far apart should posts be?

Commonly 1.8–2.4 m depending on the rail length and fence type.

Related tools

Last reviewed 2026-10-28. More construction & home projects tools. See the disclaimer.

Report a problem with this tool