Method, formula & assumptions
Fence material takeoff
Formula: PlanDIYBuild divides the fence run into bays no longer than your maximum spacing and adds posts, then calculates rails per bay, pickets (run length ÷ picket width plus gap, with extra allowance) and the concrete for each post hole after subtracting the post volume and the drainage gravel. Gates, corners, caps, fasteners and finish are added when you enter them.
Worked example: Example: 100 ft of 6 ft fence with 8 ft maximum spacing, 3 rails per bay, 5.5 in pickets and the default 12 in × 36 in post holes has 13 bays and needs 14 posts, 39 rails and 236 pickets (with 10% extra), plus 45 80 lb bags of concrete and about 1,730 fasteners.
Before you buy: Post spacing, hole size, embedment depth, rail count and concrete needs depend on fence height, wind, soil, frost depth, gates and local requirements. The defaults are planning assumptions, not a structural or code prescription.