How the decking estimate works
In this calculator the boards run parallel to the house, along the deck length, and the joists run out from the house across the deck depth. The number of rows of boards is the depth divided by the board width plus the gap, rounded up because the last row is ripped to fit:
rows = ⌈depth ÷ (board width + gap)⌉
Use the actual width of the board, not the nominal size: a 6 in nominal board (2×6 or 5/4×6) is 5½ in wide, and a 4 in board is 3½ in. Most metric and composite boards are 90–145 mm. A gap of ⅛–3/16 in (3–5 mm) lets water drain and wood swell; follow the manufacturer for composite boards.
If the deck is no longer than a board, each row uses one board, or a board yields two rows when it is at least twice the deck length. Longer rows are joined end-to-end over a joist with the joints staggered, and offcuts are reused. A small waste allowance (5–10%) covers defects and mis-cuts.
Joists, beams, posts and screws
Joists are spaced 12, 16 or 24 in on center (300, 400 or 600 mm). Sixteen inches is the most common for wood decking laid square to the joists; many composite boards and diagonal layouts need 12 in. The count includes both end joists:
joists = ⌈length ÷ spacing⌉ + 1
A deck attached to the house with a ledger board needs one beam near the outer edge for each joist span; a freestanding deck needs a beam at both ends. Enter the maximum joist span from the span table for your joist size, species and spacing (for example the IRC Table R507.6), and the calculator adds intermediate beams when the depth exceeds it. Posts are placed at each end of a beam and at no more than your maximum post spacing.
Face screws are counted as two per board at every joist it crosses: rows × joists × 2. Hidden-fastener clips use roughly one per crossing instead.
Worked example
A 16 × 12 ft deck attached to the house, using 16 ft boards that are 5½ in wide with a 3/16 in gap, and joists at 16 in on center:
- Rows: 144 in ÷ (5.5 + 0.1875) = 25.3, rounded up to 26 rows.
- Boards: each 16 ft board covers one row, so 26 boards; with 5% waste, 28 boards.
- Joists: 192 in ÷ 16 = 12 spaces, so 13 joists, each 12 ft long.
- Beams: with a 12 ft maximum joist span one beam at the outer edge is enough; with 8 ft post spacing it needs 3 posts.
- Screws: 26 × 13 × 2 = 676 screws — buy a box of 750 or more.
- Ledger and rim board: 2 × 16 ft = 32 ft.
In metric, a 4.8 × 3.6 m deck with 145 mm boards and 5 mm gaps has exactly 24 rows; with 4.8 m boards and 5% waste that is 26 boards, and 13 joists at 400 mm.
Before you build
- This is a material estimate, not an engineered design. Joist and beam sizes, footing diameter and depth (below the frost line), ledger fastening, flashing and guard rails are all regulated; in the US see IRC section R507 and your local amendments.
- Pressure-treated lumber needs fasteners rated for it (hot-dip galvanized or stainless steel).
- Order 2–3 extra boards so you can choose the best faces for the most visible rows.
- Stairs, railings, fascia and skirting are not included. Use the stair calculator for steps down to the yard.
Frequently asked questions
How many deck boards do I need for a 12 × 12 deck?
With 5½ in boards and a 3/16 in gap you need 26 rows. Using 12 ft boards that is 26 boards, or about 28 with 5% waste.
Should joists be 12, 16 or 24 inches apart?
16 in on center is standard for wood decking laid perpendicular to the joists. Use 12 in for diagonal decking, thinner boards and most composite products; 24 in only with thick (2×) boards rated for that span.
How many screws per square foot of decking?
With 5½ in boards on joists 16 in apart, about 3.2 screws per ft² (two per board per joist). At 12 in spacing it rises to about 4.2 per ft².
What is the difference between nominal and actual board width?
Lumber is named by its rough-sawn size before drying and planing. A 2×6 actually measures 1½ × 5½ in and a 5/4×6 decking board about 1 × 5½ in, so always calculate with the actual width.
Last reviewed: