Landscaping & Boundaries

Fencing calculator

Estimate fence panels, posts and optional gravel boards from boundary length, gate openings and panel width.

Transparent formulaFormula v1.0 · net boundary run ÷ panel width; posts and gravel boards follow panel spans
01Enter your measurements

Enter measurements, then review the audit trail before you buy.

Fence line and panels

Quote-ready materials list

Save as PDF or print

Scope boundary: Materials list only — it does not confirm a boundary line, post depth, stability design or planning decisions.

Check the path

Your calculation audit

Every total is shown as a short sequence so you can see what was measured, deducted, adjusted and rounded.

  1. 01
    Awaiting valid measurementsComplete the fields above to reveal the formula path.
    —

Measure clearly

Simple guidance

Measure the intended fence line from end post to end post. Deduct the widths of gates or any clear section that will not take a panel, then enter the actual panel width you plan to buy.

Measurement guide for Fencing calculator A simple labelled diagram showing Fence run, Panel width and Gate opening. Fence run Panel width Gate opening
Measure the finished surface or internal clear dimensions. Keep a note of any deduction you make.

Worked example

Follow the same logic

An 18 m boundary with a 1 m gate opening leaves 17 m. With 1.83 m panels, this needs 10 spans, 11 minimum posts and 11 panels after a 5% panel allowance.

Planning tipWrite down the product factor or pack size you used, so a later change is easy to trace.

Before you buy

Three quick checks

  1. 01

    Measure the intended fence run, rather than assuming a property boundary.

  2. 02

    Deduct each gate or deliberate clear section once.

  3. 03

    Confirm actual panel widths, post types, corner/end conditions and gravel-board lengths with the merchant.

Quick answers

Useful to know

Why is there one more post than panel spans?

A straightforward run needs an end post at both ends, so the minimum post count is the calculated number of panel spans plus one. Corners, changes in direction and gates may need additional posts.

Does this tell me how deep to set the posts?

No. This is a material-list estimate only. It does not set post depth, stability, ground conditions, boundary rights or planning decisions.

Review record

Transparent calculation method

Last reviewed: 2026-10-17. Formula version: v1.0. Classification: fence-material estimate.

Formula source: src/calculator.js. Uses visitor-entered measurements and product values.

Read methodology