One straight run · posts, rails, pickets, concrete
Fence post and rail calculator
Enter the length of a straight fence run and how far apart the posts go. You get the number of posts, rails, pickets and bags of post concrete to buy. Not field tested: counts are plain geometry, but check them against your plan, your lumber and your local code before you buy.
Shopping list
Type the run length on the tag and the counts are stamped here.
Shopping list
Example drawing: the 100 ft run from the worked example below. Type your run length to draw yours.
AThe run
Every post at its spacing along the run to scale, rails and pickets on it, footings below grade. Height not to scale.
BOne section, from above
Two posts at the section length, the rail between them and pickets at their width and gap, true scale.
COne post hole
The hole in plan and in section, true scale, with the post standing in the concrete.
DThe order, end on
Everything on the shopping list, one end per piece and one bag per bag. Dashed red ends are the waste spares.
Worked example
A straight run 100 feet long with posts 8 feet apart has 13 sections, because 100 divided by 8 is 12.5 and any part of a section still needs a full one. A post stands at both ends of every section, so that is 14 posts. With 2 rails in each section the run needs 26 rails. Pickets 5.5 inches wide with a half inch gap each take 6 inches, and 100 feet is 1200 inches, so 200 pickets. For concrete, a hole 10 inches across and 24 inches deep around a 3.5 inch post holds 0.92 cubic feet of concrete, so 14 posts take 12.89 cubic feet. If your bag label says 0.6 cubic feet per bag (an example, not a built-in figure), that is 22 bags. Switch on the 10% waste option and the same run needs 24 bags, 220 pickets and 29 rails.
How it works
Sections are the run length divided by the post spacing, rounded up. Posts are sections plus one. Rails are sections times rails per section. Pickets are the run length in inches divided by the picket width plus the gap, rounded up. These counts are plain geometry, the same method as the Inch Calculator wood fence calculator and the Omni Calculator fence material calculator.
Concrete is the volume of each round hole, pi times the radius squared times the depth, less the square post standing in it, times the number of posts. That is cubic feet of mixed concrete. To turn it into bags the calculator needs the yield per bag. That figure was not found in any source we opened, so it is yours to type from the bag label, and bags always round up. The waste option adds 10 percent to rails, pickets and concrete, never to posts. The tool covers one straight run. It does not cover corners, gates, slopes, hole depth for frost or wind, or what your local code requires, so check those with your building authority.
Questions
How many fence posts do I need?
Divide the run length by the post spacing, round up, and add one. A 100 foot run with posts 8 feet apart needs 14 posts.
How many pickets per foot?
Twelve inches divided by the picket width plus the gap. With 5.5 inch pickets and a half inch gap that is 2 pickets per foot, so 200 for 100 feet.
How many bags of concrete per fence post?
It depends on your hole size and on the yield printed on your bag. The calculator gives the cubic feet per hole, 0.92 for a 10 by 24 inch hole around a 3.5 inch post, and divides by the yield you type in.
How many rails do I need?
Sections times rails per section. Two rails across 13 sections is 26. Each rail spans one section, so buy rails at least as long as the spacing.
Should I order extra?
Many builders do. Tick the waste box to add 10 percent to rails, pickets and concrete.
What you'll need to build a fence
Once you have your counts, you can shop for them. Mark the line with a string line and dig holes with a post hole digger or a hand auger (a powered auger from Vevor helps on a long run), then brace each post plumb with a post level while the post-setting concrete mix cures. Pressure-treated 4x4 posts and rails are sold at most yards.
Fix the rails and pickets with exterior deck screws and cut to length with a circular saw. Wear safety glasses and work gloves, and call your local utility locator before you dig. Check your local code for height and setback rules.
Affiliate disclosure: Some shop links on this page may be affiliate links. If you buy through one, toolsfor.living may earn a small commission at no extra cost to you. It never changes what we suggest.