Home & Construction

Fence Calculator

Estimate sections and posts for a straight open run or a closed loop using your maximum post spacing.

Private, in-browser calculationUpdated

Material and geometry estimates only. Verify measurements, product instructions, and the complete design before purchasing or building.

Let’s work it out

Enter your numbers. We’ll show the working.

Choose the convention for your inputs.
Choose the convention for your inputs.

How to use this calculator

  1. Enter fence length or perimeter and the remaining values.
  2. Check the selected units and the counting or calculation convention described below.
  3. Select Calculate to review the result and breakdown. Reset restores the example.

The formula

Sections = round up(length / spacing); open-run posts = sections + 1; closed-loop posts = sections

The section count ensures average spacing does not exceed your entered maximum. An open run needs a post at each end. A closed loop joins the final section to the first post, so it does not add another endpoint.

PUTTING IT INTO PRACTICE

A worked example

A 100 ft open run with maximum 8 ft spacing needs 13 sections and approximately 14 posts. The simplified closed loop uses 13 posts.

How to interpret your result

Treat this count as a starting point for a post layout. A zero-length run correctly produces zero sections and posts.

Assumptions and limitations

One continuous run; no separate gates, corner posts, or shared sections.

Corners may force shorter spans and extra posts. Gates, slopes, holes, foundations, and property boundaries require separate planning.

Sources