Skip to main content
Residential Free Pro Features Available

Fence Material Calculator

Calculate posts, rails, pickets, concrete, and hardware for wood, vinyl, and chain-link fences with frost-line-aware post depth.

Enter your total fence length, fence type, and local frost depth to get a full material list. The calculator sizes post holes to extend below the frost line, calculates concrete per hole based on post diameter, accounts for gate post upsizing, and counts rails and pickets per section. Supports six common fence types including privacy, shadowbox, split rail, picket, chain link, and horizontal slat.

Pro Tip: Set corner and gate posts in concrete that extends 6 inches above grade, sloped away from the post to shed water. Below-grade concrete that traps moisture against the post base is the number one cause of premature wood post rot, even with pressure-treated lumber.

PREVIEW All Pro features are currently free for a limited time. No license key required.

Fence Material Calculator

How It Works

  1. Enter Total Fence Length

    Input the total linear footage of fencing. If the layout is irregular, measure each straight run and add them together. Include gate opening widths in the total.

  2. Select Fence Type

    Choose from privacy (full board), shadowbox (alternating boards), picket, split rail, chain link, or horizontal slat. Each type has different rail counts and picket spacing.

  3. Set Post Spacing and Depth

    Standard post spacing is 8 feet on center for wood fences and 10 feet for chain link. Post depth should be 1/3 of total post length or below the frost line, whichever is deeper. Enter your local frost depth in inches.

  4. Configure Gates

    Specify the number and width of gates. Gate posts are automatically upsized (e.g., from 4x4 to 6x6 for wood fences) and get heavier-duty concrete footings.

  5. Review Material List

    The calculator returns post count and size, rail count and length, picket or board count, bags of concrete per post hole, post caps, screws or nails, and gate hardware sets.

Built For

  • Homeowners installing a privacy fence around a backyard who need a complete shopping list for the lumber yard.
  • Contractors quoting fence jobs with accurate material costs broken down by post, rail, and picket counts.
  • Property owners in cold climates ensuring post depth meets local frost line requirements to prevent heaving.
  • DIYers comparing material costs between wood privacy, vinyl, and chain-link options for the same property.

Assumptions

  • Post spacing of 8 feet on center for wood fences and 10 feet for chain link.
  • Gate posts upsized one size (4x4 to 6x6, or 6x6 to 8x8) for structural support.
  • Concrete hole diameter is post width plus 4-6 inches on each side.

Limitations

  • Does not calculate additional bracing for high-wind zones or fences taller than 8 feet.
  • Terrain slope adjustments must be calculated manually; the tool assumes level ground for material counts.

References

  • Frost depth map from NOAA and the International Building Code Table R403.1(1).
  • Post sizing and rail spacing based on American Fence Association residential fence construction standards.

Frequently Asked Questions

The standard rule is 1/3 of the total post length in the ground, which means a 6-foot fence uses 8-foot posts buried 24 inches deep. However, in cold climates, post depth must reach below the frost line (36-48 inches in northern states) to prevent frost heave. Your local building department can provide the frost depth for your area.
A standard 4x4 post in a 10-inch diameter hole, 24 inches deep, requires about 0.6 cubic feet of concrete, which is roughly one 80-lb bag of premix. A 6x6 gate post in a 12-inch hole, 36 inches deep, needs about 1.5 bags. The calculator accounts for the post volume displacing concrete in the hole.
For a privacy fence with no gaps, use the actual board width (typically 5.5 inches for a nominal 1x6). Shadowbox fences overlap boards by about 1 inch on alternating sides, so you need roughly 30% more boards. Traditional picket fences space pickets 2.5-3.5 inches apart, using roughly half as many boards as a privacy fence.
Yes, for any wood post in ground contact. Use ground-contact rated lumber (UC4A or UC4B retention level). Standard above-ground pressure-treated lumber (UC3B) does not have enough preservative for buried applications. Cedar and redwood heartwood resist rot naturally but still benefit from a preservative coating below grade.
A fence up to 5 feet tall uses two horizontal rails (top and bottom). Fences 6 feet and taller should have three rails (top, middle, and bottom) to prevent picket warping and to meet wind load requirements. The bottom rail should be 6-8 inches above grade to avoid ground contact and rot.
You have two options: step the fence (each section level, with a vertical drop at each post) or rack the fence (angling each section to follow the slope). Stepping is easier for DIYers and works with prefab panels. Racking requires cutting pickets at an angle and is more labor-intensive but follows the ground profile smoothly.
Disclaimer: Verify post depths against local building codes and frost line requirements. Material quantities assume straight-line runs; corners and curves require additional posts.

Learn More

Residential

Fence Materials: Posts, Rails, Concrete, and Hardware

Post depth by frost line, concrete per hole calculation, gate post sizing, and complete material lists for six fence types.

Related Tools

Residential Live

Paint Coverage Calculator

Calculate gallons of primer and topcoat needed for any room or project. Surface-aware coverage rates, color change logic, multi-room batch mode, and spray waste factors.

Residential Live

Mulch, Topsoil & Gravel Calculator

Calculate cubic yards, bags, and truck loads for mulch, topsoil, gravel, sand, and decorative stone. Includes compaction factors, weight estimates, and bulk vs bag cost comparison.

Residential Live

Tile & Flooring Calculator

Calculate tile count, boxes, thinset, grout, and cost for floors, walls, backsplashes, and showers. Pattern-aware waste factors for herringbone, diagonal, chevron, and more.