Use this Picket Fence Calculator to estimate whole picket quantities, equalized clear gaps, waste-adjusted quantities and optional picket cost from your fence dimensions.
Enter the fence-infill dimensions
Gate openings are subtracted before the picket layout is calculated.
Your picket layout summary
Review the quantity needed to keep the equalized gap at or below the gap you entered.
Picket coverage
How to use the Picket Fence Calculator
Enter the total fence length and subtract any gate openings. The tool then chooses the minimum number of full-width pickets needed so an evenly distributed clear gap does not exceed the gap value you entered.
This makes the result more useful than simply dividing length by picket width: both the picket face and the space between pickets consume the run.
Transparent math
Picket formulas used
fence length − gate openingsceil((infill + max gap) ÷ (picket width + max gap))(infill − pickets × width) ÷ (pickets − 1)picket width + equalized gapceil(pickets × (1 + waste %))Worked example
Example: 96 ft of picket infill
If a 100 ft fence contains a 4 ft gate, the net picket run is 96 ft. With 3½ in pickets and a 2 in maximum/desired gap, the calculator finds the minimum full-picket count and then slightly adjusts the clear gap so the run finishes evenly.
Know the limits
Equalized geometry is not an installation standard
The entered gap must come from the design, privacy goal, product system or locally applicable requirement for the project. The calculator does not choose an allowable opening, picket thickness, rail spacing, fastener pattern or wind-resistant assembly.
Common questions
Picket Fence Calculator FAQ
How do I calculate how many pickets I need?
Use the usable infill length, picket face width and desired maximum gap together. The calculator solves for a whole-picket count, then equalizes the gaps.
Why is the actual gap smaller than the gap I entered?
The entered value is treated as a maximum/target. Whole pickets rarely divide the run perfectly, so the remaining space is shared evenly between pickets.
Does the waste quantity round up?
Yes. Pickets are whole pieces, so the waste-adjusted quantity is rounded up to the next whole picket.
Does the calculator include gate pickets?
No. The gate-opening width is removed from the fence infill. If the gate itself uses matching pickets, add those separately based on the gate design.
Related tools