Need concrete for your fence posts?
Use our Concrete Calculator βBuilding a deck too? Calculate your lumber needs.
Use our Lumber / Board Feet Calculator βFence Building Tools
Post Hole Digger (Manual)
Fence Post Level
Wood Fence Stain & Sealer (5 Gal)
Tools worth having for this job. We donβt currently earn commission on these β theyβre suggestions, not sponsored links.
How to Calculate Fence Materials
Calculating fencing materials accurately before you start prevents costly mid-project trips to the hardware store. Here's a step-by-step approach for any fence type.
Step 1: Measure the Perimeter
Walk the property line with a measuring tape or wheel and record the total linear footage. Mark corner locations with stakes. If you're enclosing a yard, measure each side and add them together.
Step 2: Subtract for Gates
Subtract the width of any gate openings from the total fence length. A standard walk gate is 3-4 feet wide; a driveway gate is 10-16 feet wide. You'll still need gate posts at each opening.
Step 3: Determine Post Spacing
Post spacing varies by fence type:
- Wood fence: 8 feet on center (standard for both privacy and picket)
- Chain link: 10 feet on center for line posts
- Vinyl fence: 6 feet on center (matches standard panel width)
Post Calculation Formula
For example, a 100 ft wood fence: (100 Γ· 8) + 1 = 13.5, rounded up to 14 posts.
Corner Posts vs. Line Posts vs. Gate Posts
- Corner posts: Located at every turn in the fence line. Typically the same size as line posts for wood/vinyl, but terminal posts for chain link.
- Line posts: The standard posts between corners. Spaced evenly along straight runs.
- Gate posts: Must be sturdier β use 6x6 posts for wood gates, or heavier terminal posts for chain link gates. One gate post per side of each opening.
On this page
Fence Cost Guide
Fence costs depend on the material, height, terrain, and whether you hire a pro or DIY. Below are typical 2025-2026 material and installed costs per linear foot.
| Fence Type | Materials Only | Installed |
|---|---|---|
| Wood Privacy (6 ft) | $15 β $25 /ft | $25 β $50 /ft |
| Wood Picket (4 ft) | $10 β $18 /ft | $20 β $35 /ft |
| Chain Link (4 ft) | $7 β $15 /ft | $15 β $25 /ft |
| Chain Link (6 ft) | $10 β $20 /ft | $20 β $30 /ft |
| Vinyl (6 ft) | $20 β $35 /ft | $30 β $60 /ft |
Common Project Costs (Materials Only)
| Fence Length | Wood Privacy | Chain Link | Vinyl |
|---|---|---|---|
| 100 ft | $1,500 β $2,500 | $700 β $1,500 | $2,000 β $3,500 |
| 150 ft | $2,250 β $3,750 | $1,050 β $2,250 | $3,000 β $5,250 |
| 200 ft | $3,000 β $5,000 | $1,400 β $3,000 | $4,000 β $7,000 |
Choosing the Right Fence Type
Wood Privacy Fence
The most popular residential fence in the US. Wood privacy fences provide full seclusion with boards placed side by side. They're highly customizable β you can stain or paint any color, choose from dozens of cap styles, and adjust the height from 4 to 8 feet.
- Best for: Backyards, pool enclosures, property lines
- Maintenance: Stain or seal every 2-3 years to prevent rot and graying
- Lifespan: 15-20 years (pressure-treated pine), 20-25 years (cedar)
- Common wood species: Pressure-treated pine (cheapest), cedar (naturally rot-resistant), redwood (premium)
Wood Picket Fence
The classic American fence. Picket fences are shorter (3-4 feet), with spaced boards that provide a decorative border without blocking the view. Ideal for front yards and garden boundaries.
- Best for: Front yards, garden borders, curb appeal
- Maintenance: Paint or stain every 2-3 years
- Lifespan: 15-20 years with regular maintenance
- Common styles: Dog-ear, French Gothic, pointed, flat top
Chain Link Fence
The most affordable fencing option. Chain link is durable, low-maintenance, and installs quickly. It won't provide privacy on its own, but you can add privacy slats or screening for partial coverage.
- Best for: Pet containment, property boundaries, commercial areas
- Maintenance: Virtually none β occasional rust treatment on older galvanized fences
- Lifespan: 20-30 years (galvanized), 30+ years (vinyl-coated)
- Options: Galvanized silver, black vinyl-coated, green vinyl-coated
Vinyl Fence
The zero-maintenance option. Vinyl fences never need painting, staining, or sealing. They won't rot, warp, or attract termites. The tradeoff is a higher upfront cost β but many homeowners find the lifetime savings worthwhile.
- Best for: Homeowners who want no maintenance, modern look
- Maintenance: Rinse with a hose once or twice a year
- Lifespan: 20-30 years (often warranted for lifetime)
- Common colors: White, tan, gray, wood-grain texture
Before You Set a Single Post
Fences cause more neighbor disputes and more expensive do-overs than almost any other outdoor project, and nearly all of it is avoidable at the planning stage.
- Call 811 first. Free utility marking, a few days' wait, and it stops you augering into a gas or fiber line. This is not optional.
- Confirm the property line. Don't rely on an existing fence, a hedge, or where the mowing stops β any of those can sit well inside or outside the true line. A survey costs far less than moving a finished fence.
- Check setback rules. Many jurisdictions require the fence be set back from the boundary, and limit height β commonly 6 ft at the sides and rear, 3β4 ft in a front yard.
- Check the HOA. Style, color, height, and material are all commonly restricted, and approval usually has to come before installation, not after.
- Get the permit if one's required. Many areas require one above a certain height, and pool fencing is separately regulated almost everywhere.
- Agree with your neighbor if the fence is on or near the line β including which side faces out. Convention puts the finished side toward the neighbor, and some codes require it.
- Find your frost depth. Posts must be set below it, or frost heave will lift them. This drives your post hole depth and your concrete order.
Post Depth and Concrete
The working rule is to bury one third of the post's total length, or 2 feet minimum β whichever is deeper β and always below the local frost line. A 6 ft fence typically uses 8 ft posts set 2.5β3 ft deep.
| Fence Height | Post Length | Hole Depth | Hole Diameter | 50 lb Bags per Post |
|---|---|---|---|---|
| 3 ft picket | 5 ft | 24 in | 8 in | 1 |
| 4 ft | 6 ft | 24 in | 10 in | 1β2 |
| 6 ft privacy | 8 ft | 30 in | 10β12 in | 2β3 |
| 8 ft privacy | 10β12 ft | 36β42 in | 12 in | 3β4 |
| Gate post (any) | +2 ft | +6 in | 12 in | 3β4 |
Hole diameter should be about three times the post width. Put 4β6 inches of gravel in the bottom before the post so water drains away from the end grain rather than pooling against it β that single step is the difference between a post that rots in eight years and one that lasts twenty.
Crown the concrete above grade and slope it away from the post so water sheds. Our fence post concrete calculator works out bags by hole size and post count.
Frequently Asked Questions
How many fence posts do I need for 100 feet?
For a wood fence with 8-foot post spacing: (100 Γ· 8) + 1 = 14 posts. For chain link at 10-foot spacing: 12 posts. For vinyl at 6-foot spacing: 18 posts. Always round up to the nearest whole number.
How deep should fence posts be?
Fence posts should be buried at least 1/3 of their total length underground, with a minimum depth of 2 feet. For a 6-foot fence, use 8-foot posts and bury 2 feet. For an 8-foot fence, use 10- or 12-foot posts and bury 2.5-3 feet. Deeper is better in areas with frost heave.
How much does 100 feet of fence cost?
Materials only for 100 linear feet: Wood privacy: $1,500-$2,500. Chain link: $700-$1,500. Vinyl: $2,000-$3,500. Add 50-100% more for professional installation. Total installed cost for 100 ft of wood privacy fence typically runs $2,500-$5,000.
Do I need concrete for fence posts?
Yes, for most fence types. Concrete anchors posts and prevents leaning. Use fast-setting concrete β about 1-2 bags (50 lb) per post for a standard fence. For wood posts, some builders prefer gravel backfill for drainage, but concrete provides the strongest hold. Use our Fence Post Concrete Calculator to estimate exactly how many bags you need.
How far apart should fence posts be?
Standard post spacing by fence type: Wood: 8 feet on center (matches standard rail length). Chain link: 10 feet on center (industry standard for line posts). Vinyl: 6 feet on center (matches standard panel width). Closer spacing may be needed on slopes or in high-wind areas.
Wood vs. vinyl fence β which is better?
It depends on your priorities. Wood costs less upfront ($15-25/ft materials) but needs staining every 2-3 years and lasts 15-20 years. Vinyl costs more upfront ($20-35/ft materials) but requires zero maintenance and lasts 20-30 years. Over a 25-year period, total cost of ownership is often similar. Choose wood for a natural look and customization; choose vinyl for no-hassle durability.
Sources & Standards
- International Residential Code (ICC) β Residential construction requirements adopted by most US jurisdictions
Estimates for planning only. This calculator sizes material quantities. It does not size structural members, verify load paths, or confirm compliance with the code in your jurisdiction. Local requirements β frost depth, footing sizes, permits, and inspections β override anything here. For structural or safety-critical work, have the design checked by a licensed engineer or contractor. See our full method and assumptions.