Skip to content

How to Measure a Fence Line

Updated November 1, 2026

A fence line is a length in feet. Walk the path the fence will follow, write down each straight leg, and add those legs. Corners end one leg and start the next. The Fence Calculator does not measure that path. It starts from a length you already have and turns it into sections, posts, and panels. This page stops when the feet are settled. The count is How Many Fence Panels and Posts Do I Need?.

Walk the path, not the diagonal

Take the tape along the ground where the fence will stand. A diagonal from the first corner to the last corner cuts across the yard and is shorter than the fence you will build. Record each straight run on its own. A slope is still the length along the ground you will follow, unless the fence is stepped and you have already decided the panel run is the horizontal distance. Write the number you will actually build.

A wheel or a long tape is enough. A pace count is only a sketch. If the tape is in inches, divide by 12. If it is in yards, multiply by 3. The calculator accepts feet or yards, and the unit has to match the number. Thirty-two yards typed into a feet field is 32 feet. On a 96 foot run, that is a third of the fence.

Corners and the gate opening

Stop the tape at the corner, write that leg, and start the next leg from the same point. The corner is a point the two legs share. It is not an extra foot you add, and it is not a reason to leave a gap between the legs. Add the legs after each one is written down.

A gate opening stays inside the length. The fence still runs across that opening; the gate fills it later. Mark the opening on the sketch and note how many gates you have. Leave those feet in the total. If you cut the opening out of the length now, and the next page also takes a gate off the panel count, that bay disappears twice.

Property line versus the fence face

The lot line and the fence are often not the same tape reading. A setback keeps the fence inside the property. Measure the line the posts will follow, which is the setback line when you have one, not the pin-to-pin distance of the lot. The face of the panel sits to one side of the post centers. If the panels face a neighbor, the post line is the measurement that matches the holes you will dig. Measuring the outer face and the inner face on different legs makes the total a mix of two paths.

A survey pin tells you where the lot is. It does not add itself to the footage. Confirm the setback before you order, and measure once the string line is where the posts will go.

Three legs: 40, 30, and 26

One layout: a street side of 40 feet, a side of 30 feet, and a return of 26 feet. Each number is the post-to-post distance along that leg. One gate sits in the 40 foot side. The opening is still part of the 40.

  • Street side: 40 ft, gate included.
  • Side: 30 ft.
  • Return: 26 ft.
  • Running length: 40 + 30 + 26 = 96 ft.

96 feet is the length to write on the sketch. It is the 96 foot run the panel guide starts from. Hand that total over. Do not turn it into panels on this page.

Hand the feet to the panel page

Open the fence calculator with the length set to 96 feet, and with the unit set to feet. The panel width, the post spacing, and the gate count belong to that next step, on the panel guide. This measurement is finished when the three legs add to 96 and the gate is still inside the 40, not removed from it.

Two sides that share a corner are already included once you add both legs. Do not average them into one number, and do not enter 40 twice because the corner post “belongs” to both sides. The corner added no length.

What the 96 feet leave out

The 96 feet are the path. They are not a panel count, a post count, or a concrete volume for the holes. Hardware, a gate kit, and the depth of each hole are separate once the length is known. If a fourth leg appears when you walk the yard again, add that leg in feet before you leave this page. A length that is still short is the mistake the panel count cannot repair.

FAQ

How do 40, 30, and 26 foot legs become one length?

Add them along the path: 40 plus 30 plus 26 is 96 feet. That 96 foot total is the length the panel guide and the fence calculator expect. This page stops at the feet.

Do I measure the property line or the fence?

Measure the line the posts will follow. A setback inside the lot line is shorter than the property line. A tape run on the diagonal across the yard is not a side of the fence.

Does the gate come out of the length?

No. The opening stays inside the running length. Write down how many gates, and leave those feet in the total. Taking the opening out here, and then subtracting a gate again on the panel page, drops that bay twice. The panel and post count is the next page.

Use the calculator

The Fence Calculator turns a length you already have into sections, posts, and panels. It does not measure the line. Enter the total feet from this page, then use the panel guide for the count. The result is a planning quantity, not a contractor bid or a store quote.

If a step here does not match the result you get, email [email protected] with the measurements you entered.