Fence Calculator

Posts = sections + 1 + 1 per gate, with sections = length ÷ post spacing, rounded up. A 100 ft fence with posts 8 ft apart and one gate is 13 sections: 15 posts. Enter each straight side as its own run, so every end and corner post is counted.

Units
Run 1

One straight line of fence, end post to end post.

0 for a privacy fence with boards touching.

Usually 2 for a 4 ft fence, 3 for a 6 ft fence.

QUIKRETE: about 3 times the post width.

Below grade, on top of 6 in of gravel. QUIKRETE: half the height above ground.

Fence posts

15 posts

13 sections + 1 end post + 1 gate post

Example values. Enter your measurements above to see your result.

Pickets (incl. 10 % extra)
240
Rails (3 per section)
39
Concrete, all holes
18.99 ft³ (0.7 yd³)
50 lb fast-setting bags (0.375 ft³ each)
51
80 lb concrete mix bags (0.6 ft³ each)
32
60 lb concrete mix bags (0.45 ft³ each)
43
Concrete per hole
1.27 ft³ = 3.38 bags of 50 lb
Dig each hole
10 in wide, 42 in deep
Gravel under the posts
4.09 ft³

Enter each straight side as its own run: where two sides meet, the corner post is counted with both, so you get one spare. Where the ground freezes, ask your building department how deep posts must go.

Checked by the Yardstick Math team · How we check

Setting the posts in concrete? Figure the mix for each hole with the concrete calculator.

Worked examples

A 100 ft privacy fence, 6 ft tall, one gate

  1. 100 ÷ 8 = 12.5, so 13 sections; 13 + 1 end post + 1 gate post = 15 posts
  2. 1,200 in × 1.10 ÷ 5.5 = 240 pickets; 13 sections × 3 rails = 39 rails

Result: 15 posts, 240 pickets, 39 rails.

Checked by the automated test “fence — 100 ft at 8 ft spacing, 1 gate → 13 sections, 15 posts, 39 rails, 240 pickets of 5 1/2 in”.

Concrete for those 15 posts: 4x4 in 10 in holes, 36 in in the ground

  1. Hole 3.1416 × 10² ÷ 4 = 78.54 in², less 3.5 × 3.5 = 12.25 in² of post: 66.29 in²
  2. 66.29 × (36 − 3) = 2,188 in³ = 1.27 ft³ per hole
  3. × 15 = 18.99 ft³; ÷ 0.375 = 50.6, so 51 bags of 50 lb fast-setting (or 32 bags of 80 lb mix)

Result: 51 bags of 50 lb fast-setting concrete.

Checked by the automated test “fence — 15 posts 4x4 in 10 in holes 36 in deep → 18.99 ft³: 51 fast-setting bags of 50 lb, 32 of 80 lb”.

L-shaped privacy fence: 60 ft + 40 ft runs, one gate, 8 ft spacing

  1. Run 1: 60 ÷ 8 = 7.5 → 8 sections + 1 end post = 9 posts; Run 2: 40 ÷ 8 = 5 sections + 1 end post = 6 posts
  2. Plus 1 corner post (shared by both runs) + 1 gate post = 16 posts total
  3. Pickets: 60 ft run → 720 in × 1.10 ÷ 5.5 = 144; 40 ft run → 480 in × 1.10 ÷ 5.5 = 96; total = 240
  4. Rails: (8 + 5) sections × 3 rails = 39 rails

Result: 16 posts, 240 pickets, 39 rails.

Checked by the automated test “fence — L-shaped 60 ft + 40 ft runs, 1 gate, 8 ft spacing → 16 posts, 240 pickets, 39 rails”.

