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.
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
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
| Plot length (m) | Net fencing length |
|---|---|
| 10 | 39.00 |
| 16 | 51.00 |
| 20 | 59.00 |
| 25 | 69.00 |
| 30 | 79.00 |
| 40 | 99.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.