Easy CalculatorsOnline
A little less guesswork.

Home & building · EVERYDAY CLARITY

Straight fence post count calculator

Count posts for an open straight run and your maximum chosen spacing.

Units & number format

Change input units here. Results, charts and worked examples retain the calculation units stated on the page. Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Posts in one open run
11
Sections10
Even actual spacing2 m
See visual ↓

Open straight run: panels=ceil(length/spacing); posts=panels+1 when length>0. Zero length needs zero posts.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Your chosen layout

01Run length20 mEquivalent measurement
02Sections10Equivalent measurement
03Posts11Equivalent measurement

Spacing is a user input, not a structural recommendation. Gates and corner-sharing are excluded.

03 · UNDERSTAND THE METHOD

How the straight fence post count calculator works

A straight open fence run has one more post than its number of sections. This calculator divides run length by the maximum spacing you choose, rounds section count upward, and computes the even spacing that would fit that section count. The result is a simple layout count. It does not choose structurally suitable spacing or account automatically for gates, corners, or shared posts between runs.

The formula and its variables

sections = ceil(run length / maximum chosen spacing); open-run posts = sections +1
length
Fence run length (m). Use the stated unit; this input is a scenario value.
spacing
Maximum chosen post spacing (m). Use the stated unit; this input is a scenario value.

The calculation, step by step

  1. Measure one straight open run in meters and choose a maximum section spacing using the intended fence system’s guidance.
  2. Divide length by spacing and round upward to a whole section count. The adjusted even spacing cannot exceed the entered maximum.
  3. Add one post to terminate the open run. Read section count and actual equal spacing, treating a zero-length run as zero posts.

A worked example

A 20 m run with a chosen maximum spacing of 2 m uses ten sections and eleven posts, with 2 m actual spacing. A 21 m run requires eleven sections and twelve posts; evenly distributed spacing becomes approximately 1.9091 m. The extra end post is needed because ten adjacent sections have eleven boundary locations, not ten.

Example inputs and calculated output
Fence run length (m)20
Maximum chosen post spacing (m)2
Posts in one open run11

How to read the result and visual

This count assumes each section shares its interior post with its neighbor. Several runs meeting at a corner can share a post, so adding independent run totals may double-count that corner. Closed loops follow a different end-boundary convention. Gates may replace a section and require their own post arrangement.

Assumptions, rounding, and limitations

Post spacing is a user input, not a structural recommendation. The model excludes gate openings, corners, changes in grade, panel-specific widths, property boundaries, underground services, and footing design. Manufacturer instructions and applicable requirements determine a real installation layout. It does not calculate hole depth or material strength.

Frequently asked questions

Why add one post?

An open run needs a boundary at both ends, while adjacent sections share interior boundaries. That produces one more post than sections.

Can I use this unchanged for a closed loop?

No. A closed loop has no separate end post in the same sense. Use a layout that accounts for shared boundaries and corners.

Reference sources

How we check calculations and what verification covers