ThisCalculator

Construction

Calculator Fence Materials Needed: How to Estimate

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Calculator Fence Materials Needed: How to Estimate

This calculator estimates the materials needed to build a straight or rectangular fence: the number of posts, rails, pickets (boards), and the total length of lumber and concrete. You enter the total fence length, fence height, and spacing between posts and pickets, and it returns the quantities you need to buy. It also estimates concrete volume for setting the posts, so you can plan the entire project before going to the lumber yard.

Formula

The calculator uses basic arithmetic based on your inputs. The number of posts is the fence length divided by the post spacing, rounded up, plus one for the end post. The number of rails assumes three horizontal rails per section (top, middle, bottom), so it is the number of posts times three. The number of pickets is the fence length in inches divided by the sum of picket width and gap, rounded up. Concrete is the number of posts times the concrete per post.

  • Posts = ⌈L / S⌉ + 1, where L = fence length (ft), S = post spacing (ft)
  • Rails = Posts × 3 (for a 3-rail fence)
  • Pickets = ⌈(L × 12) / (W + G)⌉, where W = picket width (in), G = gap (in)
  • Concrete = Posts × C, where C = concrete per post (lb)

All quantities are rounded up to the nearest whole number because you cannot buy a fraction of a board or post.

Worked Example

Using the default values: fence length = 100 ft, height = 6 ft, post spacing = 8 ft, picket width = 5.5 in, picket gap = 0.5 in, concrete per post = 50 lb.

  1. Posts = ⌈100 / 8⌉ + 1 = ⌈12.5⌉ + 1 = 13 + 1 = 14 posts
  2. Rails = 14 × 3 = 42 boards (2x4s)
  3. Pickets = ⌈(100 × 12) / (5.5 + 0.5)⌉ = ⌈1200 / 6⌉ = 200 pickets
  4. Concrete = 14 × 50 = 700 lb

So for a 100-foot, 6-foot-tall fence with 8-foot post spacing and standard 5.5-inch pickets with a 0.5-inch gap, you need 14 posts, 42 rails, 200 pickets, and 700 lb of concrete. This matches the calculator output.

When to Use This Calculator

Use this tool when planning any wood privacy fence, picket fence, or even a split-rail fence (though that uses different materials). It is most accurate for a straight fence line with evenly spaced posts. If your fence has corners, gates, or changes in height, you will need to adjust the numbers: add extra posts at corners and gate openings, and add extra rails for gates. The calculator gives you a solid baseline for a simple rectangular yard.

It also helps you estimate costs: once you know the number of posts, rails, pickets, and concrete, you can multiply by local prices. Many people use this to compare quotes from contractors or to decide between wood and vinyl.

How to Choose Post Spacing and Picket Size

Post spacing is the most important decision. Common spacing is 6 to 8 feet for wood fences. Closer spacing (6 ft) makes the fence sturdier and allows thinner rails, but uses more posts and concrete. Wider spacing (8 ft) saves money but may require thicker rails or stronger posts to prevent sagging. For a 6-foot privacy fence, 8-foot spacing with 4×4 posts is typical.

Picket width and gap determine the look and the amount of lumber. Standard dog-eared pickets are 5.5 inches wide. For a privacy fence, you set them flush with no gap (gap = 0). For a decorative picket fence, you might use a 1- to 2-inch gap. The calculator lets you experiment: increase the gap to see how many fewer pickets you need.

Fence height matters for the length of pickets and posts. A 6-foot fence uses 6-foot pickets and 8-foot posts (2 feet below ground). A 4-foot fence uses 4-foot pickets and 6-foot posts. Adjust the height input to match your plan.

