CalculatorForEver
CONSTRUCTION / CALCULATOR

Deck Calculator

Estimate deck quantities from measured dimensions, entered allowances and explicit material assumptions.

Estimate deck boards by counting rows across the deck width and stock pieces along each row. The board width and entered side gap define the row coverage. Multiply the row count by pieces per row, add the chosen allowance and round upward. The estimate does not design framing or board joints.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the deck calculator works

How to use this calculator

Measure the dimensions in the units shown. Subtract openings where relevant, enter your own product coverage or density, and inspect the rounded purchasing estimate.

What the result means

A rectangular deck-board estimate needs a direction of installation. This model runs the boards along the entered deck length and lays rows across the entered deck width. Changing that orientation can change the count because stock lengths and the final partial row behave differently. Calculator ForEver accepts board width and side gap in millimeters, with deck and stock lengths in meters. The gap describes space between board rows; it does not set an approved installation spacing for a material.

The formula

Rows = ceil((deck width + gap)/(board width + gap)); stock pieces = rows × ceil(deck length / stock length)

A worked example

A 3 m width with 140 mm boards and 5 mm gaps requires 21 rows before allowance.

Assumptions & methodology

A quantity estimate based on entered dimensions and allowance. It does not establish structural suitability, installation details or building-code compliance. Conservative row-by-row stock allocation with no reuse of offcuts. End joints, supports, fastening, structural spans and board movement require a separate plan. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

Trex: deck board spacing guidance · NIST: SI conversion factors by quantity

WORK THROUGH THE DETAILS

Using your deck result

Follow a simple whole-stock estimate

Suppose the deck is 4 m long and 3 m wide, with 140 mm boards, 5 mm side gaps and 4 m stock. Twenty-one rows require twenty-one base stock pieces. A 10% allowance gives 23.1, rounded upward to twenty-four pieces. That percentage applies to stock-piece count, so the result differs from multiplying deck area by a general surface-area waste factor. Retain the stock length and orientation in the order note; they explain how the pieces relate to the footprint.

Use product guidance to select the side gap

Trex’s spacing guidance discusses gaps as part of decking installation, and its product instructions vary with material and conditions. A value typed into a calculator is not an approval of that gap. Follow the selected product’s instructions for side, end and perimeter spacing. Calculator ForEver uses only the side gap in the row pitch. It does not determine temperature-related end gaps, fastening systems, joist spacing or whether a particular offcut can be secured as intended.

Test the orientation before comparing two quotes

For a non-square deck, running stock along the other side changes both row length and the number of rows. A board length that fits one direction may require more joints in the other. Calculate both orientations with the same physical deck dimensions and appropriate stock lengths, then compare the layout drawings as well as the totals. A smaller piece count alone does not establish a better layout, since visible joints, support positions, cutting losses and product requirements also matter.

Keep the surface count outside structural design

This estimate covers the deck surface boards only. It does not size beams, joists, posts, footings, connectors, rails or stairs. Even a count that matches a drawing says nothing about load capacity or code compliance. If multiple stock lengths are available, the simple pieces-per-row method will not optimize their purchase. Build a cut list from the actual layout, compare the chosen board dimensions with supplier measurements and retain enough detail to reconcile the theoretical quantity with the order.

INTERPRETATION

Understanding deck results

Count rows across the width

With boards 140 mm wide and an entered 5 mm side gap, each additional row adds a 145 mm pitch. Because there is no gap beyond the last row in the simplified coverage equation, n rows span n × 140 + (n−1) × 5 mm. For a 3,000 mm deck width, twenty rows span 2,895 mm and twenty-one span 3,040 mm. The estimate therefore needs twenty-one rows, with the final edge treated as a layout and trimming question.

Keep stock pieces separate from board rows

A 4 m row made from 4 m stock needs one piece under this arithmetic model. A 4 m row with 2 m stock needs two pieces. For twenty-one rows, those cases give twenty-one or forty-two base pieces respectively. The calculation does not decide whether a joint at that position is permitted or how it must be supported. A real cutting plan may reuse offcuts in another row or need additional length for trimming.

RELATED GUIDES

Related questions and worked examples

Read a worked explanation before trying another calculation.

QUESTIONS

Deck questions

Does a stock length shorter than the deck create an approved joint layout?+

No. The piece count divides the row into stock lengths; support, end gaps and permitted joints need a separate layout and product check.

Why is there one fewer side gap than board rows?+

The simplified model places gaps between neighboring rows and none after the final row. Perimeter clearances need separate treatment.