Deck Calculator
Work out the deck boards, joists and screws for a new deck.
Last updated 2026-11-28 · How we calculate this
Decking Needed
Enter the deck size and the boards to see the decking.
This is a planning estimate for a rectangular deck with boards laid straight, at right angles to the joists. It does not design the frame: beam sizes, joist sizes, posts, footings, ledger fixings, stairs and railings depend on the span, the load and local building codes. Diagonal or patterned boards need closer joists and more waste. Follow the board maker's instructions for gaps, fixings and joist spacing.
Quick Answer
Divide the deck width by the board width plus the gap to get the rows of boards, multiply by the deck length to get the length of decking, and divide by the board length. A 16 ft × 12 ft deck with 5.5 in boards and 1/8 in gaps needs 144 ÷ 5.625 = 25.6, so 26 rows; 26 × 16 = 416 ft of board, which is 34.67 boards of 12 ft, or 39 with 10% waste.
How to Use This Calculator
Enter the length of the deck in the direction the boards will run and its width across the boards. Then enter the real width of your boards, the gap you will leave between them, the length the boards are sold in and the spacing of the joists underneath. The calculator counts the rows of boards, the total length of decking and the boards to buy with a waste allowance. It also counts the joists and the face screws to fix the boards down, and adds a cost if you enter a price per board.
- Enter the deck length (the way the boards run) and the deck width.
- Enter the board width, the gap between boards and the board length.
- Enter the joist spacing and a waste allowance.
- Read the boards, joists and screws, and add a price per board for the cost.
The Formula
Rows = deck width ÷ (board width + gap), rounded up; Boards = rows × deck length ÷ board length × (1 + waste % ÷ 100), rounded up; Joists = deck length ÷ spacing, rounded up, + 1; Screws = joists × rows × 2
Each row of boards takes up one board width plus one gap, so the deck width divided by that figure gives the rows, rounded up because a part row still needs a board. Every row runs the full deck length, so rows × length is the total length of decking. Dividing by the board length gives the boards; offcuts from one row are used to start the next, which staggers the joints, and the waste allowance covers what is left. Joists are spaced along the length with one at each end, and each board is held by two screws at every joist.
Worked Example
A deck 16 ft long and 12 ft wide with 5.5 in boards and 1/8 in gaps: 144 in ÷ 5.625 in = 25.6, so 26 rows. 26 × 16 ft = 416 ft of decking, and 416 ÷ 12 ft = 34.67 boards, or 39 with a 10% allowance ($780.00 at $20 a board). Joists every 16 in: 192 in ÷ 16 = 12 spaces, so 13 joists of 12 ft (156 ft in all), and 13 × 26 × 2 = 676 screws.
The same deck with 16 ft boards needs 416 ÷ 16 = 26 boards, or 29 with 10% waste, and every row is one whole board with no joints.
UK: a deck 4.8 m × 3.6 m with 144 mm boards and 5 mm gaps has 3.6 ÷ 0.149 = 24.16, so 25 rows and 120 m of decking. In 3.6 m boards that is 33.33, or 37 with 10% waste. Joists every 400 mm: 13 joists of 3.6 m, and 650 screws.
Frequently Asked Questions
Sources: Trex, How to install deck joists (joist spacing for straight and diagonal boards); Trex, How to space deck boards (gaps and hidden fasteners); NIST Guide to SI, Appendix B (conversion factors)