Calculate posts, pickets, rails, concrete, and total project cost for any fence style.
Getting the material count right before you head to the lumber yard saves time, money, and the frustration of a mid-project hardware run. Fence material calculations are straightforward math, but small mistakes compound quickly โ especially on longer runs. Here's exactly how every quantity is derived.
Posts define the structure of your fence, and every other material quantity flows from them. The formula is simple: divide your total fence length by your post spacing, round up to the nearest whole number, then add 1. That extra post accounts for the end post on the final section. For a 150-foot fence with 8-foot spacing, you get 19 sections (โ150 รท 8โ = 19), requiring 20 posts. Always round up sections โ you can never have a partial section.
Standard post spacing is 6โ8 feet for wood privacy fences and 8โ10 feet for split-rail. Chain link commonly spaces at 10 feet. Closer spacing increases post and concrete costs but provides a sturdier fence that better resists wind load and impact. For gates, corner posts, and end posts, plan on using a larger timber โ 4ร6 or 6ร6 instead of 4ร4 โ because they bear more lateral stress.
Pickets are calculated in inches, not feet. Convert your fence length to inches (multiply by 12), then divide by the combined picket unit โ that's the picket width plus any gap. Standard dog-ear fence boards are 5.5 inches wide (a nominal 1ร6). For a tight privacy fence with zero gap, each picket covers exactly 5.5 inches. For a classic picket fence with 2-inch spacing, each unit is 7.5 inches. Divide total fence inches by unit width and round up.
Board-on-board fencing โ where pickets alternate front and back, overlapping by about 1 inch โ requires roughly 1.5ร the picket count of a standard privacy fence. This style eliminates gaps entirely while still allowing air movement, and it looks identical from both sides. It's the premium option when aesthetics on both faces of the fence matter.
Rails per section depends on fence height. A 4-foot fence needs 2 rails (top and bottom). A 6-foot privacy fence needs 3 rails. Fences over 7 feet typically require 4 rails. Total rail count equals sections multiplied by rails per section. For lumber length, rails typically come in 8-foot boards โ one board per bay when post spacing matches.
Screw count follows a consistent formula: 2 screws per picket per rail (top and bottom attachment), plus 4 screws per post per rail for the rail-to-post connection. For a 150-foot privacy fence this typically works out to 900โ1,200 screws. Buy in bulk โ a 5-pound box of 1-5/8" coarse thread screws (around 550 per box) covers most mid-size projects.
Concrete bags default to 2 per post. A standard 50-pound bag of fast-setting concrete fills roughly a 10-inch diameter, 24-inch deep hole. Two bags per post is conservative and appropriate for most residential applications. For corner posts, gate posts, or posts in high-wind areas, use 3โ4 bags per post.
| Fence Height | Post Size | Post Spacing | Rails Needed | Hole Depth |
|---|---|---|---|---|
| 3โ4 ft | 4ร4 | 6โ8 ft | 2 | 24 in (2 ft) |
| 5โ6 ft | 4ร4 | 6โ8 ft | 3 | 30 in (2.5 ft) |
| 7โ8 ft | 4ร4 or 4ร6 | 6โ8 ft | 3โ4 | 36 in (3 ft) |
| Gate / Corner Post | 4ร6 or 6ร6 | N/A | N/A | 36โ48 in |
| Split Rail (2-rail) | 5 in round | 8โ10 ft | 2 | 24 in (2 ft) |
| Chain Link | 2 in pipe | 10 ft | N/A | 24โ30 in |
A common mistake is buying posts that are exactly as tall as the fence height. Posts need to be buried โ the general rule is one-third of the total post length in the ground. For a 6-foot fence, posts should be buried at least 2 feet, so you need 8-foot posts. Standard dimensional lumber comes in 6, 8, 10, and 12-foot lengths, making this calculation easy. In freeze-thaw climates, the buried depth should meet or exceed your local frost line depth, which ranges from 12 inches in the deep south to 48+ inches in the northern US and Canada.
The style of fence you choose determines not just aesthetics but material quantity, installation difficulty, cost, maintenance requirements, and lifespan. Each style has a distinct use case, and picking the wrong one creates ongoing regret. Here's an honest assessment of each major option.
The most popular residential fencing style in North America, a wood privacy fence offers complete visual blockage, natural aesthetics, and solid sound dampening. Standard construction uses 6-foot dog-ear pickets (1ร6 boards) mounted with zero gap between boards. Installation is DIY-friendly if you have a post hole digger and a full weekend. The main downsides are maintenance โ wood must be stained or sealed every 1โ3 years โ and lifespan of 15โ20 years before significant rot or warping. Pressure-treated lumber at the base of all contact points extends this significantly.
Board-on-board uses alternating boards on front and back rails, overlapping by about 1 inch. You get zero gaps, a fence that looks identical from both sides, and better wind resistance because the overlapping boards flex independently rather than acting as a solid sail. Material cost runs about 50% higher than standard privacy due to the extra pickets, but the result is a noticeably more substantial, premium-looking fence.
The classic white picket fence is purely aesthetic โ it defines boundaries and looks charming but provides no privacy. Pickets are typically narrower boards (1ร3 or 1ร4) spaced 2โ3 inches apart, standing 3โ4 feet tall. Because you're using thinner, shorter lumber with gaps, material cost is substantially lower than privacy fencing. A picket fence around a front yard typically runs $12โ$20 per linear foot installed, versus $22โ$35 for privacy.
Vinyl is the low-maintenance premium option. It never needs painting or staining, won't rot, and typically carries a lifetime warranty from quality manufacturers. Material costs are significantly higher upfront โ $25โ$40 per linear foot installed versus $18โ$28 for wood privacy โ but the 30-year lifespan with near-zero maintenance often makes the total cost of ownership competitive. The tradeoff is that vinyl looks like vinyl. It lacks the warmth of natural wood and can become brittle in extreme cold.
Split rail is the least expensive fencing option and the fastest to install. Two or three horizontal rails slot into pre-bored holes in round or half-round posts. No pickets, no screws, minimal concrete. A 2-rail split rail fence runs $8โ$15 per linear foot installed. It's ideal for defining property lines on rural or semi-rural lots, containing large animals, and creating a rustic aesthetic. It provides zero privacy and minimal security โ think of it as a visual boundary, not a physical barrier.
Chain link is the durability champion. Galvanized steel fabric lasts 20โ30+ years with virtually no maintenance. It's the standard for security applications, dog runs, commercial properties, and anywhere you need a clear, secure boundary without blocking sightlines. Installation is more technical than wood fencing โ stretching the fabric correctly requires experience and tension tools โ making DIY somewhat challenging. Cost is competitive with wood at $8โ$18 per linear foot depending on height and gauge of fabric.
| Style | Cost/ft Installed | Lifespan | Maintenance | Privacy | DIY Difficulty |
|---|---|---|---|---|---|
| Privacy Wood | $18โ$28 | 15โ20 yrs | Annual seal/stain | Full | Medium |
| Board-on-Board | $22โ$35 | 15โ20 yrs | Annual seal/stain | Full | Medium |
| Picket Wood | $12โ$20 | 15โ20 yrs | Annual seal/stain | None | Easy |
| Vinyl | $25โ$40 | 25โ35 yrs | Occasional wash | Full | Medium |
| Split Rail | $8โ$15 | 10โ15 yrs | Low | None | Easy |
| Chain Link | $8โ$18 | 20โ30 yrs | Very low | None | Hard |
The material estimate is only part of the story. Several additional costs catch homeowners off guard, and understanding them upfront prevents budget overruns. A 150-foot wood privacy fence with $2,500 in materials can easily reach $6,000โ$8,000 as a finished project once all factors are included.
Professional fence installation typically runs $20โ$40 per linear foot for labor, depending on region, fence complexity, and ground conditions. Rocky soil, tree roots, or slopes significantly increase labor cost because post installation takes much longer. A DIY installation on a 150-foot fence can save $3,000โ$6,000, but requires a full weekend for two people plus renting or buying a post hole digger ($80โ$200/day for a gas-powered auger).
Most municipalities require a permit for fence installation, typically $50โ$200, and many have restrictions on fence height (commonly 4 feet in front yards, 6 feet in backyards), materials, and setback distances from property lines. Building a fence without a permit can result in fines and a forced removal order. Before breaking ground, also have your property lines professionally surveyed or use your existing survey markers โ building even 6 inches onto a neighbor's property creates significant legal and relationship problems.
A single walk gate (3-foot width) adds $150โ$400 in materials and $100โ$200 in labor. A drive gate (10โ12 feet) runs $600โ$1,200. Post caps ($5โ$25 each) prevent water infiltration into the end grain and extend post life by years. Decorative hardware like stainless hinges and self-closing latches add $40โ$120 per gate. Stain or sealant for a 150-foot fence runs $100โ$200 per application. Don't forget to call 811 (free underground utility locating service in the US) before digging any post holes.