ReadyCalcs · All calculators · Compare

Deck Board Spacing Calculator

Calculate the exact-fit deck board gap or overlap for a row layout, plus edge trim, laid width and purchase allowance.

INPUT & RESULT

How the result changes

-135.3-57.7201600
Deck width across board rows (cm)Current: 300 → 3 mm

Only deck width across board rows changes; all other inputs stay at your current values. The line illustrates the formula across the shown range. This is not a forecast of real-world outcomes.

About this calculation

Spacing deck boards is a layout decision as well as a material count. Measure the width perpendicular to the direction the boards will run, enter the usable face width of the chosen board, and use the gap recommended for that particular product and installation conditions. This calculator estimates how many parallel board rows cover the measured width, how far a full-width layout extends and how much of the final row may need trimming. It assumes each row can be formed from suitable board stock along the other deck dimension. It also reports the uniform gap that would exactly fit those full-width rows; a negative result signals overlap.

Formula

n = ⌈(10 × D + g) / (10 × B + g)⌉; F = (10 × n × B + (n − 1) × g) / 10; T = F − D; P = ⌈n × (1 + w / 100)⌉; G = (10 × D − 10 × n × B)/(n − 1) (n > 1); G = 0 (n = 1)

Worked example

With Deck width across board rows: 300 cm, Usable board face width: 14 cm, Planned gap between boards: 5 mm, Extra whole-board allowance: 10 %, exact-fit gap for calculated rows (negative = trim needed) is 3 mm.

Separate board face from the gap

A nominal board size can differ from its usable exposed face. Measure or read the product specification and enter the face width in centimeters. Enter the planned gap in millimeters, and measure the deck width in centimeters across the rows. The calculation converts both widths to millimeters internally. Gap guidance varies with material, moisture and fastener system; the number here is a user assumption, not a recommended universal clearance. Follow the board manufacturer's current installation instructions.

How rows and the final trim are calculated

For N full boards there are N minus one internal gaps. The laid width is therefore N times board face plus N minus one times gap. The tool finds the smallest whole N whose full-board layout meets or exceeds the deck width. Its trim output is the excess width to remove from the last row if the first row begins at the measured edge. A border or picture-frame layout needs a different measurement because it changes the rows available for the field boards. The exact-fit value spreads the available width evenly between full-width rows. A negative value is an overlap, not an installable gap: trim the edge board or change the row count, then check the product’s required clearance.

Worked 3-meter layout

Imagine a deck 300 cm across the rows, with 14 cm usable board faces and 5 mm gaps. Twenty-one boards occupy 21 × 14 cm plus 20 × 0.5 cm, or 304 cm. The final row needs about 4 cm trimmed if the edges are laid as assumed. A 10% whole-row allowance gives ceil(21 × 1.10) = 24 board-length equivalents to plan for. That allowance is not a count of individual retail planks when a row requires more than one length.

Turn rows into a purchasing plan

The calculated row count spans only one deck dimension. To order physical boards, compare each row's required length with the stock lengths offered, decide where joins may occur and account for staggering and support. A 24-row result is not automatically 24 planks if each row is longer than the boards sold. The waste percentage is a rough whole-row allowance, not an engineered cut schedule. Test alternate board widths and gaps before buying, then draw a plan with borders and obstructions marked. Timber may change dimension with moisture, while composite systems can specify different side and end gaps and dedicated fasteners. Trex advises checking the installation guide for the exact product. A tight last strip can be unattractive or difficult to fasten; shifting the starting position or splitting the trim between both edge rows may make a better layout. The calculator does not size joists, verify span, count screws or decide how boards terminate at stairs and rail posts.

Common questions

Why can the trim amount change suddenly?

Board count is an integer. A small width or gap change can require one more full row, so the leftover width jumps by roughly one board face. Compare the calculated trim with your border plan and adjust the starting row if the final strip would be too narrow to install neatly.

Sources and references

Inputs

  • Deck width across board rows (cm)
  • Usable board face width (cm)
  • Planned gap between boards (mm)
  • Extra whole-board allowance (%)

Related calculators

Start with your task