Skip to content
Building / DIY

Fence Calculator

Fence calculator. Plan a fence run by length, height, post spacing, picket width, and gap. The calculator returns posts, sections, rails, pickets, and an estimate of concrete bags, with a 10% waste option. Works for wood privacy, picket, vinyl panel, and chain-link layouts.

Fence type

Wood privacy is often 6–8 ft on center. Chain-link often goes to 10 ft. Vinyl and panel fences follow the panel width. Length stays as you typed it.

The run in a straight line, from the outside of the first post to the outside of the last.

The part above ground. Used for the suggested post length, not the picket count.

On center. Posts = round up(length ÷ spacing) + 1, so both ends are included.

Privacy fences often use 3. Picket and vinyl often use 2. Chain-link usually has 1 top rail.

Actual width. A 1×6 board is usually 5.5 in, and a 1×4 is usually 3.5 in.

Space between pickets. Use 0 for a solid privacy fence.

Applied to rails, pickets, panels, and chain-link fabric. Posts stay an exact count. 10% is a common allowance.

The dug hole, not the post. 8 in is a common DIY hole for a 4×4.

Concrete uses this depth. 24 in is the 2 ft minimum. Go deeper in frost or soft soil.

A 4×4 is 3.5 in square. A chain-link line post is often a 1.625 in round tube.

The post is subtracted from the hole so the bags are only the concrete around it.

Fence materials

Posts
14
Sections
13
Rails to order
43
Pickets to order
241
Concrete per post
0.528 cu ft
80 lb bags per post
1
80 lb bags for the job
14
60 lb bags for the job
28
Suggested post length
9 ft

Posts = round up(100 ÷ 8) + 1 = 14. Sections = 13 (12 sections at 8 ft and 1 section at 4 ft). Rails = 13 × 3 = 39, then 10% waste makes 43. Pickets = round up(1,200 ÷ 5.5) = 219, then 10% waste makes 241. Concrete per post = 0.528 cu ft (hole minus the 3.5 in square post), which is 1 bag of 80 lb mix or 2 bags of 60 lb mix. The run needs 14 bags of 80 lb mix, or 28 bags of 60 lb mix. Suggested post length is 9 ft, with 3 ft in the ground (about one-third of the post, and at least 2 ft). Bag counts use the 24 in hole you entered.

12 sections at 8 ft and 1 section at 4 ft. Waste is not added to the post count. Gates, corners that share a post, and slopes are not included. This is a materials estimate, not a survey or a structural design. The math stays in your browser.

How to use

  1. Choose wood privacy, wood picket, vinyl panel, or chain-link. That fills a typical height, post spacing, rail count, and post size. The length you typed stays put.
  2. Enter the run length and the height above ground. Set post spacing on center. Wood is often 6–8 ft, and chain-link often goes to 10 ft.
  3. For a wood fence, enter the picket width and the gap. Set rails per section and a waste percent. 10% is the default, and 0 turns waste off.
  4. Enter the post hole diameter and depth, plus the post size. Read posts, sections, rails, pickets or panels, concrete bags per post and for the job, and the suggested post length.

Formula

Posts = round up(length ÷ spacing) + 1, which counts both end posts. Sections = posts − 1. Rails = sections × rails per section, then waste. Pickets = round up(length in inches ÷ (picket width + gap)), then waste. Vinyl counts one panel per section. Chain-link has no pickets; fabric feet are the run length, then waste. Concrete per post is the round hole minus the post. An 80 lb bag is 0.60 cu ft and a 60 lb bag is 0.45 cu ft, same as the concrete calculator. Suggested bury depth is half the above-ground height, and at least 2 ft, so about one-third of the post is in the ground. Bag counts use the hole depth you enter.

Example. 100 ft with 8 ft spacing needs round up(100 ÷ 8) + 1 = 14 posts and 13 sections (12 sections at 8 ft and 1 section at 4 ft). Three rails per section is 39 rails, and 10% waste makes 43. Pickets 5.5 in wide with no gap: round up(1,200 ÷ 5.5) = 219, then 10% waste makes 241. An 8 in hole 24 in deep around a 3.5 in square post is about 0.528 cu ft, which is 1 bag of 80 lb concrete per post and 2 bags of 60 lb mix, or 14 bags of 80 lb mix for the run. A 6 ft fence suggests a 9 ft post with 3 ft buried.

Example. 96 ft at 8 ft spacing is an exact fit: 13 posts and 12 sections at 8 ft. A 6 in picket with no gap on a 100 ft run is 200 pickets, then 10% waste makes 220.

Example. 50 ft of chain-link at 10 ft spacing is 6 posts and 5 sections. One top rail per section is 5 rails, and 10% waste makes 6. Fabric is 55 ft with that waste. A 4 ft fence suggests a 6 ft post.

A materials count, not a layout plan

Corners, slopes, and gates change the post count. A gate usually replaces one section and still needs a post on each side. Waste applies to rails, pickets, panels, and fabric, not to posts. Check the local frost line and call for utility marks before you dig.

Frequently asked questions

How do I calculate how many fence posts I need?

Divide the fence length by the post spacing, then add 1 for the end post. Round up. Example: 100 ft with 8 ft spacing needs 14 posts.

How far apart should fence posts be?

Wood privacy fences are commonly 6–8 ft on center. Chain-link often goes up to 10 ft. Vinyl and panel fences follow the panel width.

How many pickets do I need for a wood fence?

Divide the run length by (picket width + gap). Round up, then add 10–15% for waste.

How deep should fence posts be set?

A common rule is bury about one-third of the post length, or at least 2 ft, deeper in frost or soft soil.

Does this estimate concrete bags too?

Yes. Enter post hole size and the calculator estimates bags of concrete per post and for the whole job.