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.
How to use
- 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.
- 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.
- 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.
- 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.
Related tools
- Building / DIYDecking CalculatorEstimate deck boards, screws, and joists from size, board width, spacing, and waste.
- Building / DIYConcrete CalculatorCubic yards, cubic feet, and 60- or 80-lb bag counts for slabs, footings, and columns.
- Building / DIYPaver CalculatorEstimate how many pavers, plus base gravel and bedding sand, a patio or walkway needs.
- Building / DIYTile CalculatorTile count and square footage from room size, tile size, grout, and waste.
- Building / DIYCarpet CalculatorTurn room dimensions into square yards of carpet and padding, with waste and cost.
- Building / DIYMulch CalculatorCubic yards and bag counts from bed area and mulch depth.