Common Mistakes and How to Avoid Them

  • Mixing units: The calculator uses feet for length and inches for picket width. Always convert to the same unit before doing math. For example, 100 ft = 1200 inches.
  • Forgetting the end post: Many people divide length by spacing and forget to add one. For a 100 ft fence with 8 ft spacing, you need 13 sections but 14 posts.
  • Rounding down: Always round up to the next whole number. You can’t buy 13.5 posts; you need 14.
  • Ignoring waste: The calculator gives exact quantities. In practice, add 10% for cuts, mistakes, and defective boards. For a 200-picket fence, buy 220 pickets.
  • Assuming all posts are the same length: Corner and gate posts may need to be longer or set deeper. Add extra length for those.

Limitations of the Formula

This calculator is a planning tool, not a substitute for a professional estimate. It assumes a straight, level fence with no obstacles. Real-world factors like slopes, rocky soil, frost depth, and local building codes affect post depth and concrete amount. For example, in cold climates, posts must be set below the frost line, which may require more concrete or longer posts. The concrete estimate is based on a typical 50 lb bag per post, but actual needs vary with hole diameter and depth. For a 8-inch diameter hole 30 inches deep, you need about 0.13 cubic yards of concrete, which is roughly 4 bags of 50 lb mix. Adjust the concrete per post accordingly.

Also, the calculator assumes three rails per section. Some fences use only two rails for shorter heights, or four for extra strength. Adjust the rail count in your head if needed.

Alternatives to Wood Fencing

While this calculator is designed for wood, you can adapt it for other materials. Vinyl fence panels come in fixed widths (e.g., 8 ft), so the number of panels is simply length divided by panel width. Chain link fencing uses posts and rolls of mesh; you still need posts at similar spacing, but no pickets. Composite fencing uses boards similar to wood, so the same picket calculation applies, but the boards are often wider (e.g., 6 inches) and you may not need gaps. For any material, the post and concrete calculations remain roughly the same.

Frequently Asked Questions

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

With 8-foot spacing, you need 14 posts (100/8 = 12.5, round up to 13, plus 1). If you use 6-foot spacing, you need 18 posts (100/6 = 16.67, round up to 17, plus 1).

How many pickets are in a 6-foot privacy fence?

For a 100-foot fence using 5.5-inch pickets with no gap, you need 219 pickets (100×12/5.5 = 218.18, round up to 219). With a 0.5-inch gap, you need 200 pickets as shown in the example.

How much concrete do I need per fence post?

It depends on the hole size. A typical 8-inch diameter hole 30 inches deep requires about 0.13 cubic yards of concrete, which is roughly four 50-lb bags. For sandy soil, you might need more; for clay, less. Always check local frost depth.

Should I use 2×4 or 2×6 rails?

For spans up to 8 feet, 2×4 rails are standard for most residential fences. If your post spacing is greater than 8 feet or you live in a high-wind area, use 2×6 rails to prevent sagging. The calculator assumes 2x4s, but you can adjust the lumber size without changing the count.

What is the best post spacing for a wood fence?

Eight feet is the most common for cost savings, but 6 feet is sturdier and allows for thinner pickets. If you use 4×4 posts, 8 feet is fine. If you use 3×3 posts, keep spacing to 6 feet.

How do I account for a gate in the fence?

Add two extra posts for each gate (one on each side) and do not count the gate opening as picket area. For example, a 4-foot gate reduces the picket count by about 8 pickets (4×12/6). Add the gate hardware and frame materials separately.

Related

Formula used
in L | Fence length | ft | 100 | 0
in H | Fence height | ft | 6 | 0
in post_spacing | Post spacing | ft | 8 | 0
in picket_width | Picket width | in | 5.5 | 0
in picket_gap | Picket gap | in | 0.5 | 0
in concrete_per_post | Concrete per post | lb | 50 | 0
out posts | Posts needed | posts | ceil(L / post_spacing) + 1 | 0
out rails | Rail boards (2x4) | boards | (ceil(L / post_spacing) + 1) * 3 | 0
out pickets | Pickets needed | pickets | ceil(L * 12 / (picket_width + picket_gap)) | 0
out concrete | Concrete total | lb | (ceil(L / post_spacing) + 1) * concrete_per_post | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.