A 150 ft picket fence, 4 ft tall, two gates, 6 ft post spacing

  1. 150 ÷ 6 = 25 sections; 25 + 1 end post + 2 gate posts = 28 posts
  2. 1,800 in × 1.10 ÷ 3.5 = 566 pickets (3.5 in pickets tight); 25 sections × 2 rails = 50 rails
  3. Concrete: 4×4 posts in 8 in holes, 24 in deep = 0.462 ft³ per hole; × 28 = 12.94 ft³ → 35 bags of 50 lb fast-setting

Result: 28 posts, 566 pickets, 50 rails, 35 bags of 50 lb fast-setting concrete.

Checked by the automated test “fence — 150 ft picket fence 4 ft tall, 2 gates, 6 ft spacing → 28 posts, 566 pickets, 50 rails, 35 bags”.

Post depth & concrete for a 6 ft privacy fence: 36 in in the ground, 42 in dug

  1. QUIKRETE: hole depth = ½ × fence height + 6 in gravel = 36 + 6 = 42 in dug; concrete stops 3 in below grade → 36 in concrete
  2. 4×4 post (3.5 in square) in 10 in hole: (π × 5² − 3.5²) × 33 = 2,187.6 in³ = 1.266 ft³ per hole
  3. 15 posts × 1.266 = 18.99 ft³ total → 51 bags 50 lb fast-setting (or 32 bags 80 lb mix)

Result: Each hole: 10 in wide, 42 in dug, 36 in concrete = 1.266 ft³; 15 posts = 18.99 ft³ = 51 bags 50 lb fast-setting.

Checked by the automated test “fence — post depth 6 ft fence: 36 in concrete, 42 in dug, 10 in hole, 4x4 → 1.266 ft³/hole, 15 posts = 51 bags 50 lb”.

Chain link fence: 150 ft straight run, 5 ft tall, one gate, 10 ft post spacing

  1. Terminal posts: 2 ends + 2 gate = 4; Line posts: 150 ÷ 10 = 15 sections → 15 line posts; Total = 19 posts
  2. Fabric: 150 ft ÷ 50 ft rolls = 3 rolls; Top rail: 150 ft; Tension wire: 150 ft
  3. Tension bands: 4 terminal × 4 bands (5 ft) = 16; Tie wire top rail: 150 × 12 ÷ 24 = 75; Tie wire line posts: 15 posts × (60 in ÷ 12 in) = 75
  4. Concrete: terminal 10 in × 36 in deep ≈ 1.8 ft³/hole (8 bags 50 lb each); line 8 in × 30 in ≈ 0.9 ft³/hole (4 bags each)

Result: 19 posts (4 terminal, 15 line), 3 fabric rolls, 150 ft top rail & tension wire, 16 tension bands, 150 tie wires, ~72 bags 50 lb fast-setting concrete.

Checked by the automated test “fence — chain link 150 ft 5 ft tall 1 gate 10 ft spacing → 19 posts, 3 rolls, 150 ft rail/wire, 16 tension bands, 150 tie wires”.

How it works

Sections of a run = run length ÷ post spacing, rounded up

Posts = Σ (sections of each run + 1) + 1 per gate

Pickets = run length (in) × (1 + extra %) ÷ (picket width + gap), rounded up run by run · Rails = sections × rails per section

Concrete per hole (ft³) = (π × hole diameter² ÷ 4 − post cross-section, in²) × (depth in the ground − 3 in) ÷ 1,728

Assumptions

  • Counts follow Lowe's fence worksheet: one post per section plus one to end each run, one more per gate, pickets plus 10 %, 2 rails per section for a 4 ft fence and 3 for a 6 ft fence.
  • Holes follow QUIKRETE: about 3 times the post width, posts set half as deep as the fence is tall (1/3 of the post length), on 6 in of gravel, concrete stopped 3 in below grade (QUIKRETE says 3 to 4 in).
  • Bag yields: 0.375 ft³ per 50 lb bag of QUIKRETE Fast-Setting Concrete, 0.6 ft³ per 80 lb and 0.45 ft³ per 60 lb of concrete mix. A 4x4 post is 3 1/2 in square, a 6x6 5 1/2 in.

