roofy
Home projects

How much fencing do I need?

Count posts, gate posts, pickets or panels, rails and bags of post concrete for any fence layout, with cost at your prices.

Updated October 12, 2026 · fact-checked against official sources

Fence runs (sides)
Post holes and concrete
Your prices (replace these examples with local quotes)
Posts you need
28 posts

471 pickets and 78 rails for 196 ft of fence, plus 1 gate and 73 bags of concrete.

Total length / gate openings200 ft / 4 ft
Sections at 8.0 ft26
Line, end and corner posts26
Gate posts (hinge + latch)2
Post length to buy (at least)9.0 ft
Pickets before extra428
Concrete per hole1.42 ft³
Concrete total (before extra)39.8 ft³ · 1.47 yd³
Weight of concrete bags5,840 lb
Material cost at your prices
$3,807
ItemQtyEachCost
Posts28$20$560
Pickets (incl. 10% extra)471$4$1,884
Rails78$9$702
Gates1$150$150
Concrete bags73$7$511
Total$3,807

Not included: fasteners, hinges and latches, gravel, post caps, stain, tools, permits and labor.

Contact 811 a few business days before you dig post holes. It is free, and utilities will mark buried lines. Local codes, frost depth, HOA rules and property lines can change post depth, height limits and where the fence may go.

How the calculator counts materials

A wood fence is a row of sections. Each section spans from one post to the next and carries the rails and pickets (or a pre-built panel). Once you know the number of sections, the rest follows.

  1. Sections. For each side, take its length (minus any gate openings), divide by the post spacing and round up. Partial sections still need a full set of posts and rails.
  2. Posts. A straight run needs one more post than it has sections. Where two sides meet at a corner they share one post, and a closed loop shares every corner. Each gate splits a run, so it adds one post, and the two posts on either side of the opening become gate posts.
  3. Pickets. Fence length in inches divided by the actual picket width, plus the gap for a spaced fence.
  4. Rails. Sections times rails per section. Taller privacy fences often use three.
  5. Concrete. For each hole, the cylinder volume (π × radius² × fill depth) minus the space the post takes up. Divide the total by the bag yield on the label and round up.

Worked example

A backyard fence runs 50 feet, 100 feet and 50 feet, meeting at two corners, with the house closing the fourth side. It is 6 feet tall, with one 4-foot gate, posts 8 feet apart and 5½-inch privacy pickets on three rails.

  • Fence length: 200 feet minus the 4-foot gate = 196 feet
  • Sections: 7 + 12 + 7 = 26 (the 96 feet left on the long side divide into 12)
  • Posts: 26 sections + 3 runs − 2 shared corners + 1 for the gate = 28 posts, two of them gate posts
  • Pickets: 196 × 12 ÷ 5.5 = 428, or 471 with 10% extra
  • Rails: 26 × 3 = 78
  • Concrete: a 10½-inch hole for a 3½-inch post, filled 33 inches deep (36-inch hole, 3 inches left at the top), holds about 1.42 cubic feet. 28 holes need 39.8 cubic feet, or 73 bags of 80-lb mix with 10% extra.

That is nearly 1.5 cubic yards and close to three tons of bags, which is why bigger fence jobs sometimes order ready-mix or rent a mixer. The concrete calculator compares both.

QUIKRETE bag yields used by the calculator
ProductBagYield per bagBags per cubic foot
Concrete Mix40 lb≈0.30 ft³3.3
Concrete Mix60 lb≈0.45 ft³2.2
Concrete Mix80 lb≈0.60 ft³1.7
Fast Setting Concrete Mix60 lb≈0.45 ft³2.2
Source: QUIKRETE product data sheets 1101 and 1004-60

Post holes: the starting rule and the real rule

Quikrete's fast-setting concrete instructions give a simple starting point: make the hole three times as wide as the post and half as deep as the post's height above ground, then fill with dry mix to about 3 to 4 inches from the top before adding water. For a 6-foot fence that means a 36-inch hole and posts at least 9 feet long.

Your local building code, frost depth, soil and wind exposure can require something different, and some towns limit fence height or require a permit. A homeowner association may also control style and color. Check before you buy posts, because post length depends on hole depth.

Edge cases

  • Panels: set post spacing to match how your panels attach (center to center, usually the panel width plus the post width for panels that mount between posts), or they will not line up.
  • Gate position: the calculator takes gate openings out of the longest side and counts that side as one run. Depending on where the gate sits, the two pieces on either side of it can need one more section than the total suggests.
  • Slopes: stepped or racked fences on a slope use the horizontal length for posts but may need extra pickets and longer posts on the low side.
  • Property line: confirm where it is from your survey or deed before you set posts. The ACRIS guide shows how to find NYC deed records.

What to do next

Price the list at two suppliers, then add hardware, gravel and stain. If the fence borders a new deck, the deck calculator counts boards, joists and footings, and the home maintenance budget calculator helps plan for upkeep.

Common questions

How many fence posts do I need?

For one straight run, divide the length by the post spacing, round up to get sections, and add one. Corners shared by two runs count once, and each gate adds a post because it splits a run. A 100-foot run at 8-foot spacing is 13 sections and 14 posts.

How many pickets do I need for a privacy fence?

Multiply the fence length in feet by 12 to get inches, then divide by the actual picket width (plus the gap, for a spaced fence). For 196 feet of privacy fence with 5½-inch pickets, that is 2,352 ÷ 5.5 = 428 pickets before extra.

How deep and wide should fence post holes be?

Quikrete’s fast-setting concrete instructions say the hole should be three times the post width and half as deep as the post’s above-ground height. Local codes and frost depth can require deeper holes, so check with your building department.

How many bags of concrete per fence post?

It depends on the hole. A 10½-inch hole for a 4×4 post, filled 33 inches deep, holds about 1.4 cubic feet of concrete once you subtract the 3½-inch post. At about 0.60 cubic feet per 80-lb bag, that is about 2.4 bags per post.

Do I need to call 811 before installing a fence?

Yes. 811 is the free national before-you-dig service, and its guidance specifically includes installing fences. Contact it a few business days before you dig so utilities can mark buried lines.

Fact-checked October 12, 2026

Bag yields (40/60/80 lb Concrete Mix 0.30/0.45/0.60 ft³; 60 lb Fast Setting 0.45 ft³) and the post-hole guidance (diameter 3× post, depth ½ above-ground height, fill to 3-4 in from top) verified on QUIKRETE data sheets. 811 guidance (free, a few business days ahead, includes fences) verified on 811beforeyoudig.com. Worked example re-computed by hand (50+100+50 ft, 1 four-foot gate, 8 ft spacing: 26 sections, 28 posts, 428/471 pickets, 78 rails, 1.42 ft3 per hole, 73 bags of 80 lb) and edge cases checked (zero spacing, zero sides, gates wider than the fence, hole not wider than post). Corrected the per-post bag FAQ to about 2.4 bags. Added a note that gate position can add a section. Post spacing, picket sizes, gate widths and prices are user inputs. Local codes, frost depth and HOA rules are not modeled.

Sources

  1. QUIKRETE Concrete Mix (No. 1101) data sheet: bag yields · QUIKRETE (accessed October 12, 2026)
  2. QUIKRETE Fast Setting Concrete Mix (No. 1004-60) data sheet: yield and post-setting instructions · QUIKRETE (accessed October 12, 2026)
  3. 811 Before You Dig: How does 811 work? · Common Ground Alliance (accessed October 12, 2026)

General information, not legal, tax or financial advice. Rules change; confirm with the agency or a professional before you act.