Decking Calculator: Boards, Joists and Screws for a New Deck
By FindMySum · Last reviewed
Deck boards are sold by the piece in fixed lengths, so the question is how many rows of boards cover the deck, how long the run of board is, and how many boards of the length you can buy make that run. This calculator works it out, along with the joists, the posts in a simple layout, and the screws or hidden clips.
Step 1: rows across the deck
Boards run along the deck's length, and you lay rows of them across its width. Each row takes the board's face width plus one gap:
rows = (deck width + gap) ÷ (board face + gap), rounded up
Nominal sizes are not actual sizes. A 5/4 × 6 pressure-treated deck board is dressed to 1 × 5½ in (25 × 140 mm), and a 2 × 6 to 1½ × 5½ in. Most composite boards are also 5½ in wide.
Worked example (the US default). A 16 × 12 ft deck in 5/4 × 6 boards with ¼ in gaps: (144 + 0.25) ÷ 5.75 = 25.1, so 26 rows.
Step 2: boards
Multiply the rows by the deck length to get the run of board, add waste, and divide by the board length:
boards = rows × length × (1 + waste) ÷ board length, rounded up
26 rows × 16 ft = 416 ft; with 10% waste, 457.6 ft ÷ 16 ft = 28.6, so 29 boards of 16 ft. In metric, a 4.8 × 3.6 m deck with 6 mm gaps has 25 rows: 120 m of board, or 28 boards of 16 ft.
Diagonal decks and borders
- Diagonal (45°): the run is the deck area divided by the face plus gap. Each board is cut at both ends, so allow about 15% waste, and space the joists at 12 in, because boards span farther between joists on the diagonal.
- Picture-frame border: one course of boards around the perimeter hides the cut ends of the field boards. It needs blocking underneath and mitred corners; allow 10–15% waste.
- L-shaped decks: enter the second rectangle as a second section; it is counted on its own.
Step 3: joists, beams and posts
Joists run across the deck under the boards, spaced along its length:
joists = deck length ÷ spacing, rounded up, + 1
For 16 ft at 16 in on centre, that is 13 joists. Most wood and composite boards laid square to the joists allow 16 in (400 mm) spacing; diagonal decking and many composite or PVC boards need 12 in (300 mm). The board maker's installation guide sets the limit and the warranty depends on it.
The calculator also counts posts along each beam at the spacing you enter, for a material list. It does not size the joists, beams, posts or footings: use span tables, your municipality's deck guide or a permit drawing.
Step 4: fasteners
Each board is fastened at every joist it crosses: two face screws, or one hidden clip with grooved boards. The example has 26 rows crossing 13 joists, so about 676 screws. Use screws rated for treated lumber or the screws the composite maker specifies.
Before you build
Most municipalities require a permit for an attached deck or one more than about 600 mm (2 ft) above the ground. At that height the National Building Code requires guards: at least 900 mm high for a house deck up to 1.8 m above the ground, and 1,070 mm above that, with openings that a 100 mm sphere cannot pass through. The baluster calculator lays out the railing. Call before you dig for footings, and flash the ledger where it meets the house.
What the calculator leaves out
Joist and beam sizing, footings, ledgers, rim joists, blocking, stairs and railings, and the board-by-board cutting plan. The waste allowance covers ordinary offcuts and a few bad boards.
More questions
Is composite decking worth the extra cost?
Composite and PVC boards cost roughly two to three times as much as pressure-treated wood up front, but they don't need staining or sealing, resist rot and splinters, and often carry 25-year or longer warranties. Over 15 to 25 years the total cost can be similar once you count the wood deck's maintenance. They are heavier and can need closer joists.
How long do pressure-treated deck boards last?
Typically 15 to 25 years, depending on the climate, the treatment level and how well the deck is maintained. Keeping the boards clean, re-sealing every few years and letting the underside dry out (good airflow, no soil contact) make the biggest difference. Ground-contact lumber should be used for posts and anything near the soil.
Can I put new deck boards on old joists?
Only if the joists are sound, straight and spaced closely enough for the new boards. Probe them for soft spots, check the ledger and its flashing, and add joists if the new boards need 12 in spacing. Many composite makers require joists that are in good condition and flat within a tolerance.
What is the best deck board length to buy?
The one that spans the deck in a single piece, if you can get and carry it. Where boards must join, stagger the butt joints across different joists and make every joint land on a joist (or double joist). Planning the lengths so offcuts are reusable keeps waste near 10%.
Do I need to leave a gap at the house wall?
Yes: leave a small gap (about 12 mm) between the first board and the siding so water can drain and air can move, and flash the ledger properly. Water trapped against the house is a common cause of rot in both the deck and the wall.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.