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.
Everything you need to know about calculating fence picket spacing, choosing materials, and completing DIY fence picket projects.
When planning a boundary fence, garden screen, or safety enclosure, a fence picket is the upright vertical board attached to the horizontal rails between support posts. Whether installing a classic wood fence picket, low-maintenance vinyl fence picket, or modern aluminum fence picket, calculating exact spacing before cutting or nailing is critical.
Using an accurate fence picket calculator eliminates tedious trial-and-error math on the jobsite. Without precise calculations, your final gap near the end post might end up too wide or too narrow, creating an unsightly, un-level installation. Our calculator automatically factors in your clear fence opening, actual fence picket width, desired gap, and edge layout preferences to give you equal, professional gaps every single time.
Lumber sizes in North America are sold by nominal dimensions, meaning physical dimensions are smaller than the label. A standard 1x4 picket actually measures 3.5 inches wide, and a 1x6 picket is 5.5 inches wide. Always measure actual board width before calculating.
| Picket Style & Material | Nominal Size | Actual Width | Actual Thickness |
|---|---|---|---|
| Standard Wood / Cedar 1x4 | 1" × 4" | 3.5 inches (89 mm) | 0.625" to 0.75" (16 - 19 mm) |
| Wide Wood / Cedar 1x6 | 1" × 6" | 5.5 inches (140 mm) | 0.625" to 0.75" (16 - 19 mm) |
| Vinyl / PVC Privacy Picket | 7/8" × 6" | 6.0 inches (152 mm) | 0.875 inches (22 mm) |
| Ornamental Aluminum Picket | 3/4" × 3/4" | 0.75 inches (19 mm) | 0.05" wall (Hollow Tube) |
To space pickets evenly, determine the total available fence length between posts, subtract the cumulative width of all pickets, and divide the remaining space by the number of gaps.
Where L is the clear opening span, n is the number of pickets, and w is actual picket width. With n pickets, there are n + 1 equal gaps.
First and last pickets sit flush against post inside faces. With n pickets, there are n - 1 internal gaps.
For swimming pool safety barriers (IRC Section AG105 and ASTM F1908), the maximum allowable opening between vertical pickets is strictly under 4 inches (102 mm) so a 4-inch sphere cannot pass through. Always verify local municipal codes before ordering materials.
Western Red Cedar offers natural rot and insect resistance with minimal warping. Pressure-treated pine is cost-effective but requires curing before staining. Vinyl and aluminum provide zero-maintenance longevity without rot, splinters, or painting.
Expert formulas, lumber size charts, and building code walkthroughs written by professional fence builders.

Learn how many fence pickets you need per linear foot. Compare 1x4 and 1x6 boards across solid privacy, spaced, and board-on-board styles with quick formulas.

Calculate exactly how many fence pickets you need. Includes quick formulas, 1x4 vs 1x6 picket charts for 50ft to 500ft fences, overlap, and waste factors.

Learn how to build a wood picket fence from scratch: layout planning, setting posts in concrete, installing rails, spacing pickets, and applying finish.

Learn Picket Fence Federalism in political science: origins by Terry Sanford, rails vs pickets anatomy, comparison with marble cake, and policy examples.