Reference table

Posts, pickets and concrete bags by fence length (posts 8 ft apart, one run, no gate)
Fence lengthPostsPickets, 5 1/2 in + 10 %50 lb fast-setting bags
50 ft812028
100 ft1424048
150 ft2036068
200 ft2648088

4x4 posts in 10 in holes, 36 in in the ground, as in the example. Add one post and its concrete per gate.

For 100 ft of 4 ft chain link: 2 terminal posts + 9 line posts (10 ft spacing) + 100 ft top rail + 100 ft tension wire + 2 rolls of 50 ft fabric + 6 tension bands per terminal post + 24 tie wires on top rail + 108 tie wires on line posts. The Home Depot installation guide specifies line posts no more than 10 ft apart, fabric sold by linear foot in 4/5/6 ft heights (common 50 ft rolls), top rail and tension wire equal to total fence length, and tension bands per terminal post: 3 (4 ft), 4 (5 ft), 5 (6 ft) — doubled for corners.

Height Fabric roll length Line post spacing Tension bands / terminal post Tie wire top rail Tie wire / line post
4 ft 50 ft (typical) ≤ 10 ft 3 (end/gate), 6 (corner) every 24 in every 12 in
5 ft 50 ft ≤ 10 ft 4 (end/gate), 8 (corner) every 24 in every 12 in
6 ft 50 ft ≤ 10 ft 5 (end/gate), 10 (corner) every 24 in every 12 in

Example: 150 ft straight run, 5 ft chain link, one gate. Terminal posts: 2 ends + 2 gate = 4. Line posts: 150 ÷ 10 = 15 sections → 15 line posts. Fabric: 150 ft ÷ 50 ft = 3 rolls. Top rail: 150 ft. Tension wire: 150 ft. Tension bands: 4 terminal × 4 bands = 16. Tie wire top rail: 150 × 12 ÷ 24 = 75 ties. Tie wire line posts: 15 posts × (60 in ÷ 12 in) = 75 ties. Concrete per hole (terminal: 10 in × 36 in deep, line: 8 in × 30 in) ≈ 1.8 ft³ and 0.9 ft³ → ~8 bags 50 lb fast-setting per terminal, ~4 per line post.

Before you dig

Common mistakes

Frequently asked questions

How many pickets do I need for a fence?

Multiply the fence length in feet by 12, divide by the picket width plus the gap, and add 10 %. For 100 ft of 5 1/2 in pickets set tight: 1,200 ÷ 5.5 = 218.2, so 240 with the extra.

How many fence pickets do I need for 100 feet?

240 pickets 5 1/2 in wide set tight, 10 % extra included. With a 2 in gap between them, 176.

How many fence posts do I need?

Divide the length of each run by the post spacing and round up, then add one post per run and one per gate. At 8 ft spacing, 150 ft of fence in one run with no gate takes 20 posts.

How much concrete do I need for fence posts?

QUIKRETE's own figure is two 50 lb bags of Fast-Setting Concrete for a 4 in post in a 10 in hole 2 ft deep (a 4x4 takes 2.15). Set 36 in deep for a 6 ft fence, a 4x4 takes 3.38 bags.

Sources

Formula, examples and sources checked on by the Yardstick Math team. How we check our formulas.

  1. Fence Calculator Info Sheet – Pickets (posts, rails and pickets per section) — Lowe's, accessed
  2. Project: Setting Posts (hole 3 times the post, 1/3 of the post length, 6 in of gravel) — QUIKRETE, accessed
  3. Fast-Setting Concrete #1004-50, specification data (0.375 ft³ per 50 lb bag; two bags per 4 in post) — QUIKRETE, accessed
  4. Concrete Mix #1101, data sheet (0.6 ft³ per 80 lb bag, 0.45 ft³ per 60 lb) — QUIKRETE, accessed