Fence Picket Estimator Formula
- Total gap space
- in
- Result
- Fence length
- 100 ft
- You entered
- Picket width
- 5.5 in
- You entered
This calculator works out how many fence pickets you need for a straight fence run. You enter the total fence length and the picket width (plus optional gap), and it returns the exact number of pickets required, along with the total gap space so you can adjust spacing evenly.
Formula
The basic formula is:
Number of pickets = ceil( (Fence length in inches) / (Picket width + Gap) )
Where:
- Fence length – total length of the fence run, measured in feet (convert to inches by multiplying by 12).
- Picket width – the actual width of one picket, in inches (usually 3.5 to 5.5 inches for standard lumber).
- Gap – the space between adjacent pickets, in inches. If you want a solid privacy fence, set this to 0.
- ceil() – round up to the nearest whole number, because you can’t buy a fraction of a picket.
The result is the minimum number of pickets needed to cover the entire length, assuming you start with a picket at one end and space them evenly.
Worked Example
Using the default values from the calculator: fence length = 100 ft, picket width = 5.5 in, gap = 0 in.
- Convert fence length to inches: 100 ft × 12 = 1200 in.
- Add picket width and gap: 5.5 + 0 = 5.5 in.
- Divide total length by that sum: 1200 ÷ 5.5 = 218.18…
- Round up: ceil(218.18) = 219 pickets.
So for a 100-foot fence with 5.5-inch pickets and no gap, you need 219 pickets. The calculator also shows that the total gap space is 4.5 inches, which is the leftover space if you installed 219 pickets exactly as computed – in practice, you’d distribute that extra space evenly or trim a picket.
When to Use This Formula
Use this formula when you’re planning a new wood or vinyl picket fence, replacing sections, or estimating material costs. It works for any straight run where pickets are placed side by side with a consistent gap. For fences with corners, gates, or uneven terrain, you’ll need to calculate each straight section separately and add them together.
The formula assumes you start with a picket at one end and end with a picket at the other. If you prefer to have a gap at both ends (e.g., to align with posts), you may need to adjust the calculation slightly.
How to Choose Picket Width and Gap
Picket width is determined by the material you buy – common sizes are 3.5, 4, 5.5, and 6 inches. The gap is a design choice:
- 0 inch gap – solid privacy fence, no space between pickets.
- 1–2 inch gap – semi-private, allows some airflow and light.
- 3–4 inch gap – decorative or “good neighbor” fence, more open.
Remember that the gap you set is the space between pickets, not the distance from center to center. If you’re using a pre-made panel, the picket spacing is already fixed, so you’d just count pickets per panel and multiply by the number of panels.
Common Mistakes and How to Avoid Them
- Mixing units – fence length in feet but picket width in inches is the classic error. Always convert to the same unit (inches) before dividing.
- Forgetting to round up – you can’t buy 218.18 pickets; you need 219. Rounding down leaves a gap at the end.
- Ignoring the gap – if you plan a 2-inch gap, you must include it in the denominator. Forgetting it will give you too many pickets.
- Not accounting for waste – the formula gives the exact number for a perfect installation. Add 5–10% for cutting, damaged boards, or mistakes.
- Assuming posts are included – this formula only counts pickets, not fence posts, rails, or hardware.
Limitations of the Formula
This is a linear estimate. It does not account for:
- Corners and turns – each corner may require extra pickets or special cuts.
- Gates – gate openings need framing and often different picket spacing.
- Sloped ground – on a slope, you might need to cut pickets at angles, which can increase waste.
- Post placement – if you’re attaching pickets to rails between posts, the actual spacing might be constrained by post locations.
For most straight, level runs, the formula is accurate to within a few pickets. Always buy a little extra to be safe.
Frequently Asked Questions
How do I calculate pickets for a fence with a gate?
Measure the fence length as the total run minus the gate opening width. Calculate pickets for that reduced length, then add the pickets you’ll use on the gate itself (usually the same pickets, cut to fit).
What if my fence has corners?
Treat each straight section as a separate calculation. Add the picket counts for all sections. At corners, you may need an extra picket or a special post, so plan for a small buffer.
Should I include the gap between pickets in the formula?
Yes. The gap is part of the spacing. If you skip it, you’ll overestimate the number of pickets. For a solid fence, gap = 0.
How much extra should I buy?
A common rule is to add 5–10% to the calculated number to cover waste from cutting, damaged boards, or future repairs. For a 219-picket fence, that’s about 11–22 extra pickets.
Does the formula work for vinyl or metal pickets?
Yes, as long as you know the actual width of each picket and the gap you plan to leave. The material doesn’t change the math.
What if my fence length is in meters?
Convert meters to feet (1 m = 3.28084 ft) or to inches (1 m = 39.3701 in) before using the formula. The calculator expects feet, but you can convert manually.
Related
Formula used
in t | Fence length | ft | 100 | 0 in w | Picket width | in | 5.5 | 0 in g | Gap between pickets | in | 0 | 0 out n | Number of pickets | pickets | ceil((t * 12) / (w + g)) | 0 out total_gap | Total gap space | in | (n * (w + g)) - (t * 12) | 1
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.