BoringTools

Calculator

Fence Post Spacing Calculator

Enter total fence length and preferred maximum spacing. We’ll compute equal post spacing, section count, rails, and concrete — with optional cost.

More calculators in the same job cluster.

Embed this tool

Paste this on your site. The embed includes a backlink to Boring Tools — please keep it.

<iframe
  src="https://boringtools.app/en/embed/fence"
  title="Fence Post Spacing Calculator"
  loading="lazy"
  style="width:100%;min-height:720px;border:1px solid #D6D0C6;border-radius:2px;"
></iframe>
<p style="font:14px/1.4 system-ui,sans-serif;margin:8px 0 0;">
  <a href="https://boringtools.app/en/tools/fence">Fence Post Spacing Calculator</a> — Calculator by Boring Tools
</p>

What we calculate

Three linked steps — the same sequence you see when you hit Calculate.

01

Run

Total length minus gate openings is the fence line to space.

02

Spacing

We pick equal section lengths that never exceed your max spacing.

03

Materials

Posts, rails, and concrete bags (plus optional prices) become your order list.

Frequently asked questions

How is post spacing calculated?

We divide the fence run (minus gate openings) into the fewest equal sections that stay at or under your maximum spacing. Actual spacing is run length ÷ number of sections.

How many posts do I need?

For a single run, posts = sections + 1 (both end posts included). Corners on a multi-side layout are shared — add sides into total length, then adjust if you share corner posts.

What max spacing should I use?

Six to eight feet is common for wood privacy fence. Wind, height, and material matter — vinyl and metal systems often specify a maximum. Always check manufacturer and local code.

How do gates affect the count?

Gate opening width is subtracted from the fence run before spacing posts. Each gate also adds one extra post (the far side of the opening) beyond a continuous run.

How many rails and concrete bags?

Rails = sections × rails per section (often 2 or 3). Concrete is estimated as bags per post × post count — hole size and mix yield vary.

Is this accurate enough to order materials?

It is a solid planning estimate for straight runs. Slopes, corners, and panel systems can change counts. Confirm with a supplier or installer before ordering.