Skip to content

Fence Calculator: Posts, Panels, Pickets and Concrete

Posts, panels or pickets and rails, plus concrete for the post holes, for any fence line.

Your details

Unit system
Fence layout

8 ft is the usual maximum for wood privacy fences; welded mesh panels are 2.5 m; 6 ft in windy spots.

Infill

A 4×4 measures 3.5 in; a 6×6, 5.5 in.

About three times the post width.

At least one third of the height above ground, and below the frost line.

$
$

Results update as you type

Posts

14

Panels
12
Fenced length (without gates)
96 ft
Sections
12
Post length (height + depth)
8 ft
Concrete per hole
0.9 cu ft
Concrete (all posts)
12.89 cu ft

Posts are counted for gates placed between two fence sections; a gate at the end of a run reuses the end post, so you may need one fewer.

Step-by-step solution
  1. Fenced length = 100 ft − 1 × 4 ft = 96 ft
  2. Sections = ⌈96 ft ÷ 8 ft⌉ = 12
  3. Posts = 12 + 1 + 1 = 14
  4. Concrete per hole = π/4 × (10 in)² × 24 in − (3.5 in)² × 24 in = 0.92 cu ft

Most fence-buying mistakes come down to one post. A straight run of ten panels needs eleven posts, a closed yard of the same length needs ten, and every gate adds one more. This fence calculator gets that arithmetic right and then goes on to the other materials: panels, or rails and pickets for a built-on-site fence, and the concrete to set every post.

Enter a straight length, or the two sides of a rectangular yard, with the number and width of the gates. Choose the post spacing — which is also the panel width — and the infill. For the post holes, give the hole diameter and depth and the post size: the calculator subtracts the volume of the post itself, so the concrete figure is what you actually pour.

The rules of thumb used here are the ones fence builders share: holes about three times as wide as the post, buried at least one third of the height above ground, and always below the frost line. Carry the total volume to the concrete calculator to turn it into bags of premix, and use the lumber calculator to price posts and rails in board feet.

How to use this calculator

  1. Choose Straight run or Rectangle, then enter the length or the two sides. For a rectangle, gates are placed on side A.
  2. Enter the number of gates and the width of each opening.
  3. Set the post spacing: 2.5 m for standard welded mesh panels, 6–8 ft for wood fences.
  4. Choose Panels, or Rails + pickets with the number of rails, picket width and gap.
  5. Enter the fence height, the post size and the hole diameter and depth.
  6. Optionally add a price per post and per panel or picket to get the material cost.

The formula

The fenced length is the total length minus the gate openings, Lf=L−ng wgL_f = L - n_g\,w_g (for a rectangle L=2(a+b)L = 2(a+b)). With a post spacing ss:

Nsections=⌈Lfs⌉Nposts=Nsections+1+ng  (straight)Nposts=Nsections+ng  (closed)N_{sections} = \left\lceil \frac{L_f}{s} \right\rceil \qquad N_{posts} = N_{sections} + 1 + n_g \;\text{(straight)} \qquad N_{posts} = N_{sections} + n_g \;\text{(closed)}

In a rectangle each side is divided separately, so every corner gets its own post. Pickets of width pp with a gap ee: N=⌈Lf/(p+e)⌉N = \lceil L_f / (p + e) \rceil. Rails: one per section and per row.

Concrete per hole is a cylinder minus the embedded part of a square post of side cc:

V=π4D2h−c2hV = \frac{\pi}{4} D^2 h - c^2 h

Worked example

Garden fence, 30 m straight, one 1 m gate, 2.5 m mesh panels, 10 × 10 cm posts in holes 30 cm wide and 60 cm deep, fence height 1.8 m:

  • Fenced length: 30 − 1 = 29 m → ⌈29 ÷ 2.5⌉ = 12 panels
  • Posts: 12 + 1 + 1 = 14
  • Concrete per hole: π/4 × 0.3² × 0.6 − 0.1² × 0.6 = 36.4 L
  • Total concrete: 0.51 m³; depth 0.6 m is exactly one third of 1.8 m

Yard of 60 ft × 40 ft, one 4 ft gate, 8 ft sections, three rails, 3.5 in pickets with 1.5 in gaps, 4×4 posts in 10 in × 24 in holes: 196 ft fenced, 25 sections, 26 posts, 471 pickets, 75 rails, 0.92 cu ft of concrete per hole and 23.9 cu ft in total.

Planning a fence (clôture): spacing, depth and gates

Fence type Typical post spacing Post set
Welded mesh panels 2.5 m (panel width) Concrete, 50–60 cm deep
Wood privacy panels 1.8 m / 6 ft Concrete, ⅓ of height
Picket fence on rails 6–8 ft (1.8–2.4 m) Concrete or compacted gravel
Wire or chain link 2.5–3 m (8–10 ft) Concrete for end, corner and gate posts

Gate posts carry a swinging load, so set them deeper or in a larger hole, and leave a few centimetres beside the gate leaf for the hinges and latch. Taller fences catch more wind: shorten the spacing in exposed spots. Check local rules before you dig — many towns limit front-yard fences to about 1 m and rear fences to about 2 m, and utility lines may run where you plan a post.

Setting posts in concrete

Put a few centimetres of gravel in the bottom of each hole for drainage, stand the post on it, brace it plumb on two faces and fill with concrete, sloping the top away from the wood so water runs off. Pressure-treated posts rated for ground contact last far longer than untreated ones, as the USDA Forest Products Laboratory’s Wood Handbook explains. The concrete per hole is small, but it adds up quickly on a long fence — a 60 lb bag of premix yields about 0.45 cu ft (13 L) and an 80 lb bag about 0.6 cu ft (17 L).

Frequently asked questions

How many fence posts do I need?

Divide the fenced length by the post spacing and round up to get the sections. A straight run needs one more post than sections; a closed loop needs as many posts as sections. Add one post for every gate.

How far apart should fence posts be?

2.5 m for standard welded mesh panels, which fixes the spacing. For wood fences, 6 to 8 ft (1.8 to 2.4 m) is usual; go closer for tall fences or windy sites.

How much concrete do I need per fence post?

Work out the volume of the hole and subtract the part of the post inside it. A 10 cm post in a 30 cm × 60 cm hole needs about 36.4 litres; a 4×4 in a 10 in × 24 in hole about 0.92 cu ft.

How deep should fence post holes be?

At least one third of the fence height above ground, so 60 cm (2 ft) for a 1.8 m (6 ft) fence, and always below the local frost depth so the ground does not heave the posts.

How many pickets per section?

Divide the section length by the picket width plus the gap. An 8 ft section with 3.5 in pickets and 1.5 in gaps takes 96 ÷ 5 = 19.2, so 20 pickets.

Sources

Last updated:

More Construction calculators

People also use