Home · Math · Plane Geometry · Rectangle Fence Perimeter Calculator

Rectangle Fence Perimeter Calculator

Total fencing run for a rectangular plot, with gate openings subtracted so you buy wire and rails for the fence that is actually built.

Your figures

Example result — edit the figures to make it yours

59

Net fencing length

Gross perimeter60.00 m

20 10 Rectangle · 20 × 10
The shape for your figures, drawn and labelled from the same values the result is computed from — change a figure and the drawing follows.

What this calculator does

Total fencing run for a rectangular plot, with gate openings subtracted so you buy wire and rails for the fence that is actually built. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Net length = 2(L + W) - gates x gate width

A rectangle's perimeter is 2(L + W). Each gate replaces a stretch of fence with a gate leaf, so the net fencing length subtracts the gate widths; the gross perimeter is shown as well for post spacing estimates.

Keep all lengths in the same unit. This counts one strand/run of fence; multiply by the number of rails or wires for total material.

Worked example

With the example inputs this page opens with (plot length (m) 20, plot width (m) 10, gate width (m) 1, number of gates 1), the result is 59.00 — net fencing length. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying plot length (m)
Plot length (m)Net fencing length
1039.00
1651.00
2059.00
2569.00
3079.00
4099.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Rectangle Fence Perimeter Calculator work?

Total fencing run for a rectangular plot, with gate openings subtracted so you buy wire and rails for the fence that is actually built. Length - Width - Gates -> Net fencing length. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Rectangle Fence Perimeter Calculator need?

Length - Width - Gates -> Net fencing length. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Rectangle Fence Perimeter Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.