Fence calculator

How much material do I need for a fence?

Estimate posts, rails, and pickets for a privacy fence based on property length, fence height, and number of rails.

Fence calculator

Fence calculator result

Choosing the Right Fence Material

Fence material determines privacy, durability, maintenance, and cost. The best choice balances your need for privacy, security, and appearance with your budget.

Wood Fencing: The classic choice for privacy and appearance. Common woods include pressure-treated pine, cedar, and redwood. Wood fences require staining or sealing every 2–3 years but offer the most design flexibility with picket styles, heights, and finishes.

Vinyl Fencing: Low-maintenance and long-lasting. Vinyl never rots, warps, or needs painting. Available in various styles including privacy, semi-privacy, and picket. Higher upfront cost than wood but zero maintenance over its 20–30 year lifespan.

Chain Link Fencing: The most economical and durable option. Chain link provides security and defines boundaries without blocking views. Can be enhanced with privacy slats or vines. Ideal for large areas, pet enclosures, and security fencing.

Metal / Aluminum Fencing: Decorative and durable. Wrought iron or aluminum fences offer a classic look with minimal maintenance. Best for front yards, pool enclosures, and areas where you want visibility with a secure barrier. Aluminum is lighter and rust-resistant.

Fence Material Cheat Sheet

Use this reference to choose the right fence:

MaterialPrivacyMaintenanceLifespan
WoodHigh (privacy styles)Moderate (stain every 2–3 years)10–20 years
VinylHigh (solid panels)None (rinse with hose)20–30 years
Chain LinkLow (see-through)Low (occasional rust touch-up)20+ years
Metal / AluminumLow (decorative)Low (occasional cleaning)25–50 years

Fence building tips

  • Post depth: Bury posts 1/3 of the fence height plus 6 inches (minimum 24 inches)
  • Post spacing: 8 feet is standard; reduce to 6 feet in windy areas
  • Concrete: Use one 60-lb bag per post for most fences
  • Picket spacing: 1/8 to 1/4 inch gap for airflow and expansion
  • Gate opening: Leave 3-4 feet for pedestrian gates, 10-12 feet for drive gates

How to measure for a fence

Measure the total length of the fence line in feet using a tape measure or measuring wheel. For long runs, measure in sections and add them together. Mark post locations with stakes every 6-8 ft — this determines the number of sections and posts you need. Subtract gate openings from the total length, and measure the fence height from the finished grade on both sides of the fence line.

  • Fence line length: measure along the ground, accounting for slopes and curves
  • Height: measure from finished grade to the top of the fence — not from the bottom of the post
  • Gate openings: subtract gate widths from the total fence length
  • Property lines: verify boundaries before measuring — fences must stay on your property

Fence post depth guidelines

Post depth depends on fence height and soil conditions. The general rule is to bury at least 1/3 of the total post length underground. For a 6-ft fence, posts should be 8-9 ft long with 2-3 ft buried. In areas with frost heave, dig below the frost line — typically 36-48 in in northern climates. Use fast-setting concrete to secure posts, pouring it dry into the hole and adding water.

  • 6-ft fence: 8-9 ft posts, 2-3 ft deep holes
  • 8-ft fence: 10-11 ft posts, 3 ft deep holes
  • Soil conditions: sandy soil needs deeper holes; clay soil holds posts well
  • Corner and end posts: set these first — they carry the most tension from rails and wire

Fence types compared

Wood picket fences are the most common for residential yards — they're affordable, easy to install, and can be painted or stained any color. Vinyl fencing costs more upfront but never needs painting and resists rot and insects. Chain-link is the most economical option for security and pet containment but offers no privacy. Composite fencing combines wood fiber and plastic for a low-maintenance option that mimics wood appearance.

  • Wood: $8-15 per linear ft installed, needs painting/staining every 2-3 years
  • Vinyl: $15-30 per linear ft installed, never needs painting, 20+ year lifespan
  • Chain-link: $5-12 per linear ft installed, most affordable, no privacy
  • Composite: $20-40 per linear ft installed, low maintenance, wood appearance

Worked example

For example, for a 50-ft fence section, 6 ft tall, with 3 rails per section:

  1. Sections at 8-ft spacing = 50 ÷ 8 = 6.25 → 7 sections
  2. Posts = 7 + 1 = 8 posts
  3. Rails = 7 × 3 = 21 rails
  4. Pickets = (50 × 12) ÷ 5.5 = 109 pickets
  5. Add 5% for waste: 115 pickets, 9 posts, 23 rails

Common mistakes

MistakeWhy it matters
Setting posts too shallowPosts should be set at least 2 ft deep for a 6-ft fence, or 1/3 of total height
Not checking property linesAlways verify property boundaries before digging — neighbor disputes are expensive
Using the wrong post-hole concreteUse fast-setting concrete that needs no mixing — just pour dry and add water

Frequently asked questions about fence estimates

How far apart should fence posts be?

Fence posts are typically spaced 8 feet apart on center. This is the standard spacing for pre-built fence panels and most DIY fence designs.

How deep should fence posts be set?

Set fence posts at least 1/3 of the total post length in the ground. For a 6-foot fence, use 9-foot posts set 3 feet deep.

How many pickets do I need per linear foot of fence?

Standard 3.5-inch pickets with 1/2-inch gaps use about 2.4 pickets per linear foot. For 5.5-inch pickets with no gap, use about 2.2 pickets per linear foot.