Calculator

Fence calculator

Posts, rails, pickets and concrete for your fence line, priced today.

What to buy

Divide each run of fence by the post spacing, round up and add one for the posts; pickets are the length ÷ (picket width + gap), plus 5% for splits. A 100 ft straight privacy fence 6 ft high with posts 8 ft apart takes 13 sections, 14 posts of 8 ft, 39 rails and 230 pickets 5 ½ in wide. Setting those 14 posts 24 in deep in 10 in holes takes 38 bags of 50 lb fast-setting concrete.

Updated · Concrete per post from Quikrete's chart · Store prices checked weekly

How many posts, rails and pickets for a fence?

One straight run, posts 8 ft apart in 10 in holes with 4 in of gravel, set in 50 lb bags of fast-setting concrete. The 6 ft privacy fence has 3 rails a section and pickets side by side; the 4 ft picket fence has 3 ½ in pickets 2 ½ in apart (2 rails, same posts).

Fence materials by length, 8 ft sections
Fence lengthPostsRails (8 ft 2x4)6 ft privacy picketsConcrete bags4 ft picket fence pickets
25 ft512581453
50 ft82111522105
75 ft113017230158
100 ft143923038210
125 ft174828746263
150 ft205734455315
200 ft267545971420
250 ft339657390525
300 ft39114688106630

How much for a three-sided fence with a gate?

Sides of 50, 40 and 50 ft that meet at the corners, 6 ft high, one 4 ft gate.

  1. Sections: 50 ÷ 8 = 6.25, so 7; 40 ÷ 8 = 5; 50 ÷ 8, 7 again: 19 sections.
  2. Posts: 8 + 6 + 8 = 22, less 2 shared at the corners = 20, plus 1 for the gate = 21 posts of 8 ft, set 24 in deep.
  3. Rails: 20 sections (the gate opening counts) × 3 rails = 60 treated 2x4s of 8 ft.
  4. Pickets: 140 ft × 12 ÷ 5 ½ in = 305.5, plus 5% = 321 pickets.
  5. Concrete: 21 posts × about 2.7 bags = 57 bags of 50 lb fast-setting mix.

How we work it out

  1. Posts: each side's length ÷ the post spacing, rounded up, plus one; sides that meet share a corner post, and each gate adds one.
  2. Post length: the fence height plus a third of it in the ground, 2 ft at the least. A 6 ft fence takes 8 ft posts.
  3. Rails: 2 a section up to 4 ft high, 3 above that, treated 2x4s from post to post.
  4. Pickets: the length ÷ (the picket's width + the gap), plus 5% for splits. Shadowbox puts pickets on both sides, overlapping 1 in.
  5. Concrete: a 10 in hole (about 3 × the post) with 4 in of gravel at the bottom, filled with fast-setting mix around the post: about 2 ½ bags a post.
posts    = length ÷ spacing + 1
post     = height + max(2 ft, height ÷ 3)
pickets  = length ÷ (picket + gap) × 1.05
screws   = pickets × rails × 2

The numbers we use

6 ft picket
5/8 × 5 ½ in, dog-ear
4 ft picket
3 ½ in French gothic (cedar 3 ¼ in, 42 in)
Gap
none (privacy), 2 ½ in (picket)
Post hole
10 in across, 4 in of gravel
Rails
2 (4 ft fence), 3 (6 ft)
Gate
2 tee hinges and a latch

Set posts below the frost line where the ground freezes. Use galvanized or stainless screws with treated lumber. Store prices are checked weekly; an installer's price comes from national cost guides and varies by area.

Questions people ask

How many fence posts do I need?

Divide each side's length by the post spacing, round up and add one. 100 ft at 8 ft spacing is 13 sections and 14 posts. Sides that meet share their corner post, and each gate adds a post.

How deep should fence posts be?

About a third of the post's height above ground, and at least 2 ft: 2 ft for a 6 ft fence, so you buy 8 ft posts. In cold areas, go below the frost line.

How many pickets for a 100 ft privacy fence?

With 5 ½ in pickets side by side, about 219 pickets, or 230 with 5% extra for splits and bad ones.

How many bags of concrete per fence post?

A 4x4 set 2 ft deep in a 10 in hole takes about 2 ½ bags of 50 lb fast-setting concrete (Quikrete's chart: 2 bags for a 24 in hole, 3 for 30 in). Put 4 in of gravel in the bottom first.

How far apart should fence posts be?

8 ft at most for a wood fence, which also matches 8 ft rails. 6 ft makes a stiffer fence in windy spots.

More calculators