How the calculation works
Formula
sections = ceil(run ÷ post spacing); pickets = ceil((run − gate) × 12 ÷ (picket width + gap) × (1 + waste percentage))
Assumptions used
- The estimate covers one straight run and at most one gate opening.
The tool keeps user-entered product values separate from the geometry, then rounds the recommended purchasing quantity up where the material is bought as a whole unit.