Fence calculator

Pickets, posts, rails and post concrete for a wood privacy or picket fence.

Posts, holes and gates

Add a price per foot of fence (optional)

Use your supplier's quote. We don't store prices, so the total is always yours.

Tip: feet in the first box, inches in the second (leave it empty for whole feet). Working in meters? Switch to m / cm at the top.

3 of 13 sections6 ft tall
Estimated quantity
230pickets, 6 ft tall

Plus 14 posts and 39 rails for 13 sections.

  • Posts (4×4, 8 ft)14
  • Rails (2×4, one per section per row)39
  • Concrete (80 lb bags)28 (2 per hole)
  • Gravel under posts (0.5 ft³ bags)8
  • Each hole10 in wide, 30 in deep

Material estimate. Hole size and depth depend on post size, soil, wind and frost depth, so use what your local code or fence supplier recommends. Corners and ends of separate runs each need their own post: add them if your fence is more than one straight run.

Related calculators

A wood fence is pickets on rails between posts set in concrete. This calculator counts all four from the fence length, height and post spacing, uses your own hole size and depth for the concrete, and leaves room for gates. Hole size and depth depend on soil, wind and frost, so take them from your local code or supplier.

Worked example: 100 ft of 6 ft privacy fence

  1. Posts every 8 ft: 100 ÷ 8 = 12.5, so 13 sections and 14 posts.
  2. 5.5 in pickets with no gap: 1,200 in ÷ 5.5 = 218.2, so 219 pickets, plus 5% for bad boards = 230 pickets.
  3. Three rails per section: 13 × 3 = 39 rails.
  4. Each 10 in hole is 30 in deep with 6 in of gravel, so 24 in of concrete around a 4×4: about 0.92 ft³, or 2 bags of 80 lb mix per post, 28 bags in all.
  5. Posts sit 24 in in concrete and stand 6 ft above ground, so 8 ft posts work.
Infographic: a 6 ft fence post set 2 to 3 ft deep in concrete with 6 in of gravel below, in a hole about three times the post width.
How deep to set fence posts for a 6 ft privacy fence. Free to save and share.

How to measure

  • Walk the line with a tape or wheel and note corners and gate openings.
  • Each straight run starts and ends on a post. For several runs, add one post per extra corner or end.
  • Gates: enter how many and their width. We take the gate width off the picket count and add a post for each gate.
  • Find your property line and call 811 (in the US) before you dig.

Common fence setups

FenceHeightPost spacingRails
Privacy6 ft8 ft3
Picket3 to 4 ft8 ft2
Tall privacy8 ft6 to 8 ft3 to 4

Common mistakes

  • Holes too shallow for your frost depth, which lets posts heave.
  • Forgetting gate hardware: hinges, latch and a drop rod are separate.
  • Counting gaps wrong on spaced picket fences. Enter the gap and we add it to every picket.

Questions people ask

How many pickets for 100 ft of fence?

With 5.5 in pickets and no gap, 219, or about 230 with 5% extra.

How many bags of concrete per fence post?

It depends on the hole. A 10 in hole with 24 in of concrete around a 4×4 takes about 2 × 80 lb bags.

How deep should fence posts be?

A common rule is a third to half of the height above ground, below the frost line in cold areas. Local code and soil decide.

Does a corner need an extra post?

Yes, if the corner doesn't fall on a post. Each separate run needs its own end posts.

How much does a fence cost?

Enter a price per foot under Add a price per foot of fence: your supplier's materials price, or an installed price from a quote, to see the total.

Embed this calculator on your site

Free for any website or blog. Paste this code where you want the calculator. It resizes itself, works on phones, and has no ads or tracking.

Sources and limits

Last checked 25 November 2026. References: QUIKRETE: setting posts, QUIKRETE Concrete Mix 1101 data sheet. Results are estimates: product labels, your supplier and your local code come first. How we calculate · Report a mistake