Plan decking quantities for a rectangle
This deck calculator estimates surface boards, joist lines and face screws for a rectangular deck. Enter the deck length and width in feet, actual board width in inches, stock board length in feet, side gap in inches, joist spacing and a waste allowance. The loaded answer appears first and updates as you edit. Deck area is shown in square feet and square meters. Calculations stay in your browser.
The model describes straight board rows running along the entered deck length. Joists run across the entered deck width, perpendicular to those boards. It is a material planning aid rather than a structural design. It does not select lumber grades, beam sizes, allowable spans, foundations or attachment details. A quantity estimate cannot show whether a deck is safe or approved for your location.
Enter actual dimensions and board direction
Use the finished rectangular surface dimensions. If you want boards to run the other way, exchange deck length and width and compare the resulting quantities. Rotation can change the number of rows, stock boards and support lines even when the area stays the same. Picture frames, diagonal layouts, stairs and irregular outlines are outside this model.
Board width means actual coverage width, not the nominal name on a lumber rack. Measure the product or read its specifications. The side gap is the open space between adjacent rows. It is not an end-to-end butt gap. Choose the gap from the product instructions for the material and installation conditions; the loaded gap is an illustrative input rather than a universal recommendation. End gaps and trimming tolerances need a separate layout review.
How rows and stock boards are counted
A row covers one board width. Each additional row adds another width plus a side gap. The row formula is the deck width in inches plus one gap, divided by board width plus gap, rounded up. This accounts for gaps only between rows, with no imaginary gap outside the finished surface. The final row may need to be ripped narrower to fit.
For each row, the tool divides deck length by stock board length and rounds up. It then multiplies by the row count. This deliberately counts whole stock boards within every row and does not reuse offcuts from another row. A cutting plan can sometimes reduce purchases, while defect selection and end trimming can increase them. The waste allowance is added to this base board count, and the final purchase estimate is rounded upward again.
Worked example from the library
The loaded example uses a 16 ft length, 12 ft width, 5.5 in actual board width, 16 ft stock boards, a 0.125 in side gap, 16 in on-center spacing and 10% waste. Running the calculation library gives 192 sq ft, or 17.84 m². The surface needs 26 rows with one stock board per row. That is 26 base boards and 29 boards after the allowance and whole-board rounding.
The example has 13 joist lines, including the two boundary support lines. At the entered width, their combined line length is 156 ft. The screw rule gives 676 base screws and 744 after the spare allowance. If only stock board length changes to 8 ft, the same surface has two stock boards per row: 52 base boards and 58 after waste. The extra board ends increase the screw estimate to 728 before spares and 801 afterward.
Read joists as support lines
The support-line formula divides deck length in inches by the selected on-center spacing, rounds up the number of bays and adds one boundary line. The final bay may be shorter. Available settings are 12, 16 and 24 in on center. Their presence in a menu does not mean all three are allowed for your decking, loading or layout.
The displayed joist quantity excludes extra supports at butt joints, doubled members, blocking and rim framing. It also excludes beams, posts, hangers and footings. Stock-board joints may not align with the initial spacing grid and need a revised cutting and support plan. Check the decking manufacturer's instructions and applicable local requirements before turning these line counts into a framing order.
Understand the screw allowance
The stated rule uses two face screws per row at each joist line. Each butt joint adds two more screws per row to account for the second board end. The entered waste percentage also acts as the spare-screw allowance, followed by upward rounding. Screws for purchased spare boards are not counted as though those boards were installed.
This is a quantity rule, not a fastener specification. Trex's spacing guidance distinguishes face screws from hidden clips. Use your product's approved fastener system and corrosion requirements. Hidden clips, fascia fastening and structural connectors need separate counts. For other materials, open the roofing calculator or concrete calculator; neither replaces the deck's structural design.