The Deck Board Calculator calculates decking board requirements from the deck area, board size, layout settings and gaps. It determines the net deck area, row arrangement, actual board gap, individual cut lengths, number of full-length boards required, joist layout and total joist length. The layout takes into account board length, permitted gaps, end-joint positions, the number of supports under each board piece, excluded areas, a perimeter frame and a central divider board.
Material totals are calculated from the actual board pieces required by the generated layout, rather than by simply dividing the deck area by the area of one board. After the layout is built, the calculator also assigns the required pieces to full-length boards and reuses suitable offcuts to reduce waste.
Net area. The calculator first determines the area of the main rectangle from the deck length and width in millimetres. The areas of specified rectangular cut-outs are subtracted from the total area, and the result is converted from mm2 to m2.
S = (L × W - ΣScut) / 106
Here L and W are the overall deck dimensions in mm, and Scut is the area of each excluded section in mm2. A cut-out cannot be larger than the deck itself, and two excluded sections cannot overlap.
Full-width boards are tried first. The calculation is performed across the direction of the boards. The calculator determines the greatest number of full-width rows that can fit when the minimum permitted gap is used.
N0 = floor((Heff + gmin) / (B + gmin))
Here Heff is the available width of the decking field in mm, B is the board width in mm, and gmin is the minimum permitted gap in mm.
Actual gap. For the resulting number of rows, the remaining width is distributed evenly between the boards.
gactual = (Heff - N0 × B) / (N0 - 1)
If gactual lies between the specified minimum and maximum values, all rows remain full width and that calculated gap is used.
Trimming the edge rows. If full-width rows cannot be achieved within the permitted gap range, the calculator uses the average of the specified minimum and maximum gaps for the next step.
gavg = (gmin + gmax) / 2
One additional row is introduced, and the first and last rows are trimmed to equal widths. This symmetrical trimming keeps the decking layout centred.
Bedge = (Heff - (N - 2) × B - (N - 1) × gavg) / 2
If the additional row cannot physically fit with this gap, the calculator uses fewer full rows and distributes the remaining width evenly between the gaps.
Maximum joist spacing. The entered value is treated as an upper limit. The calculator divides the effective board-run length into an integer number of equal spans so that the actual joist spacing never exceeds the specified maximum.
nspans = ceil(Aeff / smax)
sactual = Aeff / nspans
Here Aeff is the calculated field length along the boards in mm, and smax is the specified maximum joist spacing in mm. For example, if the field length is 5850 mm and the maximum spacing is 400 mm, ceil(5850 / 400) = 15 spans are required, giving an actual spacing of 5850 / 15 = 390 mm.
Multiple fields. When a central divider board is used, the left and right decking fields are calculated separately. The result shows the largest actual joist spacing among the calculated fields.
Total joist length. The geometric length of each support line is calculated. Sections passing through excluded areas are removed, then all remaining joist lengths are added together and converted from millimetres to metres.
At least two real supports. The start or end of a decking section is not treated as a support by itself. Only actual joist positions are counted. No board piece in the main decking is allowed to rest on only one joist, so the absolute lower limit is 2 supports.
Specified number of joists. The calculator first tries to satisfy the minimum number of supports entered by the user for every board piece. The default value is 3 joists. If this requirement cannot be met, the algorithm may reduce the number of supports, but never below 2, and a warning is shown.
End joints. Joints between main decking boards are placed on joist lines. At the same time, the length of each board piece cannot exceed the specified full board length.
End gap. At a joint, the specified value is divided equally between the two neighbouring board pieces: the end of the first board is shortened by half of the gap, and the beginning of the second board by the other half. The final clear distance between the board ends is therefore exactly the specified value.
gjoint = gend / 2 + gend / 2
The same full end gap is maintained between the end of a main board and a side perimeter frame, central divider board or frame around an excluded area. If the required gap cannot fit within the available length, the calculation stops and a warning is shown instead of reducing the gap automatically.
Automatic layout. The calculator selects joint positions from the available joists while respecting board length and the minimum number of supports. When several arrangements are possible, it prefers layouts with fewer board pieces while also applying the selected stagger rule.
Stagger value 0. Joints in neighbouring rows are placed on the same joists where possible. Values from 1 to 5 specify how many previous rows should be checked when avoiding a repeated joint on the same joist.
Maximum stagger. Each following row shifts the set of end joints by one joist in the same direction. After the final permitted position is reached, the sequence starts again. If the next shift would violate the board-length or support requirements, the calculator selects the next valid arrangement.
Layout variants. Variant 1 uses the automatically selected starting position. Variants 2 to 5 shift the first end joint by 1 to 4 additional joists respectively, where permitted by the board length and support conditions, and then recalculate the remaining layout.
Perimeter frame. A strip one board wide is reserved around the outside edge. The minimum specified board-to-board gap is used between the frame and the side of the main rows, while the specified end gap is used between the ends of the main boards and the side frame.
For side frame boards, two support lines are taken into account: one near the outer edge and one at the boundary of the main decking field. If a frame board runs across the joists and is longer than the specified full board length, each of its end joints must fall on an existing joist. Frame boards running parallel to the joists do not require their end joints to coincide with a transverse joist.
Central divider board. It is positioned in the centre of the deck and divides the main rows into two independent fields. Two support lines are provided along the sides of the divider board, and the specified end gap is maintained between the divider and the ends of the main decking boards.
Cut-out geometry. A rectangular excluded section is removed from both the area calculation and the geometry of rows and joists. Main boards terminate at the edge of the cut-out, so their actual lengths and joint arrangement are recalculated.
Additional support. At the vertical edge of a cut-out, the calculator checks the nearest existing joist on the decking side. If it is no more than 100 mm from the edge, no separate support line is added. If the distance exceeds 100 mm, an additional support line is placed directly beside the cut-out.
Cut-out frame. When a perimeter frame is enabled, a similar frame is also formed along the internal edges of an excluded section. For frame pieces running across the joists, end joints are likewise permitted only on joists.
Geometry is created first. The calculator first produces the complete list of required board pieces for the main rows, perimeter frame and central divider board. Only after that are those pieces assigned to full-length boards of the specified size.
Reusing offcuts. Each required piece is assigned to a suitable full board or remaining offcut so that as little unused length as possible remains after the cut. The cutting calculation is performed twice: once in the original piece order and once after sorting the pieces from longest to shortest. The option requiring fewer full boards is used for the final material totals.
This method reduces waste effectively, but it is an optimisation algorithm rather than an exhaustive search of every possible cutting combination. For a large and complex set of pieces, the mathematically smallest possible number of full boards is therefore not guaranteed.
Waste allowance. No fixed percentage allowance is added, so the automatic waste factor is 0%. The number of boards is based on the actual generated layout and the calculated reuse of offcuts.
Saw kerf. Material lost in cutting is currently taken as 0 mm. This means that two pieces with a combined length of exactly 3000 mm can mathematically be assigned to one 3000 mm board.
Linear metres to purchase. This result is based on the number of required full-length boards, not simply on the sum of finished piece lengths.
Lpurchase = Nboards × Lboard / 1000
Piece lengths in the cutting list are displayed rounded to 1 mm. The material allocation itself uses the calculated lengths before display rounding.
Gap between boards. Values of approximately 4–9 mm are commonly used in decking systems. The exact range depends on the material, profile, installation temperature and manufacturer requirements; the calculator uses the minimum and maximum values entered by the user.
End gap. Values of approximately 2–5 mm are common for many systems, although thermal expansion of composite boards may require a different value. The calculator does not select this gap automatically and applies the entered value directly to every end joint.
Joist spacing. Decking structures often use centre-to-centre spacings of approximately 300–500 mm. The exact permitted maximum depends on board profile, material, laying direction and design load; the calculator uses the specified maximum spacing as the limit.
EN 1995-1-1, Eurocode 5: Design of timber structures. Part 1-1: General rules and rules for buildings. This standard covers the design of timber structural elements and is a relevant reference for timber joists and supporting structures. For this reason, the calculator does not impose one universal joist spacing, but distributes the supports according to the maximum spacing selected for the particular construction.
EN 15534-4, Composites made from cellulose-based materials and thermoplastics. Part 4: Specifications for decking profiles and tiles. This standard applies to wood-polymer and similar composite decking products. The geometric limits of a specific profile, including permitted support conditions and installation gaps, should be represented by the corresponding input values used in the calculation.
EN 335, Durability of wood and wood-based products. Use classes: definitions and application to solid wood and wood-based products. The use classes help describe moisture exposure conditions for timber elements. In decking design, this is relevant when selecting the initial requirements for the material, gaps and supporting structure.
The calculator does not automatically use the minimum gap. It first tries to fit full-width rows and calculates the exact even spacing; if that value falls within the permitted range, it is used. If full-width rows are not possible, the average of the specified range is used and the first and last rows are trimmed symmetrically.
End joints between main decking boards must fall on actual support lines. Changing the maximum joist spacing changes the number and positions of the joists, which also changes the available joint locations. As a result, the layout, individual cut lengths and number of full boards required can all change.
One full-length decking board can provide several required pieces. After calculating all cut lengths, the calculator assigns pieces to full boards and reuses the remaining length for later pieces where possible. The number of finished pieces and the number of boards to purchase are therefore different quantities.
The layout is first calculated using the specified number of supports. If that is not possible, the calculator may relax the requirement and displays a warning, but every individual board piece must still rest on at least 2 real joists. If even two supports cannot be provided, a valid layout is not produced.
These elements reduce the dimensions of the main decking field and also require material themselves. The side frame uses support lines near its outer and inner edges, while the central divider board is supported by two lines along its sides. The calculator then recalculates the rows, board lengths, joists and cutting plan using the updated geometry.