Frequently Asked Questions
Why are there more posts than bays?
Each bay needs a post at both ends, and neighbouring bays share the post between them. So a straight run always needs one more post than it has bays. On the default, 15 bays need 16 posts. If the fence closes into a loop, such as a fully enclosed yard, the first and last posts are the same one and you need one fewer.
Does the picket total already include spares?
Yes. The calculator adds 5% to the raw count before rounding up, which on the default 120 foot fence adds about a dozen boards. That allowance is meant to cover splits, warped boards and cutting mistakes. You do not need to add your own waste allowance on top unless your timber quality is poor or you expect a lot of cutting.
Why didn't the picket count change when I moved the posts closer?
Pickets are counted along the full length of the fence, using only the picket width and gap. Changing the post spacing changes the number of bays, posts, rails and concrete bags, but the fence is still the same length. The same 120 feet of fence needs 263 pickets whether the posts are 6 or 8 feet apart.
How do I count a fence with a corner?
Run each straight side separately and add the results, then subtract one post for each corner, because the corner post is counted at the end of one side and the start of the next. Corner posts often take more load, so many builders use a heavier post or extra bracing there, and may set it deeper.
Can I use this for a horizontal slat fence?
Not directly. The picket formula assumes vertical boards spread along the length. For horizontal slats you would count boards up the height of each bay instead. The post and concrete lines are still useful, because they depend only on the length and spacing, but ignore the picket and rail totals.
Is two bags of concrete per post enough?
It is a flat allowance, not a measurement of your holes. A wider or deeper hole takes more, and a narrow, shallow one takes less. Before ordering, work out the volume of one hole minus the post, compare it to what one bag yields from the bag label, and adjust. Buying a few extras is cheaper than a second trip.
What gap should I use for a privacy fence?
A gap of zero gives the most privacy, though boards can shrink as they dry and open small gaps over time. Some builders leave a small gap deliberately to allow for wet boards swelling. On the default length, a zero gap takes 12 more pickets than the quarter inch default, so the choice changes the order noticeably.
How long should each rail be?
The calculator assumes one rail per bay, so each rail spans the post spacing. With 8 foot spacing that means 8 foot rails, fixed to the posts at each end. If you run rails across two bays to stagger the joints, buy longer rails and roughly halve the count, and make sure the joints land on a post.
Does the calculator handle gates?
No. It assumes an unbroken straight run. For a gate, leave its opening out of the fence length or treat the sections on either side as separate runs. Then add two gate posts, the gate frame, hinges and latch yourself. Gate posts usually carry more load than line posts, so they often need extra depth or concrete.
What if my fence length is not a multiple of the post spacing?
The calculator rounds the bays up, so you will get a short final bay. That adds a full post, a full set of rails and two more concrete bags even if the last bay is only a foot wide. To even things out, divide your length by the bay count shown and use that slightly smaller spacing instead.
Can I use the result for a fence on a slope?
Partly. Measure the length along the ground, not the straight line distance, because that is what the rails and pickets have to cover. On a gentle slope the posts and rails follow the ground and the counts hold. On a steep slope, stepped bays or cut pickets may change how many boards you need, so add a few spares beyond the built in 5%.
Why does the page say 80 lb bags?
The concrete line assumes a common bag size and allows two per post, so the default 16 posts become 32 bags. If you buy a smaller bag size, scale the count up to deliver the same weight of mix. If you use a different setting method, such as gravel or a fast setting post mix, follow the product label instead of this figure.
A 120 foot run, broken into bays
Start with the default and the rest of the page makes sense. It describes a straight wooden fence 120 feet long, with posts every 8 feet, three horizontal rails between each pair of posts, and pickets 5.5 inches wide set a quarter inch apart. The headline answer is 263 pickets. Underneath it the calculator lists 16 posts, 45 rails and 32 bags of concrete.
Everything flows from the number of bays. A bay is the stretch of fence between two posts. The calculator divides the length by the post spacing and rounds up, so 120 feet at 8 feet gives exactly 15 bays. A fence of 15 bays needs one more post than it has bays, because the first bay needs a post at both ends and every bay after that adds one more. That is where 16 posts comes from.
Rails are counted per bay. Three rails in each of 15 bays is 45 rails, and the calculator assumes each rail spans one bay, so every rail is a piece of timber about as long as your post spacing.
Concrete is the simplest line. The page allows two 80 lb bags for every post, giving 32 bags on the default.
Why one extra foot can add a whole bay
Because the bay count rounds up, the post and rail totals jump in steps. The default divides cleanly: 120 feet is 15 bays of 8 feet. Add a single foot and the calculator needs a sixteenth bay to cover it. That brings the post count to 17, the rails to 48 and the concrete to 34 bags, all for one extra foot of fence.
In practice that last bay will be short, only a foot wide in this example. The calculator does not shorten it for you or spread the spacing evenly. It simply makes sure there is a post at each end of every stretch.
If your total length does not divide neatly, you have two choices. You can accept a short bay at one end, which is common next to a house wall or a gate. Or you can reduce the spacing a little so the bays come out equal, which looks tidier along a long boundary. To find an even spacing, divide your length by the number of bays the calculator gave you and use that figure instead of 8.
The two scenarios in the summary show the rule working cleanly. A 72 foot fence is 9 bays with 10 posts and 27 rails. A 180 foot fence is 23 bays with 24 posts and 69 rails, because 180 divided by 8 is 22.5 and the half bay rounds up.
How the picket count is built
Pickets are counted along the whole length, not bay by bay. The calculator adds the picket width to the gap to get the space each picket takes up, which is 5.75 inches on the default. It then works out how many of those fit along the fence in inches and adds 5% for waste before rounding up. The 5% covers boards that split, warp or arrive with a bad end, and on the default it adds about a dozen pickets.
That single figure is what the headline 263 pickets means: enough boards to run the full 120 feet with a quarter inch gap, plus spares.
Notice that the picket count does not change with post spacing. Move the posts to 6 feet apart and the page asks for 21 posts, 60 rails and 42 bags of concrete, but the picket total stays at 263 boards. The pickets cover the length of the fence, and the length has not changed.
The count also ignores the width of the posts themselves. On a fence where pickets are nailed to the face of the rails and pass in front of the posts, that is correct. If your pickets fit between the posts instead, the posts take up some of the length and you will use a few fewer boards.
Picket width and gap change the count fast
The gap matters more than its size suggests, because it repeats for every board. Close the gap to zero for a full privacy fence and the default length needs 12 more pickets than the default 263 shown above. Open it to 2 inches for a more traditional picket look and the count drops by about 60.
Narrower boards push the count the other way. Switching from 5.5 inch boards to 3.5 inch ones with the same quarter inch gap raises the total by roughly half again. The boards are cheaper each, but you buy and fix a lot more of them.
Measure an actual board before you rely on the result. Lumber sold by a nominal size is usually narrower than that size once it has been dried and planed, and the actual width is the number the formula needs. A board you think of as 6 inches wide may well be the 5.5 inches the default already assumes.
If you are building a board on board fence, where pickets alternate on each side of the rails and overlap, this calculator does not model the overlap. Count one side as a normal fence with a gap a little narrower than a board, then double it, and check the result against a sketch of one bay.
Rails per bay and the height of the fence
The rails field controls only the rail count. Two rails per bay on the default length gives 30 rails; three gives 45; four would give 60. Nothing else moves.
Choosing the number is a judgement about height and stiffness. Short picket fences are often built with two rails, top and bottom. Taller privacy fences commonly use three so that the long boards are held in the middle and are less likely to cup or bow. The calculator does not ask for fence height, so it cannot suggest a number for you.
Rails are counted as one piece per bay. If you buy longer timber and run each rail across two bays, you will need roughly half as many pieces, though each one will be longer and heavier to handle. Divide the rail count accordingly when you write your shopping list.
What the post and concrete lines leave out
The 16 posts on the default are for a single straight run with nothing in it. Real fences turn corners and have gates. A corner is still one post, but it often needs to be heavier or braced, and a gate usually needs two posts of its own set closer together than the normal spacing. Work out each straight run separately, add the gate posts, and check that you are not counting a shared corner post twice.
Post length is not on the page at all. Buy posts long enough for the finished fence height plus the depth you will set them in the ground. Soil and climate affect how deep that should be, so ask a local supplier or an experienced fencer before you buy.
The concrete figure of two 80 lb bags per post is a flat allowance. How much you really use depends on the hole diameter and depth, and on whether you set posts in concrete at all. Some builders use compacted gravel instead. If your holes are wider or deeper than average, buy a few extra bags; unopened ones can usually be returned.
Common mistakes when entering a fence
The fence length should be the run you are actually building, measured along the line where the posts will go. People sometimes enter the perimeter of the whole yard, including the side covered by the house or an existing wall, and end up buying far too much.
Post spacing has a minimum of 4 feet in this calculator. If you type a smaller spacing, it quietly uses 4 feet instead. That is rarely an issue for a normal fence, but it matters if you are trying to count posts for a closely spaced decorative run.
Enter the gap and width in inches, and the length and spacing in feet. Mixing them up, for example typing a 96 inch spacing into a box that expects feet, produces a single very long bay and a post count that makes no sense.
Finally, remember that the waste allowance is already inside the picket total. Adding another 10% on top by habit will leave you with a stack of spare boards.
Turning the result into an order
A useful way to work is to run the calculator once per straight section. Write down the posts, rails and pickets for each, then add the gate hardware and gate posts separately. Combine the lists and check the corners.
Then compare the pickets, rails and posts against the lengths your supplier sells. Rails are often bought in a length equal to the post spacing or twice it. Pickets come in fixed heights, so check that the height you want is a stock size. Ask for a few spare posts if your site has rocks or roots that may force you to move a hole.
Used that way, the page gives you a fast first count of the main materials for any length from a short garden run to the 180 foot example. The fixings, the gate, the post length and the ground conditions are still yours to plan.