🍱 Lunchbox Hands

Fence Material Calculator

Posts, rails, pickets, and concrete for a wood fence

Include gate openings. 150, 150' 6", or 45m

3 rails per section by default

Blank = 2 up to 4 ft, 3 up to 6 ft, 4 taller

Style

Check local pool-barrier rules: often max 4″

Walk gate 3–4 ft, drive gate 10–12 ft

Each extra run needs one more end post

Bags from hole size (4×4 post, 50 lb bags)

About 3× the post width

⅓–½ of the height above ground, below frost line

Fill volume ≈ 0.92 ft³ per hole = 2.46 bags at 0.375 ft³ per 50 lb bag.

Prices (optional, for a cost estimate)
15 posts · 221 pickets
13 sections over 96 ft of fence, plus 1 gate
15
Posts
incl. 1 gate post
39
Rails
3 per section, 8 ft long
221
Pickets
210 + waste
30
Concrete bags (50 lb)
~1416
Screws / nails
2 per picket per rail
—
Cost (add prices)

Estimates only — verify quantities with your supplier and check local building codes.

How it counts: sections = (length − gates) ÷ post spacing, rounded up, plus one partial section for each extra piece a gate or separate run creates; posts = sections + 1 per run + 1 per gate; pickets = fenced inches ÷ (picket + gap). Gate frames, hinges, latches, and post caps are not included. Call 811 before you dig, and check your HOA and local height and setback rules.

Turn a fence line into a shopping list: posts (including gate posts), rails sized to the fence height, pickets or privacy boards for your width and gap, 50-pound concrete bags per post, and fasteners — with an optional cost estimate. Gates are subtracted from the fenced length, and a hole-size helper works out how much concrete each post really takes.

Setting posts in a lot of concrete? The concrete calculator handles bulk orders, and the gravel calculator covers drainage gravel under each post. Building a deck beside the fence? Try the deck calculator. How many bags make a yard, and when ready-mix beats bags, is covered in cubic yards, tons, and density.

Frequently asked questions

How many fence posts do I need?

Subtract gate openings from the total length, divide by the post spacing, and round up to get the number of sections. A gate splits the fence into two pieces that each usually end in a short section, so the calculator allows one extra section per gate and per separate run. You need one more post than sections for each piece of fence. A 100-foot fence with posts every 8 feet and one 4-foot gate works out to 13 sections and 15 posts (for example 50 ft + 46 ft either side of the gate = 7 + 6 sections). Corners land on posts already counted. Gate posts are often upgraded to 6×6 or set deeper.

How many pickets do I need for a fence?

Divide the fenced length in inches by the picket width plus the gap. For a privacy fence of 5½" boards butted tight, 100 feet takes 1,200 ÷ 5.5 = 219 boards. A picket fence of 3½" pickets with 2½" gaps takes 1,200 ÷ 6 = 200. Board-on-board (shadowbox) styles overlap alternating boards, so they need roughly one and a half to two times as many. Add about 5% for splits and bad boards. Wood shrinks as it dries, so boards installed tight can open small gaps within a season; spaced styles leave room for that movement. If you are matching an existing fence, measure a few boards, since actual widths vary by mill.

How many rails does a fence need?

Most wood fences use two horizontal rails (stringers) per section up to 4 feet tall, three for a 6-foot fence, and four for 8 feet, so the boards stay flat and resist warping. Rails usually span one post spacing, which is why 8-foot spacing pairs well with 8-foot 2×4s. You can override the count per section if your design uses a cap rail or a kick board. Rails are usually 2×4s set on edge or flat, fastened into or onto each post.

How much concrete do I need per fence post?

A common rule is two 50-pound bags per post for a 4×4 in a 10–12" wide hole. Quikrete recommends a hole about three times the post width and a third to half of the post's above-ground height deep — and always below your local frost line. The hole-size helper computes the fill volume (hole minus post) and divides by the 0.375 cubic-foot yield of a 50-pound bag, then you can apply that figure to every post. Many builders put a few inches of gravel in the bottom of each hole for drainage.

Should fence posts be 6 or 8 feet apart?

Eight feet is the most common spacing for wood privacy fences because rails come in 8-foot lengths. Six feet is stiffer and better for windy sites, heavy board-on-board fences, taller fences, and vinyl or picket panels sold in 6-foot widths. Shorter spacing means more posts and concrete but less sag. Check your local code and HOA rules for height limits, setbacks from the property line, and pool-barrier requirements. Whatever the spacing, call 811 a few days before digging so buried utility lines are marked, and set the corner and end posts first, then string a line between them to place the rest.

Get weekly dev tools and tips