Fence Material Calculator

Find the posts, rails, pickets & concrete for your fence

Frequently Asked Questions

Posts = sections + 1 (plus any corner or gate posts), where sections = fence length ÷ post spacing, rounded up. A straight run needs a post at both ends, not just one per section.
Divide the fence length by the picket width plus the gap between pickets. A solid privacy fence uses a 0 gap; a spaced picket fence adds a gap.
Roughly (hole volume − post volume), where the hole is about 3× the post's width/diameter. A standard 60 lb bag yields about 0.45 cu ft of concrete.
About 1.5× the fence height, since roughly a third of the post length is buried below ground for stability.

How fence materials are calculated

  • Sections = fence length ÷ post spacing, rounded up
  • Posts = sections + 1, plus extra posts for corners and gates
  • Rails = sections × rails per section
  • Pickets = fence length ÷ (picket width + gap)
  • Post length = fence height × 1.5, with one third of the post in the ground
  • Concrete = (hole volume − post volume) × posts, with holes three times the post width

Example

A 100-foot, 6-foot privacy fence with posts every 8 feet: 13 sections, 14 posts (9 feet long, 3 feet buried) and 39 rails with three rails per section. With 5½-inch pickets set tight, you need 219 pickets. Each 12-inch-wide, 3-foot-deep hole takes about 2.7 cubic feet of concrete, so 14 posts need about 83 bags of 60 lb concrete mix.

Post spacing and depth

Six to eight feet between posts is standard; 8 feet matches common rail lengths with no waste. Set posts at least one third of their length deep and below the frost line in cold climates, or frost can push them up. Many builders use 4×4 posts for fences up to 6 feet and 6×6 posts for gates or taller fences.

Concrete or gravel?

Concrete gives the strongest set, especially for gate posts and windy sites. Some builders prefer compacted gravel around wood posts so water drains away from the bottom and the wood rots more slowly. Either way, add a few inches of gravel in the bottom of each hole and slope the top away from the post.

Tips before you buy

  • Call 811 a few days before digging to have underground utilities marked; it is free.
  • Check local rules and HOA covenants for height limits (often 6 feet in back yards, 3 to 4 feet in front) and permits.
  • Add 5% to 10% extra pickets for split or warped boards.
  • Use ground-contact rated pressure-treated lumber for posts and hot-dipped galvanized or stainless fasteners.

For total project cost including labor, try the fence cost calculator. Price lumber by board feet with the lumber calculator, or measure in running length with the linear foot calculator.