To calculate lumber requirements for a fence, you need to determine the total linear footage of the fence line, the spacing between posts, and the width of the pickets or boards. This calculator helps you estimate the number of posts, rails, and pickets needed based on your fence dimensions and spacing choices.
Formula
The calculator uses three main formulas:
- Posts needed = ceil(Fence length / Post spacing) + 1. The +1 accounts for the end post.
- Rails needed = ceil(Fence length / Post spacing) × Number of rails. Each section between posts gets the same number of rails.
- Pickets needed = ceil(Fence length × 12 / (Picket width + Gap)). This converts the fence length to inches and divides by the combined width of one picket plus the gap.
Where:
- Fence length (ft) – total length of the fence line.
- Post spacing (ft) – distance between centers of adjacent posts.
- Picket width (in) – actual width of each picket board.
- Picket gap (in) – space between pickets (0 for a solid board-on-board fence).
- Number of rails – horizontal supports per section (typically 2 or 3).
Worked Example
Using the default values: fence length = 100 ft, post spacing = 8 ft, picket width = 5.5 in, gap = 0.5 in, rails = 2.
- Posts: 100 / 8 = 12.5, ceil = 13, plus 1 = 14 posts.
- Rails: 13 sections × 2 rails = 26 rails.
- Pickets: 100 × 12 = 1200 in. 5.5 + 0.5 = 6 in per picket. 1200 / 6 = 200, so 200 pickets.
- Total lumber: 14 posts × 8 ft = 112 ft. 26 rails × 100 ft = 2600 ft (assuming each rail runs the full length – in practice you may cut them to fit sections). 200 pickets × (5.5/12) ft = 91.67 ft. Total = 112 + 2600 + 91.67 = 2803.67 linear ft.
The calculator rounds up to whole boards, so the result matches: 14 posts, 26 rails, 200 pickets, and about 2804 linear ft of lumber.
When to Use This Calculator
Use this tool when planning a new wood fence, replacing sections, or estimating material costs. It works for privacy fences (pickets close together), semi-private (small gaps), and decorative fences with wider spacing. It also helps you compare different post spacings – for example, 6 ft spacing uses more posts but may allow thinner rails than 8 ft spacing.
How to Read the Results
The outputs are whole numbers because you can’t buy a fraction of a board. The total linear footage is a sum of all board lengths, but note that rails and pickets are often sold in standard lengths (8 ft, 10 ft, 12 ft). You’ll need to convert linear feet to the number of boards of a chosen length. For instance, 200 pickets at 6 ft each would be 1200 linear ft, but if pickets come in 8 ft lengths, you’d need 200 × 8 = 1600 ft and would have waste.
Common Mistakes and How to Avoid Them
- Forgetting the end post: Always add one extra post beyond the number of sections.
- Mixing units: Keep fence length in feet and picket width/gap in inches. Convert consistently.
- Ignoring waste: Add 5–10% for cuts, damaged boards, and mistakes. The calculator gives a theoretical minimum.
- Assuming rails run full length: In practice, rails are cut to fit between posts. If you buy 8 ft rails and your post spacing is 8 ft, you’ll have some waste due to cuts at the posts.
Factors That Affect Lumber Needs
- Post depth: Posts are set in concrete, typically 1/3 of their length underground. A 6 ft fence needs 8 ft posts.
- Corner and gate posts: These often need to be larger or set deeper, but the count remains the same.
- Board-on-board vs. shadowbox: Overlapping pickets require about 1.5 times the number of pickets compared to a single layer.
- Terrain: Steep slopes may require stepped sections, increasing rail length and picket cuts.
Alternatives to Wood
If lumber costs are high, consider vinyl, composite, or metal fences. These often have different spacing requirements and may not need painting. However, the same basic linear measurements apply – you still need posts and rails, but pickets are often replaced by panels. Use this calculator as a starting point; adjust spacing based on the material’s specifications.
Frequently Asked Questions
How many posts do I need for a 100 ft fence with 8 ft spacing?
You need 14 posts: 13 sections of 8 ft plus one end post. If you have a gate, add extra posts on each side of the opening.
What is the standard spacing for fence posts?
Common spacings are 6 ft and 8 ft. Six-foot spacing is sturdier and allows lighter rails; 8 ft is more economical but may require stronger rails or additional bracing.
How do I calculate pickets for a board-on-board fence?
For a board-on-board (overlap) fence, you need about 1.5 times the number of pickets for a standard fence. So for 100 ft with 5.5 in pickets and no gap, you’d need 300 pickets instead of 218.
Should I buy extra lumber?
Yes, add 5–10% for waste. Wood can have defects, and cuts may not be perfect. It’s better to have a few extra boards than to run out mid-project.
Does the calculator account for concrete and hardware?
No, it only estimates lumber. You’ll need concrete for post footings, nails or screws, and possibly post caps and brackets.
Can I use this for a chain-link fence?
No, chain-link uses different components (top rail, tension wire, fabric). The post spacing and height calculations are different, so use a dedicated chain-link estimator.
Related
Formula used
in l | Fence length | ft | 100 | 1 | 10000 in ps | Post spacing | ft | 8 | 2 | 20 in pw | Pickets width | in | 5.5 | 1 | 12 in pg | Pickets gap | in | 0.5 | 0 | 6 in nr | Number of rails | - | 2 | 1 | 6 out posts | Posts needed | - | ceil(l / ps) + 1 | 0 out rails | Rails needed | - | ceil(l / ps) * nr | 0 out pickets | Pickets needed | - | ceil(l * 12 / (pw + pg)) | 0 out total_l | Total lumber (linear ft) | ft | (ceil(l / ps) + 1) * 8 + ceil(l / ps) * nr * l + ceil(l * 12 / (pw + pg)) * (pw / 12) | 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.
More in this bed
- How to Calculate Deck Paint Needed300.0 sq ft
- Wood Fence to Vinyl: Conversion Guide
- How to Turn a Wood Fence Panel into a Gate
- Mass Retirement Board Calculator: How It Works18,000 $
- Wood Defender Stain Calculator: How Much Do You Need?10.00 gal
- Wood Stain Calculator: How Much Stain Do I Need?0.80 gallons