Home & living calculator

Fence Picket Spacing Calculator

Work out boards per panel and evenly distributed gaps, then add spare pickets and estimate the board budget. Use clear infill widths so posts and gate openings are not counted as fence boards.

Switching converts entered dimensions, not prices.
Measure the board; nominal lumber sizes may differ.
The tool chooses a gap at or below this value. End gaps are half the internal gap.
Added stock for rejected boards, cuts, and replacements.
Quantity estimate only; follow your design's attachment specification.

Clear-width panel groups

Enter the width that pickets must cover for each size of panel. Exclude posts and open gates. Repeated panels can share one group; up to 20 groups are supported.

How many pickets do I need for my fence?

A quick length-divided-by-board-width estimate can miss the effect of gaps and repeated panel ends. This calculator works panel by panel: choose an actual board width and the largest internal gap you want, then enter each clear panel width. It chooses the smallest whole number of boards that can cover that width without exceeding the selected maximum gap. The remaining space is spread evenly between boards, with a half-size gap at each end for a centered layout.

Use it for single-layer vertical pickets of the same width. It is not a board-on-board, shadowbox, horizontal slat, or prefabricated-panel estimator. All panel groups share the same picket width and gap limit. For different board sizes, run separate calculations. A quantity estimate does not approve a fence's height, structural details, boundary placement, or suitability for keeping people or animals inside an enclosure.

Measuring panels and excluding gates

Measure the horizontal width that the pickets actually need to cover. Depending on your construction detail, that may be between the inside faces of posts or across an intended overlapping face. Do not enter the entire property-line run if it includes posts, gate openings, or areas with no infill. A four-panel run with each clear span measuring 8 feet is entered as one 8-foot group with a quantity of four. A shorter end panel belongs in a second group so its board count and gap are rounded independently.

Leave an open gate out of the panel list. If a gate leaf uses the same pickets, add its actual infill width as another panel and separately allow for its frame, hinges, latch, and required clearances. Rail quantities here are simply panel-length cut pieces. They do not establish that a stock rail board is long enough or calculate cutting reuse. Posts, concrete, brackets, gate hardware, stain, labor, tax, and delivery are outside the estimate.

Spacing formula and trimmed end boards

Let S be the panel width in inches or centimeters, W the actual picket width in the same units, and G your maximum internal gap. Because N pickets have N minus one internal gaps and two half-size end gaps, the total gap allowance equals N full gaps. This convention makes the panel equation S = N multiplied by W + N multiplied by actual gap. It is different from layouts with a full gap at both ends or no end gaps.

  • Pickets per panel N: S divided by (W + G), rounded up to a whole picket.
  • Actual internal gap: (S minus N multiplied by W) divided by N, when the result is nonnegative. Each end gap is half this amount.
  • If the uncut boards are too wide: use zero gaps and trim the last board to S minus (N minus one) multiplied by W. The tool explicitly reports this cut rather than displaying a negative gap.
  • Installed total: add each group's pickets per panel multiplied by its panel quantity.
  • Purchase total: installed total multiplied by (1 plus extra percentage / 100), rounded up once for the combined order.
  • Fasteners: installed pickets multiplied by rails per panel multiplied by fasteners at each crossing. Spare pickets do not add installed fasteners.

One foot is 12 inches; one meter is 100 centimeters. Switching the unit selector converts panel widths, board width, and gap limits, while leaving quantities and US-dollar prices unchanged. Displayed gaps are rounded to three decimal places, so use the formula or a fitted layout on site rather than treating the last displayed digit as a machining specification.

Worked example: four 8-foot panels

With the defaults, each panel spans 96 inches. A 5.5-inch board plus a maximum 0.5-inch gap occupies 6 inches per repeating unit, so 96 / 6 = 16 pickets per panel. Those pickets use 88 inches of wood. The remaining 8 inches create sixteen 0.5-inch gap widths: fifteen internal gaps and two 0.25-inch end gaps. Four identical panels need 64 installed pickets.

