Reviewed and updated: August 2026
Estimate posts, pickets or panels, rails, concrete bags, and material cost for wood picket, privacy, split rail, and chain link fence projects.
Use this fence calculator to estimate posts, pickets or panels, rails, concrete bags, and material cost for common fence projects.
The calculator works for wood picket fences, privacy fences, split rail fences, and chain link fences. Enter your total fence length, height, post spacing, gate openings, and material prices to create a practical planning estimate before buying materials.
Start by measuring the total fence length in feet. Then choose your fence type, post spacing, and fence height.
Most fence estimates include:
For many fences, post count is estimated by dividing the total fence length by the post spacing, then adding one extra post for the end of the run.
Estimated posts = fence length ÷ post spacing + 1
Common fence post spacing is usually 6 feet or 8 feet on center. The right spacing depends on fence type, height, material, wind exposure, and local requirements.
Shorter spacing can create a stronger fence, especially for tall fences or windy areas.
A common rule of thumb is to bury about one-third of the total post length in the ground. Many fence posts also need a few inches of gravel at the bottom of the hole for drainage.
For a 6-foot fence, posts are often set about 2 to 3 feet deep depending on soil, fence height, and local frost depth.
In areas with freezing temperatures, post holes may need to extend below the frost line. Always check local code and site conditions before digging.
Picket count depends on fence length, picket width, and spacing between pickets. Privacy fences usually have little or no gap between boards, while picket fences often include visible spacing.
Panel fences are estimated differently because the fence is sold in full panels. If using prebuilt panels, divide the fence length by the panel width and round up.
Rails are usually estimated by fence section. Many wood fences use two or three horizontal rails per section depending on height and style.
Concrete needs vary based on hole diameter and depth. A larger or deeper post hole requires more concrete.
For a typical 6-inch diameter hole around 30 inches deep, plan on roughly 1 to 2 bags per post depending on bag size and how much gravel is used.
Use this as a planning estimate only. Soil type, post size, hole size, and local requirements can change the amount needed.
After estimating materials, multiply the quantity of each item by your local material price. Include posts, pickets or panels, rails, concrete, fasteners, brackets, gates, hinges, and latches.
Labor, permits, demolition, hauling, and grading are not included in this calculator unless you add them separately.
Need help estimating total project cost? Read our project cost estimation guide.
Before ordering materials, sketch your fence layout and identify every post location. The diagram below shows how post spacing, gate openings, and corners affect your total post count.
Posts = fence length ÷ spacing + 1 · Gate posts aren't added automatically, budget for them separately · Subtract gate width from picket count
The right fence type depends on your goal, budget, and maintenance tolerance. Here is an honest comparison of the most common residential options:
| Fence Type | Material Cost (per LF installed) | Privacy | Lifespan | Maintenance |
|---|---|---|---|---|
| Wood picket | $15–$30 | Low | 10–20 yrs | Paint or stain every 3–5 years; check posts annually |
| Wood privacy (dog-ear) | $20–$45 | Full | 10–20 yrs | Same as picket; boards may warp or split over time |
| Cedar privacy | $25–$55 | Full | 15–25 yrs | Stain every 3–5 years; natural oils add rot resistance |
| Split rail | $12–$25 | None | 15–25 yrs | Minimal; posts may rot at ground; cedar or locust preferred |
| Chain link | $15–$35 | None (unless slats added) | 20–30 yrs | Very low; galvanized coating resists rust |
| Vinyl/PVC privacy | $30–$60 | Full | 20–30 yrs | Very low; wash annually; no painting required |
| Aluminum (ornamental) | $25–$60 | None | 25–40 yrs | Very low; powder coating resists corrosion |
| Composite | $35–$75 | Full | 25–30 yrs | Low; same as composite decking, wash annually |
Post depth is the most critical structural decision in fence installation. A post that is too shallow will heave in frost, lean under wind load, or rot at the ground line prematurely. The standard rule is to bury one-third of the total post length, with a minimum depth that clears the local frost line.
| Fence Height | Post Length | Min. Burial Depth | Frost Country |
|---|---|---|---|
| 4 ft fence | 6 ft post | 2 ft | Extend 6" below frost line |
| 6 ft fence | 8 ft post | 2.5–3 ft | Extend 6" below frost line |
| 8 ft fence | 10–12 ft post | 3–4 ft | Must clear frost line; engineer if high wind |
| Gate posts | Add 1 ft to field post | Same + 6" | Gates add leverage; deeper is always better |
Concrete bags per post depend on hole diameter and depth. Standard fence post holes are 8–12 inches in diameter. A typical 8-inch diameter hole at 30 inches deep holds about 0.87 cubic feet, roughly 1.5 bags of 80 lb concrete. A 10-inch hole at the same depth holds about 1.4 cubic feet, or 2–3 bags. Always put 3–4 inches of gravel at the bottom of the hole for drainage before setting the post, and crown the concrete above grade so water sheds away from the post.
A complete fence material estimate goes beyond posts, pickets, and rails. These items are easy to forget and add up quickly on a real project:
| Item | Typical Quantity | Notes |
|---|---|---|
| Concrete bags | 1–3 bags per post | Depends on hole diameter and depth; not included in basic estimate |
| Gravel (drainage) | 3–4 inches per hole | Critical for post longevity; prevents moisture wicking |
| Deck screws or nails | ~1 lb per 50 pickets | Use hot-dipped galvanized or stainless with PT lumber |
| Rail brackets / post caps | 2–3 per post | Prevents water pooling on post tops |
| Gate hardware | 2 hinges + 1 latch per gate | Heavy-duty hinges for gates over 4 ft wide |
| Gate frame lumber | Gate perimeter + diagonal brace | Diagonal brace is essential to prevent gate sag |
| Permit | Varies by jurisdiction | Many municipalities require permits for fences over 4 ft |
The most expensive fence mistakes happen before the first post goes in the ground. Property line disputes, permit violations, and undersized posts are far cheaper to prevent than to fix after the fence is built.