Fence Calculator

Estimate fence panels and posts for a straight run or a rectangular yard. Enter your own measurements, total gate width, and panel width to turn rough perimeter notes into a practical buying list.

Units
ft
optional
ft
optional
ft
Examples

How It Works

Formula

G={Rstraight run2(L+W)rectangular yardG = \begin{cases} R & \text{straight run} \\ 2(L + W) & \text{rectangular yard} \end{cases}

N=GWgN = G - W_g

P=NWpP = \left\lceil \frac{N}{W_p} \right\rceil

S=P+gS = P + g

T={S+1straight runSrectangular yardT = \begin{cases} S + 1 & \text{straight run} \\ S & \text{rectangular yard} \end{cases}

Frequently Asked Questions

Related Calculators

All calculators

Ready to Calculate?

Free calculators.