Land Ruler

How much fencing do you need?

Enter the dimensions and gate opening to estimate your fence and posts.

Wire fencing

m
m
m
m

The gate is centred on the side entered as Length. All dimensions use the selected unit.

Measure a boundary on the map
Illustrative rectangular garden with wire fencing and a centred gate.

Illustrative rectangular plot.

Fencing required

136 m

69 postsCorner and gate posts included

Rectangle fence calculation

2 × (40 + 30) − 4 = 136 m

Measure your plot on the mapFor an irregular boundary, trace its shape in the area tool.

How the fence estimate works

For a rectangle, add length and width, double the result, then subtract the gate opening. A 40 × 30 m plot has a 140 m perimeter. With a 4 m gate, the fenced length is 136 m.

Posts are counted between corners and gate ends

Each side is divided into intervals no longer than your chosen spacing. The two runs beside the centred gate are counted separately, so corners and gate ends receive a post. The example needs 69 posts, including the two gate posts. Without a gate, the fence is a closed loop and shared corner posts are counted once.

Use the result as a planning estimate

This calculator assumes a level, rectangular boundary, straight fence runs and one centred gate. It does not calculate extra bracing, foundations, terrain adjustments, roll joins, waste or the strength of gate supports. Check your supplier’s installation requirements before ordering.

Compare the gate and post-spacing choices

Worked rectangle examples using the calculator’s centred-gate model
Plot dimensionsGate openingMaximum spacingFenced lengthPost positions
40 × 30 m0 m2 m140 m70
40 × 30 m4 m2 m136 m69
50 × 30 m4 m3 m156 m54

Why dividing total length by spacing can miss a post

For the 50 × 30 m example, the centred 4 m gate leaves runs of 23, 30, 50, 30 and 23 m. At a maximum spacing of 3 m, these need 8, 10, 17, 10 and 8 intervals. Those 53 intervals need 54 post positions along the open fence line. Dividing the total 156 m by 3 and adding one would give 53 posts and underestimate this layout by one post.

Check the gate position, not just its width

This form places one gate in the middle of the side entered as Length. An off-centre gate or several openings changes the individual runs and can change the rounded post count. Combining several gate widths into one input does not represent those layouts. List the actual runs, corners and gate ends when planning another arrangement.

Read the estimate before ordering materials

  1. Keep every input in the selected unit. Selecting ft reads the entered numbers as feet; it does not convert an existing metre sketch for you. One international foot is exactly 0.3048 m. NIST: exact international foot conversion.
  2. Treat the post count as positions in this layout. The default 69 positions include four corners and two gate ends. Check which post types and any extra brace assemblies your chosen fence system requires.
  3. Measure an irregular boundary as separate straight runs and record each gate position. The map links below open measuring tools; copy the measurements yourself. There is no automatic boundary transfer into this rectangle form.

UGA Extension distinguishes line posts from corner, end and gate assemblies. Its construction guide helps explain why a position count is not a complete list of supports and fittings. UGA: Fences for the Farm.

Fence calculation questions

Can I calculate a fence without a gate?

Yes. Enter 0 for the gate opening. The post calculation then uses a closed rectangle, including four corner posts.

Is post spacing always exactly the value I enter?

No. The value is a maximum. The last interval before a corner or gate may be shorter. This calculator counts these intervals separately.

Can I use this for an irregular plot?

Use measured total length mode for a boundary traced on the map. It subtracts the gate opening without inventing rectangle dimensions. Only rectangle mode counts posts; perimeter alone cannot determine corner and gate posts.

Need to plan sowing too? Use the seed calculator.