How to Calculate Fence Materials

Successful fence planning starts with three core measurements: total fence length, post spacing, and fence height. Post spacing—typically 6 to 8 feet apart—directly affects how many posts you'll need. A longer span between posts reduces material costs but requires stronger posts to prevent sagging.

Once you input these values, the calculator automatically determines:

  • Number of posts required (including corner and end posts)
  • Fence sections needed between each pair of posts
  • Total horizontal rails for structural support
  • Pickets or boards required for the fence face
  • Concrete volume for setting posts below the frost line

For picket fences, you'll also define picket width and spacing—the gap between adjacent pickets. These two dimensions combined determine how many pickets fit along your fence length.

Core Fence Calculations

These formulas account for the spacing and dimensions you provide. Post count includes both intermediate posts and endpoints. Rail calculations assume horizontal members are distributed evenly across all sections. Concrete volume formulas differ depending on whether you use square or round posts.

Posts = ⌈Fence length ÷ Post spacing⌉ + 1

Sections = ⌈Fence length ÷ Post spacing⌉

Rails = Rails per section × Sections

Pickets = ⌈Fence length ÷ (Picket width + Spacing)⌉

Post length = Fence height × 1.5

Concrete (round) = (π/4) × [(3D)² − D²] × (Post length/3) × Posts

Concrete (square) = (3W × 3T − W × T) × (Post length/3) × Posts

  • Fence length — Total perimeter or run you're enclosing, measured in feet or metres
  • Post spacing — Distance between post centres; typically 6–8 ft (2–2.4 m)
  • Fence height — Visible height of the finished fence above ground
  • Post length — Total length of each post; buried portion is one-third of total
  • Picket width — Width of each vertical board or picket
  • Picket spacing — Gap between adjacent pickets
  • Rails per section — Number of horizontal support beams (usually 2–3)
  • D (round posts) — Diameter of a circular post
  • W, T (square posts) — Width and thickness of a square or rectangular post

Why Post Spacing Matters

Post spacing is the single largest driver of material quantity and cost. A 300-foot fence with 6-foot spacing requires far more posts—and more concrete—than the same fence with 8-foot spacing. The trade-off is structural: tighter spacing (6 ft) suits tall fences (6–8 ft) and high-wind regions, while looser spacing (8 ft) works for short fences (3–4 ft) in sheltered areas.

Buried depth follows a standard rule: at least one-third of the post length must be underground. So a 4×4 post supporting a 6-foot-tall fence needs to be 9 feet long overall—3 feet buried and 6 feet above ground. Skipping this can lead to leaning or collapsed sections within a few seasons.

Common Mistakes to Avoid

Apply these insights to prevent costly rework and material waste.

  1. Ignoring local frost depth — Posts must extend below your region's frost line to prevent heave. In northern climates, this can mean 3–4 feet of burial, not the standard one-third. Check local building codes before finalizing post length.
  2. Underestimating picket overlap and waste — Pickets and boards aren't 100 % usable off the truck; cuts at corners, gates, and around obstacles generate 10–15 % waste. Order 10–15 % extra material to avoid mid-project shortages.
  3. Forgetting about gate openings — If your fence includes a gate, subtract its width from the picket count and adjust the rail layout. A 4-foot gate on a 100-foot fence reduces picket demand significantly but changes structural requirements.
  4. Mixing post types without recalculating — Round and square posts require different concrete volumes and burial depths. If you decide mid-project to switch from 4×4 to a round post, recalculate concrete needs—the volumes differ substantially.

Concrete Requirements for Stable Posts

Concrete is non-negotiable for long-term fence stability. The volume depends on post shape and the size of the hole—which is typically 3 times the post width or diameter on each side, creating a generous collar around the post.

For a 4×4 square post in a 6-foot-tall fence, you need approximately 0.32 cubic yards (4,608 cubic inches) of concrete per post. Round posts have a smaller footprint, reducing concrete demand. Always order concrete in whole bags or cubic yards; partial deliveries cost more and create waste. Pre-mixed bags work for small projects (under 10 posts); consider ready-mix concrete trucks for larger fences.

Frequently Asked Questions

How many fence posts do I need for a 100-foot run?

At standard 6-foot spacing, a 100-foot fence requires 18 posts (100 ÷ 6 = 16.67, rounded up to 17 sections, plus 1 for the end = 18). At 8-foot spacing, you need 14 posts. The formula accounts for both the intermediate posts between sections and the two end posts. Adjust the spacing if you're wrapping a closed perimeter (like a yard) versus a straight run, as the maths shifts slightly.

What size post do I need for a 6-foot-tall fence?

A 6-foot-tall fence typically requires a 4×4 post (or 4-inch diameter round post) at minimum, with a total length of 9 feet (6 feet above ground plus 3 feet buried). For windy areas or fences taller than 6 feet, consider upgrading to 6×6 posts. Spacing also matters: tighter 6-foot spacing is safer with standard 4×4 posts, while 8-foot spacing demands beefier posts or additional cross-bracing to prevent sagging.

How much concrete do I need for fence posts?

Concrete volume varies by post dimensions. A typical 4×4 post in a 6-foot-tall fence needs about 0.32 cubic yards (4,608 in³). Round posts (4-inch diameter) require roughly 0.25 cubic yards. Multiply this by your total number of posts to get total concrete. A 100-foot fence with 18 posts spaced 6 feet apart (using 4×4 posts) needs approximately 5.76 cubic yards—roughly 10–12 bags of 60-lb pre-mix or one ready-mix truck delivery.

What's the difference between picket spacing and post spacing?

Post spacing is the distance between fence posts (6–8 feet); picket spacing is the gap between individual boards or pickets (1–2 inches). Together, picket width and spacing determine how many pickets fit along your fence. A 100-foot fence with 6-inch-wide pickets and 2-inch gaps needs 145 pickets. Post spacing affects posts, rails, and concrete; picket spacing affects only the number of pickets and visual appearance.

Can I adjust spacing if I hit rocks or obstacles?

Yes, but carefully. If excavation uncovers rock or roots at a planned post hole, you can shift one post up to 1 foot without significantly affecting fence appearance or strength. However, shifting multiple posts or deviating widely from your spacing pattern weakens the fence. Reorder and account for these variations in your material list—you may need extra posts and concrete if the average spacing shrinks.

Should I use more posts in windy regions?

Absolutely. Wind load is a major factor in fence failure. In coastal or high-wind areas, reduce post spacing from 8 feet to 6 feet, or even to 4 feet for very tall or solid fences (like privacy fences with minimal gaps). Closer spacing and heavier posts (6×6 instead of 4×4) distribute wind forces more evenly. Also ensure at least one-third of post length is buried, and use concrete-sealed post bases to prevent water infiltration and rot.

More construction calculators (see all)