Skip to content
Measured Yard

Fence Calculator

Enter the fence length and height and choose boards or panels. You get posts, rails, boards, concrete for every hole and the post length to buy.

Your project

Measure the full run. For several sides, add them together; corners are counted as posts.

ft
ft

Privacy fences: no gap. Picket fences: 1.5 to 2.5 in.

in

Each gate takes about 4 ft of fence and adds a post.

Fine tune
in

About one third of the post above ground, and below your frost line.

in
Prices (optional)Type your local prices to see what it costs.
$
$
$

You need

14posts

Posts needed

Rails
36 rails
Fence boards
220 boards
Concrete bags
38 bags50 lb
Post length
8 ft

Shopping list

  • Posts, 8 ft long14 posts
  • Rails, 8 ft long36 rails
  • Fence boards, 6 ft tall220 boards
  • Concrete mix38 bags · 50 lb
  • Gates1

Counts are rounded up so you are never short.

How many fence posts do I need?

Divide the fence length by the post spacing and add one. Every gate adds one more post. A 100 ft fence with 8 ft spacing and one gate needs 14 posts.

Posts usually sit 6 to 8 ft apart (1.8 to 2.5 m). Closer spacing makes a stiffer fence and is common with heavy panels or windy sites.

Boards, rails and panels

  • Rails: two per section for fences up to about 4 ft, three for 6 ft privacy fences.
  • Boards: the fence length divided by the board width plus the gap. The calculator adds 5% for cuts and splits.
  • Panels: one per section between two posts.

Concrete for fence posts

A hole three times the post width works well: 10 to 12 in for a 4 × 4 post. Dig about one third of the above-ground height, and below the frost line where you live. The calculator subtracts the post from the hole volume and adds 10%.

Buy posts long enough for the height plus the hole depth. A 6 ft fence with 2 ft holes needs 8 ft posts.

Questions people ask

How many bags of concrete per fence post?

For a 10 in hole 2 ft deep around a 4 × 4 post, about two and a half 50 lb bags of fast-setting mix, so buy three. A 3 ft hole needs about four.

How far apart should fence posts be?

6 to 8 ft for wood fences. Never more than 8 ft, or the rails sag.

How many pickets for 100 ft of fence?

With 5.5 in boards and no gap, about 218, plus spares. With a 2 in gap, about 160.

How long should fence posts be?

The fence height plus the depth in the ground. Most 6 ft fences use 8 ft posts set 2 ft deep.

Sources and data

  • Wood fence installation guides from major US home improvement retailers
  • QUIKRETE fast-setting concrete yields for 50 lb bags

Last reviewed November 16, 2026 · How we calculate

Next steps in your project