Skip to content
Omnikalc

Fence calculator: posts, panels and concrete

Plan a fence line: number of posts and panels, bags of concrete to set the posts, and the total materials budget.

Updated on
Your inputs

Value out of range

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

$

Value out of range

$

Value out of range

$

Value out of range

Results

Posts

22 posts

Panels or sections

19 panels

Concrete bags

43 bags

Concrete per post
1.15 cu ft
Materials cost
$2,166
Cost per linear foot
$14.44

Materials by fence length

PostsPanels or sectionsConcrete bagsMaterials cost
50 ft current10720$865
100 ft current161331$1,512
150 ft current221943$2,166
200 ft current282554$2,813
300 ft current413879$4,223

Planning a fence line

A fence is a sequence of sections between posts. Once you know the length of the line and the panel width, the number of posts follows, and each post needs a hole and concrete. This calculator counts posts, panels and concrete bags, and adds up the cost of materials.

The formulas

  1. Sections = fence length ÷ post spacing, rounded up.
  2. Posts = sections + 1, plus extra posts for corners and gates.
  3. Concrete per post = hole volume − post volume. The hole is a cylinder: 3.14 × (diameter ÷ 2)² × depth.
  4. Bags = posts × concrete per post ÷ bag yield. An 80 lb bag of concrete mix yields about 0.6 cubic feet.

Worked example: a 150 ft backyard fence

The fence uses 8 ft wood panels and 4×4 posts. It has one corner and a gate, so two extra posts are added. Each hole is 10 in wide and 30 in deep.

  1. Sections: 150 ÷ 8 = 18.75, so 19 panels.
  2. Posts: 19 + 1 + 2 = 22 posts.
  3. Concrete per post: (78.5 − 12.25 sq in) × 30 in = 1,989 cu in, or 1.15 cubic feet.
  4. Bags: 22 × 1.15 ÷ 0.6 = 42.2, so 43 bags of 80 lb.
  5. At $75 a panel, $20 a post and $7 a bag, materials cost about $2,166, or $14.44 per foot.

Materials by fence length

Length Posts Panels 80 lb bags Cost
50 ft 10 7 20 $865
100 ft 16 13 31 $1,512
150 ft 22 19 43 $2,166
200 ft 28 25 54 $2,813

Post holes

  • Depth: about one third of the post’s total length, so 2 to 3 ft for a 6 ft fence. In cold climates, dig below the frost line, which your building department can tell you.
  • Diameter: about three times the post width, so 10 to 12 in for a 4×4.
  • Gravel: 3 to 6 in of gravel at the bottom of each hole helps drainage and slows rot.

Before you dig

Call 811 a few days before digging: it is free, and utility companies will mark buried lines. Check property lines, local height limits and any homeowners association rules. Many towns require a permit for fences above a certain height.

Good to know

Gates need sturdier posts, often 6×6 or set deeper, and a gate frame wider than the opening by the hinge and latch clearance. Corners on a sloped site may need stepped panels or racked panels. Add posts as needed and run the calculator again.

Frequently asked questions

How many posts do I need for a 150 ft fence?

With 8 ft panels, 150 ft takes 19 sections and 20 posts, plus one extra post for each corner or gate side. The default example adds 2, for a total of 22 posts.

How deep should fence posts be?

A common rule is one third of the post length in the ground: 2 to 3 ft for a 6 ft fence. In cold climates, go below the frost line to stop frost heave.

How many bags of concrete per fence post?

A 10 in hole 30 in deep around a 4×4 post holds about 1.15 cubic feet of concrete: two 80 lb bags, or three to four 50 lb bags.

Should I use 6 ft or 8 ft post spacing?

8 ft is standard for wood privacy and picket panels. 6 ft spacing gives a stiffer fence and is common for vinyl panels and in windy areas, but it needs more posts and concrete.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.