Adding 10% extra gives 70.4, which rounds up to 71 pickets to buy, including seven spares. At $3.50 each, the picket-only budget is $248.50. Three rails per panel require twelve panel-length rail pieces. Two fasteners at each picket-to-rail crossing require 384 fasteners, before any hardware for rail-to-post connections or additional fastener allowance.

For a no-gap example, a 96-inch panel with 5.5-inch boards needs 18 pickets. Seventeen full boards cover 93.5 inches, leaving a 2.5-inch-wide final board. The result calls out that trim. If a narrow end strip is undesirable, adjust the layout or use a different board width; the calculator does not silently change your measured span. No-gap installation also does not guarantee permanent privacy as outdoor lumber changes dimension.

From estimate to shopping list

Measure several boards from the actual product before committing to a layout. Nominal widths, manufacturing tolerances, moisture, bowing, and tapered profiles can affect the real coverage. The extra-stock percentage is an editable purchasing allowance, not a predicted waste rate. If a whole board is needed for a trimmed end, this estimate counts it as one purchased picket and assumes the offcut is not reused elsewhere. A detailed cut plan may reduce waste, but it is not modeled.

Dry-fit one representative panel to judge how the half-size end gaps look against the posts. You may prefer equal full-size end gaps, or a layout with boards flush against both ends; those are different formulas. Rail count and fasteners are entered quantities, not construction recommendations. Check manufacturer instructions, local requirements, and a suitable design for the actual height, wind exposure, wood species, attachment method, and ground conditions.

Limits and practical cautions

This tool handles rectangular panels whose pickets all have the same face width. Sloped ground, raked rails, stepped sections, curved boundaries, tapered pickets, and double-sided styles need additional measurements or a separate design. It does not deduct decorative cutouts or choose picket length. A panel narrower than one uncut picket is rejected, because that is better treated as a custom trim detail. Installed count is a quantity estimate, not a structural specification.

The maximum-gap field is a user preference, not a code-compliance limit. Do not use this calculator to approve pool barriers, deck guards, child-safety barriers, or pet containment. Relevant rules can cover openings, height, climbability, gates, latches, and strength, not merely board spacing. Confirm property boundaries and utility locations before installation and use qualified help where appropriate.

Frequently asked questions

  • Why is the calculated gap smaller than the gap I entered? Your input is a maximum. The tool rounds the board count up, then distributes the remaining space so each panel fits. A shorter gap avoids exceeding that maximum.
  • Are end gaps the same as the gaps between pickets? No. This centered layout uses half an internal gap at each end. The result states both sizes so you can reproduce the selected convention.
  • Can I use zero spacing for a privacy fence? Yes. Enter zero to estimate tightly packed boards and any trimmed final picket. Real outdoor lumber may shrink, so zero initial spacing is not a permanent privacy guarantee.
  • Does the calculator include posts or gate hardware? No. Enter only the clear widths that need picket infill. Rails are cut-piece counts and fasteners cover only picket-to-rail crossings; posts, hardware, and installation costs need a separate plan.
  • Can I use it for board-on-board fences? No. Overlapping and alternating-face fences require a different coverage model. This page estimates one layer of equal-width vertical boards only.
  • Are my project dimensions saved? Calculations run in your browser without saving or sending dimensions to a calculation service. The site's normal analytics and advertising operate under its privacy policy.

Sources and further reading

  • Inch Calculator: Wood Fence Material Calculator and estimating guide provides background on pickets, rails, posts, and the effect of fence style on a material list. This page uses its own explicitly stated half-end-gap convention rather than claiming every layout uses one formula.
  • Your lumber supplier's actual product dimensions and your fence design's attachment details are the primary inputs. Example prices and allowances are illustrative, not current local market quotes.

Related calculators

Plan garden fill with the raised bed soil calculator, estimate patio materials with the paver patio cost calculator, or set aside funds with the home maintenance budget calculator.

Last updated: 2026-10-07. Educational material estimate; not an installation specification, boundary survey, or code-compliance assessment.

Creator & reviewers

Creator persona

Reviewer personas

These names are pseudonymous editorial personas used to organize Northstar's work, not separate verified contributors. Reviewer assignments describe editorial responsibilities, not completed independent reviews or professional credentials. About our editorial personas.