How much fencing do you need? Enter your fence length, height, and type to get an instant materials list — posts, rails, pickets, concrete bags, and estimated cost included.
Estimating fence materials comes down to four steps: measure the total run of fence, determine post spacing, figure out how many panels or pickets fill each bay, and calculate how many rails span between posts. This calculator handles all of that automatically and adjusts for fence type.
Gate openings are excluded from the picket/panel count but gate posts are included in the post count. Each gate requires its own pair of posts set in concrete.
The right fence type depends on your goals for privacy, security, aesthetics, and budget. Here is a quick comparison of the four most common residential fence types:
| Fence Type | Privacy | Typical Cost / Lin. Ft | Lifespan | Notes |
|---|---|---|---|---|
| Wood Privacy | Full | $20–$45 | 15–20 years | Most popular; needs staining or sealing every few years |
| Wood Picket | Low | $10–$25 | 15–20 years | Classic look; good for front yards; gaps between pickets |
| Chain Link | None | $8–$20 | 20–30 years | Lowest cost; very durable; add privacy slats if desired |
| Vinyl | Full | $25–$60 | 25–40 years | No maintenance; won’t rot or rust; higher upfront cost |
Post spacing is one of the most important decisions in fence design. Spacing that is too wide leads to sagging rails and wobbly panels; too close wastes material unnecessarily.
Always check local building codes. Some municipalities restrict maximum post spacing for fences above a certain height, especially in high-wind zones.
The number of horizontal rails between each pair of posts depends on fence height:
Every fence post needs to be set in concrete to resist racking, frost heave, and wind load. The standard rule of thumb is to bury posts one-third of their total length (so a 9 ft post for a 6 ft fence needs a 3 ft deep hole). Use a minimum of two 50-lb bags of fast-setting concrete per post for standard 4×4 posts in average soil. Loose or sandy soil, larger diameter posts, or tall fences may require three bags.
This calculator assumes 2 bags of 50-lb fast-set concrete per post as a default. For 8 ft fences or poor soil, budget for 3 bags per post and adjust your cost estimate accordingly.
Before breaking ground, check these three things:
Fence installation is one of the more accessible DIY projects for a handy homeowner, but it is also more labour-intensive than most people expect. Here is a realistic breakdown:
Get free, no-obligation quotes from licensed contractors in your area. Compare prices and save up to 30%.
Free service. No credit card required. Licensed & insured contractors only.
Get free, no-obligation estimates from licensed contractors in your area.
Get Free EstimatesA 6-foot privacy fence costs $15-$35 per linear foot for materials (pressure-treated wood). Cedar costs $20-$45/ft, vinyl $25-$55/ft, and aluminum $25-$75/ft. Professional installation adds $10-$30 per linear foot in labor. A typical 200-foot fence perimeter costs $3,000-$7,000 in materials.
Fence posts should be spaced 6 to 8 feet apart, with 8 feet being most common for wood privacy fences. Posts should be set in concrete at least 2 feet deep (or one-third of the total post length for posts taller than 6 feet).
Divide the total fence length in inches by the picket width plus gap. For a 200-foot fence with 3.5-inch pickets and 0.25-inch gaps, you need: (200 x 12) / 3.75 = 640 pickets. Add 5-10% for waste and cuts.
Materials and tools for your fence project
As an Amazon Associate, we earn from qualifying purchases. This helps keep our tools free.