Fence Calculator
Enter your fence line length and height to get the full materials list — posts, rails, pickets and concrete — plus realistic DIY and installed cost ranges.
You need
Posts (4×4)14every 8 ft, plus corners & gates
Rails (2×4)393 rails per section
Pickets200
Concrete (50 lb bags)282 bags per post hole
DIY materials (est.)$800–$1,800
Pro installed (est.)$1,500–$4,500$15–$45 per linear ft
Get Free Local Fence QuotesThe Fence Formula
Posts = (Length ÷ Post spacing, rounded up) + 1. Sections are typically 8 ft, so a 100 ft fence has 13 sections and 14 posts.
Rails = Sections × rails per section — 2 rails for fences under 5 ft, 3 rails for 6 ft and taller privacy fences.
Pickets = (Length in inches) ÷ (picket width + gap). A standard dog-ear picket is 5.5 in wide; with a 0.5 in gap you need 2 pickets per foot of fence. Full-privacy styles use a 0 in gap.
Concrete = 2 × 50 lb bags per post for a 10–12 in diameter hole, 24–36 in deep (below the frost line in cold zones).
Fence Materials per 100 Linear Feet (6 ft Privacy)
| Material | Spacing / size | Quantity |
|---|---|---|
| 4×4 posts | 8 ft apart | 14 |
| 2×4 rails | 3 per section | 39 (8 ft lengths) |
| 5.5 in pickets | 0.5 in gap | 200 |
| Concrete | 2 bags per post | 28 × 50 lb bags |
| Screws/nails | 6 per picket | ≈1,200 (2 lb) |
Common Fence Mistakes to Avoid
- Skipping the property survey. Building 6 inches over the line can mean moving the whole fence at your cost. Verify pins before digging.
- Shallow post holes. Posts must go below the frost line (24–48 in depending on zone) or frost heave will lean the fence within two winters.
- Setting posts in dirt backfill. Concrete or compacted gravel around every post; plain soil lets posts rock and rot.
- Forgetting gates. Each gate opening removes a section of pickets but adds a gate kit, heavier hinges and a 6×6 latch post — budget for it separately.
Frequently Asked Questions
How far apart should fence posts be?
8 feet on center is standard for wood privacy fences. Drop to 6 feet in high-wind areas, for heavy board-on-board styles, or when using 5/4 deck boards as rails.
How much does a fence cost per foot?
DIY wood privacy fencing runs $8–$18 per linear foot in materials. Professional installation ranges $15–$45 per linear foot depending on style, height, terrain and region. Chain link is cheaper; vinyl and composite are higher.
How many pickets do I need for 100 feet of fence?
With 5.5-inch pickets and a half-inch gap: exactly 200. With no gap (full privacy): about 218. Order 5–10% extra for splits and mis-cuts.
How deep should fence posts be buried?
One-third of the post length, and below the local frost line: 24 in minimum in warm climates, 36–48 in across the northern US. A 6 ft fence uses 8 ft posts set 2 ft deep.
Do I need a permit to build a fence?
Many US cities require a permit for fences over 6 ft, and HOAs often restrict height, style and setbacks. Call 811 before digging to have utilities marked — it is free and legally required in most states.