Fence Calculator
Enter your fence run and get posts, pickets, rails and concrete bags — with a materials cost and a supplier-ready order list.
Your fence materials
14 posts
13 sections over 100 ft — actual post spacing 7.69 ft, within the 8 ft maximum.
Cost
- Pickets — 219 × $3$657
- Posts — 14 × $12$168
- Rails — 26 × $8$208
- Concrete — 53 bags × $5.75$305
- Total$1,338
Materials total about $1,338 at typical US prices — post caps, screws and other hardware are extra, usually $50-$150 for a run this size.
Prices are typical US ranges for planning. Confirm with your local supplier. Hiring a fence contractor roughly doubles the materials cost — installed wood privacy fence typically runs $25-$45 per linear foot.
Show your working
Order summary
FENCE MATERIALS ORDER Run: 100 ft, 6 ft high, 8 ft post spacing Posts: 14 (4x4, 24 in deep holes) Pickets: 219 (5.5 in wide, 0 in gap) Rails: 26 (2 per section) Concrete: 53 bags of 50 lb (19.61 cu ft) Est. cost: $1,338 (typical US prices - confirm with supplier; hardware extra) Remember: call 811 before you dig.
Send to your supplier:WhatsApp ·Email ·Text message
How to use this fence calculator
Measure your fence line in feet, pick the height and post spacing, and the calculator works out every part: posts, sections, pickets, rails and the concrete for the post holes — with a materials cost at typical US prices. The result is a straight run. For a yard with corners, measure each straight run separately and add the results, then add one extra post per corner and two per gate (gates need a post on each side, and the hinge post should be set deeper).
The calculator assumes standard wood construction: 4x4 posts, 2x4 rails, and dog-ear pickets. If you are building with pre-made panels instead of individual pickets, the posts and concrete numbers still apply — just divide the length by the panel width for the panel count instead of the picket count.
The fence formulas
Four counts, each from one division. The only subtlety is posts: a straight run always needs one more post than it has sections, because there is a post at each end.
Pickets = Length (in) ÷ (Picket width + Gap) · Rails = Sections × Rails per section
Concrete is the volume of each hole minus the volume the post occupies inside it, times the number of posts. A 12 inch diameter, 24 inch deep hole is about 1.57 cu ft of cylinder; the 4x4 post inside it takes about 0.17 cu ft, leaving about 1.4 cu ft of concrete per hole.
Worked example — 100 ft run, 6 ft fence, 8 ft spacing
Sections: 100 ÷ 8 = 12.5, rounded up to 13 sections (actual spacing 100 ÷ 13 = 7.69 ft). Posts: 13 + 1 = 14 posts. Pickets: 100 ft × 12 in ÷ 5.5 in = 218.18, so buy 219 pickets. Rails: 13 sections × 2 = 26 rails. Concrete: 14 posts × 1.4 cu ft = 19.61 cu ft, which is 52.29 bags of 50 lb concrete — buy 53 bags. Cost at typical prices: pickets $657 + posts $168 + rails $208 + concrete $305 = $1,338.
Post spacing: 6 ft vs 8 ft
Eight feet is the standard because lumber is sold in 8 ft lengths — a rail spans exactly one section with no cutting. Six-foot spacing uses about 30% more posts and concrete, but it makes a visibly stronger fence: less rail sag, less picket bowing, and much better wind resistance. Choose 6 ft spacing for 8 ft fences, for windy or exposed sites, and for any fence you want to last 20 years. Never go over 8 ft — the rails will sag within a season or two.
| Run length | Sections at 6 ft | Posts at 6 ft | Sections at 8 ft | Posts at 8 ft |
|---|---|---|---|---|
| 50 ft | 9 | 10 | 7 | 8 |
| 100 ft | 17 | 18 | 13 | 14 |
| 150 ft | 25 | 26 | 19 | 20 |
| 200 ft | 34 | 35 | 25 | 26 |
Post depth: the one-third rule and the frost line
A fence post should be buried at least one third of its total length, and never less than 24 inches. A 6 ft fence needs 8 ft posts set 24 inches deep. An 8 ft fence needs 10 ft posts set 30-36 inches deep. The depth matters more than the concrete: a deep post in tamped gravel outlasts a shallow post in concrete.
In cold climates the hole must go below the local frost line, or freeze-thaw cycles will heave the posts out of the ground a little each winter. Frost depths in the US range from a few inches in Florida and southern Texas to 48 inches or more in Minnesota and Maine. Your local building department publishes the frost depth for your county — check it before you dig, not after the fence leans.
Always call 811 before digging. It is free, it is the law in most states, and the utility companies mark buried gas, electric, water and telecom lines within a few days. A post hole auger through a gas line or a power cable is a disaster you can avoid with one phone call.
Picket styles: privacy vs spaced
Privacy fences use pickets butted edge to edge with no gap — the default in this calculator. They block the view completely, but they also catch the full force of the wind, which is why privacy fences need solid posts and good concrete. Spaced pickets (1-2 inch gaps) use fewer pickets, let wind through, and suit front yards and gardens where a full barrier is not wanted.
| Picket style | Pickets per 100 ft | Notes |
|---|---|---|
| 3.5 in pickets, no gap | 343 | Full privacy, maximum wind load |
| 5.5 in pickets, no gap (privacy) | 219 | Full privacy, maximum wind load |
| 5.5 in pickets, 2 in gap (spaced) | 160 | Lets wind through, uses fewer pickets |
| 6 in pickets, no gap | 200 | Full privacy, maximum wind load |
Buy 5-10% extra pickets. Wood pickets warp, split and arrive damaged more often than any other fence part, and a single crooked picket in the middle of a run is the first thing anyone sees. Sort the pickets before you start: use the straightest ones where they show most, and save the worst for behind the shed.
Rails by height
Two rails per section is right for fences up to 6 ft tall — one near the top, one near the bottom, typically about 8 inches in from each end of the pickets. Eight-foot fences need three rails: the extra rail in the middle stops the long pickets from bowing. Some builders add a third rail to 6 ft fences in windy areas, which is cheap insurance at roughly one extra rail per section.
Rails are usually 2x4s laid flat (wide face against the pickets) for privacy fences, which gives the pickets a broad nailing surface. For a cleaner look from the neighbor’s side, some fences put the rails on the inside face — check local rules, because some cities require the “finished” side to face out.
Concrete per post hole
Concrete locks the post in place and keeps water away from the base of the wood. The hole should be about three times the post width — 12 inches across for a 4x4 post — so there is concrete all the way around. The table below shows concrete per hole for common sizes, and how many bags that means. For the full picture on bag sizes and yields, see the concrete bag calculator and how many bags in a cubic yard.
| Hole size | Concrete per post | 50 lb bags | 80 lb bags |
|---|---|---|---|
| 8 in dia. × 24 in deep | 0.53 cu ft | 2 | 1 |
| 10 in dia. × 24 in deep | 0.92 cu ft | 3 | 2 |
| 12 in dia. × 24 in deep | 1.4 cu ft | 4 | 3 |
| 12 in dia. × 30 in deep | 1.75 cu ft | 5 | 3 |
| 12 in dia. × 36 in deep | 2.1 cu ft | 6 | 4 |
Fast-setting concrete mix (the kind you pour dry into the hole and wet with a hose) is the standard for fence posts — no mixing, and it sets in 20-40 minutes. Do not pour the concrete flush to the top of the hole: stop a few inches below grade and slope the top away from the post, so water runs off instead of pooling against the wood. For a large fence, ready-mix delivered by truck is cheaper per cubic foot than bags — see the concrete calculator for the break-even.
Gates and corners need extra posts
The calculator counts a straight run. Real fences have corners and gates, and each one changes the count. Every corner needs its own post (the run ends and a new run begins). Every gate needs two posts — one on each side — and the hinge post should be set deeper than the rest, ideally 36 inches, because it carries the gate’s weight and gets yanked every time the gate swings. Wide gates (over 4 ft) deserve a 6x6 hinge post rather than a 4x4. Add these posts to the calculator’s count before you order, and add their concrete too.
How much does a fence cost?
Materials for a 100 ft wood privacy fence run about $1,300-$1,800 at typical US prices — pickets are the biggest cost, roughly half the total. The calculator’s default comes to $1,338. Hardware (screws, brackets, post caps, hinges and latches for gates) adds $50-$150. Hiring a contractor roughly doubles the materials cost: installed wood privacy fence typically runs $25-$45 per linear foot, so a 100 ft run installed is $2,500-$4,500. Cedar costs 30-50% more than pressure-treated pine but lasts longer and looks better unstained; vinyl and composite cost more up front and almost nothing in maintenance.
Fence mistakes to avoid
- Posts too shallow. Less than 24 inches — or above the frost line — and the fence will lean within a few winters. Depth matters more than concrete.
- Spacing over 8 ft. Rails sag, pickets bow, and the fence looks tired within a season.
- No concrete. Posts set in loose backfill lean at the first strong wind. Concrete is cheap compared to rebuilding.
- Forgetting gates and corners. Each corner needs a post; each gate needs two, with the hinge post set deeper.
- Not calling 811 before digging. Free, legally required in most states, and the only thing between your auger and a gas line.
- Building on the property line without checking. A survey is cheaper than moving a fence. Many cities also require the finished side to face out.
- Skipping the permit. Most US cities require a fence permit, and HOAs often have height and style rules. Fines and forced removal cost far more than the permit.
Frequently asked questions
How many fence posts do I need for 100 feet?
14 posts at 8 ft spacing: 100 ft divided by 8 ft gives 13 sections, and a straight run needs one post per section plus one end post. The actual spacing works out to 7.69 ft, which is within the 8 ft maximum. At 6 ft spacing you would need 17 sections and 18 posts.
How far apart should fence posts be?
6 to 8 feet apart, center to center — never more than 8 feet. Eight feet is the standard for wood privacy fences because rails and pickets are sold in 8 ft lengths. Six-foot spacing is stronger and looks better on tall fences or in windy areas, but needs about 30% more posts and concrete.
How deep should fence posts be?
At least one third of the post in the ground, and never less than 24 inches. A 6 ft fence needs 8 ft posts set 24 inches deep; an 8 ft fence needs 10 ft posts set 30-36 inches deep. In cold climates the hole must go below the local frost line — 36-48 inches in the northern US — or frost heave will push the posts up.
How many pickets do I need for a fence?
Divide the fence length in inches by the picket width plus the gap. A 100 ft run with standard 5.5 inch pickets and no gap needs 1,200 / 5.5 = 219 pickets. With a 2 inch gap between pickets it drops to 160. Buy 5-10% extra — pickets warp, split and arrive damaged more often than any other fence part.
How many bags of concrete per fence post?
A standard 12 inch diameter, 24 inch deep hole needs about 1.4 cubic feet of concrete after the post takes up its share — that is 4 bags of 50 lb concrete (0.375 cu ft each) or 3 bags of 80 lb (0.6 cu ft each). Deeper or wider holes need more: a 12 inch by 36 inch hole needs about 2.1 cu ft, or 6 bags of 50 lb.
How many rails does a fence need?
Two rails per section for fences up to 6 ft tall, three rails for 8 ft fences. The rails run horizontally between the posts and the pickets attach to them. On a 6 ft fence the rails typically sit about 8 inches from the top and bottom of the pickets.
Do I need a permit to build a fence?
Usually, yes — most US cities and counties require a fence permit, and many limit front-yard fences to 3-4 ft and backyard fences to 6-8 ft. Homeowners associations often have their own rules on height, material and style. Check with your local building department and your HOA before you buy materials.
Should I call 811 before digging fence post holes?
Yes — it is the law in most states, and it is free. Call 811 (or file online) at least 2-3 business days before you dig, and the utility companies will mark buried gas, electric, water and telecom lines. Hitting a gas line or a power cable is dangerous and expensive, and the fine for skipping the call can be steep.
Related calculators
Concrete Calculator
Slabs, footings and columns — cubic yards, bags and ready-mix cost.
Concrete Bag Calculator
Bags to cubic yards and back, for 40–80 lb concrete bags.
Brick Calculator
Brick count and mortar for any wall, with waste allowance.
Paint Calculator
Gallons of paint and primer for rooms, walls and ceilings.
Square Footage Calculator
Square footage of any room or lot, with conversions.
Sources: NIST Handbook 44 (2026), Appendix C for unit definitions; material weights compiled from multiple US aggregate and landscape supplier references, reported as typical ranges. Prices are typical US ranges for planning only — always confirm with your local supplier. Results are estimates; confirm quantities with your supplier or contractor.