Fence Calculator Wood: How to Estimate Materials
- Total rail length
- ft
- Result
- Number of pickets
- Result
- Board feet (rough)
- bd ft
- Result
A wood fence calculator estimates the number of posts, rails, pickets, and fasteners you need for a fence project, along with the total cost of lumber. You enter the fence length, height, and post spacing, and it returns material counts and board footage. This guide explains the formulas, common mistakes, and how to use the results for purchasing.
Formula
The calculator uses basic geometry and spacing rules. For a straight fence line:
- Number of posts = ⌈(fence length / post spacing)⌉ + 1 (one at each end).
- Number of rails = (number of sections) × (rails per section). Most wood fences use 2 or 3 horizontal rails; the calculator assumes 2.
- Number of pickets = ⌈(fence length in inches) / (picket width + gap)⌉.
- Board feet = (volume of posts) + (volume of rails) + (volume of pickets), where volume = (thickness in inches × width in inches × length in inches) / 144.
Here, ⌈⌉ means round up to the next whole number. All lengths are in feet unless noted. The calculator uses nominal lumber dimensions (e.g., a 4×4 post is 4 inches by 4 inches).
Worked Example
Using the default values: fence length = 100 ft, height = 6 ft, post spacing = 8 ft, post width = 4 in, picket width = 5.5 in, picket gap = 0.5 in.
- Posts: 100 / 8 = 12.5, round up to 13, plus 1 = 14 posts.
- Rails: 2 rails per section, total rail length = 100 × 2 = 200 ft.
- Pickets: 100 ft × 12 = 1200 in. Picket width + gap = 5.5 + 0.5 = 6 in. 1200 / 6 = 200 pickets.
- Board feet: Posts: 14 × (4×4×72)/144 = 14 × 8 = 112 bd ft. Rails: 200 ft × 2 in × 4 in × 12 in/ft / 144 = 200 × 96/144 = 133.33 bd ft. Pickets: 200 × (5.5×1×72)/144 = 200 × 2.75 = 550 bd ft. Total = 112 + 133.33 + 550 = 795.33 bd ft.
The calculator rounds the total to 795.33 board feet. This matches the output.
When to Use a Wood Fence Calculator
Use this tool before buying materials for any wood privacy fence, picket fence, or semi-privacy fence. It helps you:
- Create a materials list for a hardware store order.
- Estimate the cost by multiplying board feet by local lumber prices.
- Compare different post spacings or picket gaps to reduce waste.
- Plan for concrete, gravel, or post anchors (not included here).
It works best for straight, level ground. For slopes or curved lines, you need extra posts and may need to step the fence.
How to Choose Input Values
The accuracy of the estimate depends on the numbers you enter. Here are typical values:
- Fence length: Measure the exact perimeter, not the property line. Use a measuring wheel or tape.
- Height: Common heights: 4 ft for decorative, 6 ft for privacy, 8 ft for extra privacy. Check local codes for limits.
- Post spacing: 8 ft is standard for wood fences, but 6 ft is stronger for high winds. Closer spacing means more posts and cost.
- Picket width: Standard 1×6 pickets are 5.5 inches wide (nominal 6 inches).
- Picket gap: 0.5 inches is common for privacy fences; 1–2 inches for semi-private.
If you plan to use 3 rails instead of 2, multiply the rail length by 1.5. The calculator assumes 2 rails, which is fine for most residential fences.
Common Mistakes and How to Avoid Them
People often misjudge material needs. Watch out for:
- Mixing units: Convert everything to inches or feet consistently. The calculator does that for you, but when you manually calculate, keep units straight.
- Forgetting the extra post: Always add one post for the endpoint. A 100 ft fence with 8 ft spacing needs 14 posts, not 13.
- Rounding down: Always round up to the nearest whole picket and post. You can’t buy a fraction of a board.
- Ignoring waste: Add 5–10% for cuts, mistakes, and warped boards. The calculator gives an exact count; in practice you’ll need a few extra.
A common misconception is that board feet equals the number of boards. Board feet is a volume measure (1 ft × 1 ft × 1 in). A 6-ft 1×6 board is 3 board feet (6×0.5×1 = 3).
Limitations of the Calculator
This calculator provides a rough estimate, not a final design. It does not account for:
- Gates: A gate requires extra posts and hardware.
- Sloped terrain: On hills, you need longer posts and stepped rails.
- Corner posts: Corners often need larger posts (6×6) or bracing.
- Concrete volume: For setting posts, you need concrete mix—about 50 lb per post for a 4×4 in a 10-inch hole.
- Local building codes: Some areas require specific post depths, which affect lumber length.
For a professional installation, consult a contractor or engineer, especially for tall fences or high-wind zones.
Alternatives to Wood Fencing
Wood is classic but requires maintenance. Consider these options:
- Vinyl (PVC): Never needs painting, but costs more upfront and can crack in extreme cold.
- Composite: Made of wood fibers and plastic, looks like wood but resists rot. Heavier and pricier.
- Chain link: Cheap and durable, but not private.
- Aluminum/steel: Strong, low-maintenance, but more expensive.
If you stick with wood, choose rot-resistant species like cedar or pressure-treated pine. Cedar naturally resists insects, but costs more. Pressure-treated pine is cheaper but may warp.
Frequently Asked Questions
How many posts do I need for a 100 ft fence?
With 8 ft spacing, you need 14 posts (100/8 = 12.5, round up to 13, plus 1). If you use 6 ft spacing, you need 18 posts (100/6 = 16.67, round up to 17, plus 1).
How do I calculate the number of pickets?
Divide the fence length in inches by the picket width plus gap. For a 100 ft fence with 5.5-inch pickets and 0.5-inch gap, that’s 1200 / 6 = 200 pickets. Always round up.
What is a board foot?
A board foot is a volume unit equal to 144 cubic inches (12×12×1). Lumber is sold by the board foot. For example, a 6-ft 1×6 board is 3 board feet. Multiply thickness (in) × width (in) × length (in) / 144.
Should I use 2 or 3 rails?
For a 4-ft fence, 2 rails are enough. For 6-ft or taller, use 3 rails to prevent sagging. More rails add strength but increase cost. The calculator assumes 2; multiply rail length by 1.5 for 3 rails.
How much concrete do I need per post?
For a 4×4 post set in a 10-inch diameter hole, you need about 50 lb of dry concrete mix per post. That’s roughly 0.375 cubic feet. For a 6×6 post, use 75 lb. Always check the bag instructions.
Can I use this calculator for a chain link fence?
No, chain link fences use different materials (mesh, top rail, tension bands). The formulas for posts and rails differ. Use a dedicated chain link calculator.
Related
Formula used
in len | Fence length | ft | 100 | 0 in h | Fence height | ft | 6 | 0 in ps | Post spacing | ft | 8 | 0 in pw | Post width | in | 4 | 0 in pw2 | Picket width | in | 5.5 | 0 in gap | Picket gap | in | 0.5 | 0 out posts | Number of posts | - | ceil(len / ps) + 1 | 0 out rails | Total rail length | ft | (len * 2) | 0 out pickets | Number of pickets | - | ceil(len * 12 / (pw2 + gap)) | 0 out boardft | Board feet (rough) | bd ft | (posts * pw * pw * h * 12 / 144) + (rails * 2 * 4 * 12 / 144) + (pickets * pw2 * h * 12 / 144) | 2
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.