This tool is for informational purposes only and does not constitute professional advice. Results are estimates; always verify with a qualified professional before making decisions.

How to Measure for a Fence (Corners, Runs and Gates)

Last updated:

Accurate fence measurement starts with a clear understanding of your property line and the layout of any obstacles or openings. Measure along the ground where the fence will sit, account for corners and gates, and note terrain changes. Then use the calculator to estimate the materials you need.

Gather Your Tools

Before you start, have these items ready: a measuring wheel (the most practical tool for long distances), a tape measure at least 25 feet long, chalk or marking flags, a notebook, and a pencil. A measuring wheel is faster and more accurate than a tape for runs over 50 feet. If you do not have one, hardware rental stores and big-box retailers rent them for a few dollars per day.

Mark the Corners

Walk the intended fence line and place a chalk mark or flag at each corner of your property where the fence direction changes. Use a carpenter's square or speed square to verify that the corner is as close to 90 degrees as you can achieve — most residential property corners are not perfectly square, and that is normal. Mark the ground (not the grass) so you can see it clearly when you measure. If your fence runs along a property line, check the recorded survey plat or your deed to confirm the exact locations; disputes over fence placement are common, and property surveys are available through your county assessor or a local surveyor if needed.

Measure Each Straight Run

Starting at the first corner, measure the distance to the next corner. Measure along the ground line where the fence will actually sit, not floating above it. If the terrain slopes, follow the slope with your measuring wheel or tape — do not measure diagonally through the air. Write down each segment length. Add all segments together to get your total fence length.

For example, if your fence runs around three sides of a rectangular lot, you might have: Side A (North) = 120 ft, Side B (East) = 80 ft, Side C (South) = 120 ft, for a total of 320 ft. Do not subtract gate widths from this total — the calculator handles gate openings separately.

Account for Sloped or Uneven Terrain

If your yard has slopes, measure along the ground, not the horizontal projection. A sloped fence uses more material because posts must still be spaced evenly along the slope. For steep slopes, some installers use a step-fence method (where the fence boards step down in sections) rather than a sloped fence; consult a contractor if your slope exceeds 1 foot of rise per 10 feet of run, or discuss slope handling in the calculator tool itself.

Mark and Count Gate Openings

Identify every location where a gate will go. Each gate opening requires two dedicated gate posts, and these are counted separately from the fence posts. A single-swing garden gate counts as 1 opening. A double-drive gate (swing or sliding) also counts as 1 opening for calculation purposes — it has 2 gate posts, plus sometimes a center post depending on the gate type.

Write down the total number of gate openings. Do not subtract the gate width from your total fence length — enter the gate count into the calculator separately. The tool will add the required gate posts on top of the standard fence posts.

Identify Obstructions and Tie-Ins

Note any obstacles that will affect fence layout: existing structures (houses, garages, sheds), utility boxes, trees, or drainage easements. If your fence will tie into an existing fence or structure, measure the exact point of tie-in so the contractor can plan corner details. Some jurisdictions require easements for utility companies, so confirm with your local utility locating service (Call 811 in most of the United States) before finalizing your layout.

Consider Height and Style

While measuring, think about the fence style and height you want. Standard residential heights are 4 feet for picket fences, 6 feet for privacy fences, and 3 to 4 feet for ranch or split-rail fences. The material requirements vary by height and style — a 6-foot privacy fence uses more posts and boards than a 4-foot picket fence at the same length. Many jurisdictions limit height in front yards and allow taller fences only in side and rear yards; consult your local building department or HOA if applicable.

Create a Sketch or Diagram

On a piece of paper or in a simple digital sketch, draw your fence layout showing each segment length, corner angles, and gate openings. Label each measurement. This diagram helps the calculator and contractor understand your project and serves as a record in case you get estimates from multiple contractors. You do not need an architectural drawing — a rough sketch with labeled dimensions is sufficient.

Double-Check Your Measurements

Measure your entire fence run a second time to verify. Check that your total perimeter is reasonable for your property size. If you have questions about exact property lines, consult your deed, survey plat, or a local surveyor before you start.

Enter Data into the Calculator

Once you have your total fence length (in feet), count of gate openings, and chosen fence style, enter the data into the calculator. The tool will estimate posts, rails, pickets or panels, and concrete bags needed for your project. The calculator assumes industry-standard post spacing (8 feet for wood and vinyl, 10 feet for chain link). If your contractor specifies different spacing, you can adjust the post count manually or use the fence post calculator for custom spacing.

Related Guides

Open the fence calculator →