HomeMeasure Pro

October 15, 2026 · 7 min read

Privacy Fence Calculator: Wood vs Vinyl vs Composite Cost and Materials

By Mudassir Khan·October 15, 2026·Updated November 11, 2026

Building a 6 foot privacy fence? Compare wood, vinyl and composite on cost and lifespan, with exact material counts and per foot prices for each.

A 6 foot privacy fence is the most popular fence in America, and the one with the most confusing material math. Here's how to count every board, post, and bag of concrete, what each material costs, and which one to pick.

Privacy Fence Calculator: Wood vs Vinyl vs Composite Cost and Materials

The short answer

A privacy fence is a 6 foot solid fence, and the material you pick decides the price more than anything else. Installed cost runs $20 to $40 per linear foot for pressure treated pine, $30 to $55 for cedar, $45 to $70 for vinyl and $50 to $90 for composite. A 100 foot cedar privacy fence needs about 14 posts, 230 pickets, 26 rails and 14 bags of concrete, with materials costing about $1,850 to $2,900. Doing the work yourself saves roughly 40 to 50 percent because you pay for materials only.

How the material math works

For a standard 6 ft privacy fence with posts every 8 feet: posts equal fence length divided by 8 plus 1, so a 100 ft run needs 14 posts, plus 1 to 2 extra for each gate, with 6×6 posts at gates and corners. Pickets run about 22 per 10 linear feet, so a 100 ft fence needs about 218, buy 230 to cover splits and bad boards. Rails run 2 per 8 ft section, 26 for a 100 ft run, or 3 per section for extra stiff fences or high wind areas. Concrete runs one 50 lb bag per post for a standard 3 ft deep hole in decent soil, 14 bags for a 100 ft fence, or 1.5 bags per post in rocky or sandy soil. For the full counting method, with pine vs cedar pricing and a complete 150 foot worked example, see our wood fence calculator.

Material list: 100 ft cedar privacy fence

Material Quantity Approx. cost
4×4 × 8 ft posts 14 $200 to $350
1×6 × 6 ft cedar pickets 230 $1,200 to $1,800
2×4 × 8 ft rails 26 $150 to $250
50 lb concrete bags 14 $70 to $100
Screws, hardware as needed $80 to $150
Stain/sealer 5 gal $150 to $250
Materials total ~$1,850 to $2,900

Cost per linear foot by material (installed)

Material Per linear foot 100 ft (approx.)
Pressure treated pine $20 to $40 $2,000 to $4,000
Cedar $30 to $55 $3,000 to $5,500
Vinyl (PVC) $45 to $70 $4,500 to $7,000
Composite $50 to $90 $5,000 to $9,000

DIY saves roughly 40 to 50%, you pay materials only, which is the table above minus labor.

The decisions that change the price

1. Picket style.

  • Board on board: pickets overlap, zero gaps, best privacy, uses ~25% more pickets
  • Shadowbox: alternating sides, looks good from both, ~15% more pickets
  • Standard side by side: cheapest, small gaps appear as wood shrinks

2. Post depth and size. Code in frost areas usually wants posts below the frost line, 3 to 4 feet deep in the northern US. That's longer (pricier) posts and more concrete per hole. Corner and gate posts should always be 6×6.

3. Gates. Each walk gate adds $150 to $400 in materials alone (heavier posts, hinges, latch). Plan gate locations before you buy, moving a gate later means moving posts.

4. Terrain. A slope means stepped panels (more cutting, more waste) or racked panels (pricier). Rocky soil can double your concrete use and your digging time.

5. Permits and HOA. Most cities require a fence permit ($50 to $200), and many cap backyard fences at 6 ft, front yards often 4 ft. HOAs may dictate material and style. Check before buying.

The 5 mistakes that cost the most

  1. Posts too shallow. The #1 fence killer. In frost country, shallow posts heave within two winters.
  2. Setting posts in dry concrete mix. Pour the mix dry and "let ground moisture cure it" is a myth, always add water and mix.
  3. Wood touching soil. Keep pickets 2 inches off the ground or the bottoms rot in 3 to 5 years.
  4. Forgetting the crown. Slightly crown concrete at each post base so water runs off, not in.
  5. No expansion gaps on vinyl. Vinyl moves with temperature, follow the manufacturer's gap specs or panels buckle in summer.

Quick estimate formula

Pickets ≈ (length in feet × 12 ÷ 5.5), Posts ≈ (length ÷ 8) + 1

Example, 120 ft cedar privacy fence, DIY:

  • Posts: 120 ÷ 8 + 1 = 16
  • Pickets: 120 × 12 ÷ 5.5 = 262 (buy 275)
  • Rails: 30, Concrete: 16 bags
  • Materials: ~$2,200 to $3,400

Which material should you actually pick

Cedar is the classic choice. It looks great, resists rot naturally, and costs less than vinyl or composite up front. The catch is maintenance: plan on cleaning and staining every 2 to 3 years, or it turns gray and the boards start checking. With care, a cedar fence lasts 15 to 20 years.

Pressure treated pine costs less than cedar and lasts 12 to 18 years, but it needs the same staining schedule and is more prone to warping and twisting as it dries. Buy it, let it dry a few weeks, then stain it.

Vinyl costs roughly double what wood costs installed, and then asks nothing of you for decades. No staining, no rot, no insect damage. It lasts 25 to 30 years. Two warnings: buy thick walled panels from a known brand, because thin cheap vinyl cracks in cold weather, and dark colors can fade unevenly in strong sun.

Composite looks like wood, never needs staining, and lasts 25 years or more. It is the most expensive option and the heaviest to install, so DIY is harder. Pick it when you want the wood look with zero upkeep and the budget allows.

If you plan to stay in the house a long time, vinyl or composite usually wins on total cost once you add up years of stain and replacement boards. If you might move in five years, cedar gives the best look for the money.

How long each fence type lasts

Cedar: 15 to 20 years. Pressure treated pine: 12 to 18 years. Vinyl: 25 to 30 years. Composite: 25 years plus. In every case the posts usually fail before the panels, which is why post depth, concrete footings, and keeping wood out of soil contact matter more for lifespan than which picket you picked.

Questions people ask

Do I need a permit for a privacy fence? In most cities, yes. Fence permits usually cost $50 to $200 and the application is simple, but skipping it can mean tearing the fence down if a neighbor complains. Call your building department before you buy materials.

Can I build right on the property line? Legally it varies, and practically it is risky. Most builders set the fence 6 to 12 inches inside their own line to avoid disputes. A survey costs a few hundred dollars and settles the question for good.

How do I fence a slope? You have two options. Stepped panels keep each section level and drop down in steps, which is simpler but leaves triangular gaps at the bottom. Racked panels follow the slope, which looks better but costs more and only works on gentle grades. On steep slopes, stepped is the sane choice.

Want the full list done for you? Our free fence calculator builds your exact material count, posts, pickets, rails, and concrete, from just your fence length.

Skip the math next time

Our free Fence Calculator does all of this instantly. pickets, posts, and rails.

Try the Fence Calculator →