Quick Answer: A 100-foot privacy fence with posts 8 feet apart and no gate needs 14 posts, 26 rails (2 per section), and 240 boards 5.5 inches wide including 10% waste, plus 38 bags of 80 lb concrete. Adding one 4-foot gate brings it to 15 posts and 231 boards. A picket fence uses 3.5-inch pickets with 1.75-inch gaps instead of edge-to-edge boards.
How to Calculate Fence Materials
The basic formulas for calculating fence materials:
- Measure the total linear length of your fence line in feet.
- Subtract the width of any gates from the total length.
- Divide the fence length by your post spacing (typically 8 feet), round up, and add 1 to get the number of posts. Add 2 posts for each gate.
- Multiply the number of sections by your rail count (2 or 3) to get the total rails needed.
- Divide the fence length in inches by the board width plus gap to get the number of pickets.
- Add 10% for waste from cuts and damaged materials.
Fence Length is the total length minus gate widths. The gap is 0 for privacy and vinyl fences. For chain-link, the calculator counts 2 rails per section (top rail and bottom tension wire) and 50 ft fabric rolls at about $75 each, with no fabric over gate openings. Each gate splits the line into another run with its own end post, so it adds 2 posts and can add a short section that still needs full rails. Concrete follows Quikrete's post-setting instructions: a hole 3 times the post width and half the fence height deep, 6 inches of mix under the post, and 0.60 cubic feet per 80 lb bag, rounded up to whole bags. The hole is 10.5 inches wide for a 4x4 wood post. For a 5x5 vinyl post the calculator uses the 12-inch hole in Weatherables' installation guide instead. Chain-link uses the post sizes in Merchants Metals' residential guide: 2-3/8-inch round end and gate posts (7.1-inch hole) and 1-5/8-inch line posts (4.9-inch hole).
Fence Type Comparison
Compare the lifespan and maintenance requirements of common fence types:
| Type | Lifespan | Maintenance |
|---|---|---|
| Wood Privacy | 15 - 20 years | Stain/seal every 2-3 years |
| Picket | 15 - 20 years | Paint/stain every 2-3 years |
| Chain Link | 20 - 30 years | Minimal; check for rust |
| Vinyl | 25 - 30+ years | Occasional wash; virtually none |
Post Spacing Guide
- 6-foot spacing: Best for areas with high winds, heavy snow loads, or when using heavier boards. Provides maximum strength and rigidity.
- 8-foot spacing: The most common spacing for residential wood fences. Standard lumber and rails come in 8-foot lengths, minimizing waste and cuts.
- 10-foot spacing: Typical for chain-link fences and some ranch-style fences. Not recommended for privacy fences as it can cause sagging.
- Corner and gate posts: Always place posts at corners, direction changes, and on both sides of gates. These posts should be set deeper and with extra concrete.
Have Your Materials List?
Fence Installation Cost Per Linear Foot →
Get fence installation cost per linear foot in your area — materials, labor, gate, and permits — with BLS-sourced carpenter rates.
Related Calculators
- Concrete Calculator — calculate concrete for post holes, footings, and slabs
- Deck Board Calculator — estimate lumber for deck building projects
- Board Foot Calculator — convert lumber dimensions to board feet for pricing
Estimates are for planning purposes only. Consult a qualified contractor for critical projects. Actual material requirements may vary based on site conditions, waste, and installation methods.
Material prices are national averages set in February 2026 (the most-used re-checked against retail and supplier listings in November 2026). Labor rates come from BLS OEWS May 2024 wage data. Prices vary by region, season, and supplier.