Calculator MatchFence Picket & Deck Spacing Jig
Locks onto top and bottom rails to maintain your exact picket gap (1/4" to 4") without measuring every board.
Calculate accurate fence picket quantity, equal spacing gaps, pitch, and material estimates for wood, cedar, vinyl, and aluminum fence pickets.
Total w/ Waste:19 pickets
2.028"|51.5 mm
5.528"|140.4 mm
Measures physical gaps & spacers directly on screen. Calibrate for true 1:1 scale matching.
Did you spot an error in the calculation, or have a recommendation to make this tool better for carpenters and DIY builders? Describe your idea or issue below and send it directly to our developer team.
See how your picket quantity, exact gap, and pitch were derived.
L = n × w + (n + 1) × gg = (L - n × w) / (n + 1)L = n × w + (n - 1) × gg = (L - n × w) / (n - 1)Walkthrough of a standard 8-foot (96-inch) wood fence panel built with standard 3.5-inch nominal pickets.
For equal end gaps, there are n + 1 gaps.n = (96 - 2) / (3.5 + 2) = 17.09Rounding to nearest whole number yields 17 pickets.
Total picket width = 17 × 3.5" = 59.5".
Remaining gap span = 96" - 59.5" = 36.5".
Divided over 18 gaps: 2.028" (2 1/16").
Avoid costly timber waste and layout mistakes by following professional measurement best practices.
Always measure the distance between the inside faces of your fence posts, not center-to-center. Measure both at the top rail and bottom rail level to check for post plumbness or bowing.
Lumber sizes are nominal. A standard “1x4” wood picket actually measures 3.5 inches wide, and a “1x6” picket measures 5.5 inches wide. Always measure your physical pickets before calculating.
Once the calculator gives your exact gap (e.g. 2 1/16"), cut a small wooden scrap block to that exact width. Use it as a physical spacer between pickets during installation for uniform alignment without measuring every gap.
If building a fence around a swimming pool, IRC safety codes mandate that vertical gaps between pickets must not exceed 4 inches (102 mm) to prevent child passage. Use Mode 2 (Even Spacing with Max Gap) set to 4.0".
Everything you need to know about fence picket calculation, building code gap limits, and layout math.
Subtract the total width of all pickets (n × w) from the total clear span length L, then divide the remaining length by the gap count. For equal end gaps, gap = (L - n × w) / (n + 1). For flush ends, gap = (L - n × w) / (n - 1).
Spacing between fence pickets typically ranges from 1.5 to 2.5 inches for semi-privacy fences, and 3.5 to 4 inches for traditional picket fences. For swimming pool enclosures, building codes mandate gaps under 4 inches (102 mm).
Calculate the exact required gap with our calculator, then cut a piece of scrap lumber to that exact gap dimension as a spacer block. Placing this spacer block between each picket during installation guarantees perfectly uniform gaps.
Divide the total fence length by the sum of one picket width and one target gap: n = (L - target_gap) / (picket_width + target_gap). Round to the nearest whole number and add 5% to 10% for waste.
A nominal 1x4 wood picket is actually 3.5 inches (89 mm) wide. A nominal 1x6 picket is actually 5.5 inches (140 mm) wide. Always measure actual picket width rather than using nominal rack tags.
Once your spacing and picket count are calculated, these contractor-tested tools ensure precise alignment, plumb posts, and clean, durable fastening.
Calculator MatchLocks onto top and bottom rails to maintain your exact picket gap (1/4" to 4") without measuring every board.
Essential ToolHands-free 2-way bubble level with elastic strap. Plumbs fence posts and pickets vertically on both planes at once.
1/16" ReadoutClear fractional markings printed directly down to 1/16", matching the exact decimal and fraction outputs from this calculator.
Rust ResistantACQ-compatible polymer coating prevents dark black corrosion streaks on cedar and pressure-treated pine fence pickets.
Contractor GradeQuickly marks 90° cross-cuts and 45° dog-ear corners. Functions as a reliable circular saw guide for uniform picket tops.
Weather DefenseProtects newly installed wood pickets from sun UV graying, rain swelling, warping, and mildew breakdown.