Skip to content

Choose your language

Choose the language for this home page. The workspace and customer capture use their existing languages.

FREE TOOLS

Fence calculator

Enter the length of each straight stretch of your fence. The calculator counts the posts, rails and boards, or the posts and ready-made panels, with corners and gate openings taken into account. It runs in your browser: what you type is not sent to us.

What goes between the posts?

A fence built on site: posts, horizontal rails and upright boards or pickets.

Your fence line

Measure each straight stretch from end to end. Add a stretch for every corner and every gate, and leave the gate openings out.

From the center of one post to the center of the next. The posts of each stretch are spread evenly, never further apart than this.

Rails in each section

The guides listed on this page use two rails on a 4 ft fence, three at 6 ft and four at 8 ft.

The width you measure, not the board’s name: a nominal 6 in board is 5 1/2 in wide.

0 for boards set edge to edge, as the guides advise for a privacy fence.

In percent, for cuts and boards you set aside. The guide listed on this page suggests 10; empty adds none.

Your material list

Enter the length of every stretch and the distance between posts to see the list.

Do you build fences? Your customer captures the fence line with their phone, and you read preliminary run lengths and gate widths from the photos before the site visit.

Start the free trial

How the list is worked out

Sections. Each stretch is divided into equal sections, none longer than the distance between posts you enter, so the posts end up evenly spaced. A 43 ft stretch with posts at most 8 ft apart becomes six sections of 7 ft 2 in.

Posts. One at each end of the line, one at every corner, two at every gate opening and one between every two sections. The Outdoor Essentials worksheets count the same way: a post for each section, one more to end the run and one more for each gate.

Rails. One rail for each section and each level, cut to the length of its section.

Boards. For each stretch, as many boards as it takes to reach its end with the gap you enter between them. The spare is added to the total and rounded up.

Panels. One for each section. Where a stretch is not a whole number of panels, the last panel is cut, and the list says to what length.

Where the starting values come from

Distance between posts. Outdoor Essentials’ worksheet for building with pickets spaces posts every 8 ft on center and names 6 or 8 ft as typical. Lowe’s layout guide gives 5 to 8 ft. The field asks for the longest distance, so it starts at 8 ft; a shorter one makes a stiffer fence and more posts.

Rails. The same worksheet uses two backer rails in each section of a 4 ft fence and three for a 6 ft fence. Universal Forest Products’ installation instructions add four rails for an 8 ft fence. The form starts on three, the 6 ft fence.

Board width. A board sold as 6 in wide is 5 1/2 in when dry, and one sold as 4 in is 3 1/2 in: table 3 of the American Softwood Lumber Standard. Some pickets are narrower than their name, so measure one before you count.

Gap. For a privacy fence, the Universal Forest Products instructions have the pickets butted against each other without a gap, so the form starts at 0. For a spaced picket fence none of the guides gives a figure: they have you cut a spacer to the gap you want.

Spare. The Outdoor Essentials worksheet recommends increasing the picket count by 10 percent.

Panels. Outdoor Essentials’ worksheet for preassembled panels says panels are typically 6 or 8 ft wide. Where panels are fixed to the face of the posts, the Lowe’s guide sets the posts one panel width apart. Where they sit between the posts, Freedom’s vinyl fence instructions measure the panel’s width plus the post’s width from center to center.

The guides are American and give feet and inches. In meters the length fields start empty, and you enter what your supplier’s products need.

What a calculator cannot check

  • Slope. On sloping ground a fence is stepped or follows the grade, and both change the lengths of posts and boards.

  • Post length and depth. The list counts posts; it does not size them. Universal Forest Products’ rule of thumb is a third of the post’s length in the ground, and the Lowe’s guide puts the hole below the frost line.

  • Gates. Gate openings are left out of the fence line. The gates, their hardware and any heavier gate posts are not in the list.

  • Rules and boundaries. Height limits, permits and where the property line runs are not something a calculator knows. Have buried lines marked before anyone digs.

  • Who measures last. A fence builder walks the line and measures again before ordering.

Planning the job from photos first? See remote measurements for fences.

If you build fences

A customer’s request often comes as one number, “about 150 feet”, with no word on corners, gates or what is in the way. With Sightimate you send a scan link, the customer captures the fence line in their phone’s browser, and you pick two points on a photo and read the length with its ± range.

Treat those lengths as preliminary: enough for a material list and a price range before you drive out. The final measurements are taken on site. See remote measurements for fences.

Frequently asked questions

How many posts do I need for 100 feet of fence?

With posts at most 8 ft apart, a straight 100 ft line has 13 sections and 14 posts. A corner post is shared by the two stretches it joins; every gate opening adds one post.

How far apart should fence posts be?

The guides listed on this page give 5 to 8 ft from center to center for a wood fence, and none goes beyond 8 ft. With ready-made panels the panel sets the distance. Check the instructions for your product.

How many pickets do I need for 100 feet of fence?

With boards 5 1/2 in wide set edge to edge, 219. With the 10 percent spare the form starts with, 241. Change the width and the gap to match your boards.

Does the list include gates?

No. Leave each gate opening out of the fence line and choose “a gate opening” between the two stretches beside it. The posts on both sides are counted; the gate and its hardware are not.

Is what I type sent anywhere?

No. The calculator runs in your browser. A link you copy carries your numbers after the # sign, which browsers do not send to a server.

Quoting a fence? See the line before you drive to it.

Start the free trial with 3 credits for 30 days. Send one link and see what the capture tells you before the first visit.