Fence Calculator

Posts, rails and panels needed for a run of fencing.

m
m
Posts needed
13
Sections
12
Rails
24
Panels
12
Show the working
  1. 1Sections = ⌈30 ÷ 2.5⌉ = 12
  2. 2Posts = sections + 1 = 13
  3. 3Rails = 12 × 2 = 24
Formula
posts = ⌈length ÷ spacing⌉ + 1

How it works

Counts posts, rails and panels for a straight fence run. There is always one more post than sections.

Example

A 30 m fence with 2.5 m spacing needs 13 posts and 12 sections.

About the Fence Calculator

Posts, rails and panels needed for a run of fencing. It sits in the Home & Construction section of NWS Calc, a free collection of calculators that run entirely in your browser. There is no signup, no paywall and no tracking — open the page, enter your numbers, get an answer.

Frequently asked questions

Is the Fence Calculator free to use?
Yes. Every calculator on NWS Calc is completely free, with no signup, no usage limits and no ads.
Does my data leave my device?
No. The Fence Calculator runs entirely in your browser using JavaScript. Nothing you type is uploaded, logged or stored on a server.
Can I use the Fence Calculator on my phone?
Yes. The page is fully responsive and works in any modern mobile or desktop browser — there is nothing to install.
What else is in Home & Construction?
Paint, tile, concrete, flooring, lumber and material estimates. You can browse the full Home & Construction category for related calculators.

Related calculators