Material Calculators

Home › Fence Calculator

Fence Calculator

Enter the length of your fence line and how far apart the posts go. You'll get the posts, pickets, rails and bags of concrete for the post holes.

Estimate only: check quantities with your supplier before you buy.

How it works

Sections = fence length ÷ post spacing, rounded up. Posts = sections + 1 for a straight run, plus any extra posts you add for corners, ends and gates.

Pickets = fence length × 12 ÷ (picket width + gap), rounded up. Leave the gap at 0 for a solid privacy fence.

Rails = sections × rails per section.

Concrete: QUIKRETE's instructions for setting posts call for a hole three times as wide as the post, deep enough for one third to one half of the above-ground length of the post, plus 6 inches of gravel at the bottom. The calculator uses the one-third depth, fills the hole with concrete around a square post, and converts that into bags.

Worked example

100 ft of 6 ft privacy fence, posts every 8 ft, 4×4 posts, 5½ in pickets, 2 rails:

  1. Sections: 100 ÷ 8 = 12.5, so 13 sections and 14 posts
  2. Pickets: 1,200 ÷ 5.5 = 218.2, so 219 pickets
  3. Rails: 13 × 2 = 26
  4. Each hole: 10½ in wide (3 × 3½ in), 24 in of post in concrete + 6 in of gravel = 30 in deep
  5. Concrete per post: (π × 5.25² − 3.5²) × 24 ÷ 1,728 = 1.03 cu ft
  6. 14 posts with 10% extra: 15.9 cu ft ÷ 0.60 = 26.5, so 27 bags of 80 lb concrete mix

Before you dig

Call 811 a few days before digging so utility lines can be marked; it's free. Check your property line, HOA rules and local code for fence height, setbacks and post depth: frost depth and wind can call for deeper holes than this rule of thumb. Gate posts usually need to be bigger and set deeper.

A "4×4" post actually measures 3½ × 3½ inches and a nominal 6 inch board is 5½ inches wide, per the American Softwood Lumber Standard. Enter real sizes if yours differ.

Assumptions and sources

Every number the calculator assumes is listed here, with where it comes from. Where a value varies from product to product, you can change it in the calculator.

AssumptionValue usedSource and notes
Post hole3 × the post width across; depth = ⅓ of the above-ground height + 6 in gravelQUIKRETE: Setting posts in concrete. QUIKRETE gives ⅓ to ½ of the above-ground length; we use ⅓. Local code or frost depth can require more.
Bag yields80 lb: 0.60 · 60 lb: 0.45 · 50 lb: 0.375 · 40 lb: 0.30 cu ftQUIKRETE Concrete Mix (No. 1101) data sheet. QUIKRETE Concrete Mix. Fast-setting mixes can differ: check the bag.
Actual lumber sizes4×4 = 3½ in · 6×6 = 5½ in · 6 in board = 5½ inNIST PS 20-25, American Softwood Lumber Standard (Table 3). Minimum dressed dry sizes.
Post spacing8 ftNo published source. A common spacing for wood fences, not a rule: use the spacing your panels or plans call for.

Frequently asked questions

How many fence posts do I need?

Divide the fence length by the post spacing, round up to get the number of sections, then add one post. Add an extra post for each corner, end and gate. 100 ft at 8 ft spacing needs 14 posts.

How deep should fence posts be?

QUIKRETE suggests one third to one half of the post's above-ground height, plus 6 inches for gravel. Local frost depth and code can require more, so check with your building department.

How many bags of concrete per fence post?

For a 4×4 post on a 6 ft fence, with QUIKRETE's 3× wide hole and 2 ft of post in concrete, about 1 cubic foot: two 80 lb bags per post. Bigger posts and deeper holes take more.

How far apart should fence posts be?

Many wood fences use 6 to 8 ft between posts, but the right spacing depends on the panels or materials you use and on wind exposure. Follow the product's instructions.

Related calculators