How to use the deck calculator
Enter the deck length in the direction the boards will run, and the deck width across them. Add the real (actual) width of your boards, the gap you will leave between them, and the board length you plan to buy. The calculator finds how many rows of boards fit across the deck, the total length of decking, the number of boards to buy, and the joists underneath.
Nominal vs actual board size
Lumber is sold by nominal size, which is bigger than the real board. A "2×6" or "5/4×6" deck board is actually about 5½ inches wide. Composite boards vary, often 5½ inches as well. Always enter the actual width, or the calculator will come up short.
The deck formulas
Linear feet = Rows × Deck length
Boards = Linear feet × (1 + waste) ÷ Board length
Joists = Deck length (in) ÷ Joist spacing + 1
Joist spacing
Most wood decking runs over joists 16 inches on center. Many composite boards require 12 inches, especially if boards run diagonally. Check the decking manufacturer's instructions, because wrong spacing can void the warranty and makes the deck feel bouncy.
Choosing board length
If the deck is exactly 16 ft long, 16 ft boards mean no joints in each row. For longer decks, plan where boards butt together. Joints should land over a joist (often doubled) and be staggered so they don't line up across the deck. Leaving about ⅛ inch between wood boards lets water drain and allows for swelling.
What this calculator does not include
Beams, posts, footings, ledger boards, joist hangers and railing depend on your deck's height, span and local code. These are structural parts, so check spans with your building department or a deck span table before buying.
Frequently asked questions
How many deck boards do I need for a 12×12 deck?
With 5½ inch boards and ⅛ inch gaps you need 26 rows. With 12 ft boards and 10% waste that is 29 boards.
What is the actual width of a 2×6 deck board?
About 5½ inches. 5/4×6 decking is also about 5½ inches wide and 1 inch thick.
How far apart should deck joists be?
Usually 16 inches on center for wood decking. Many composite products need 12 inches, especially for diagonal layouts.
How many screws do I need for a deck?
About two screws per board at every joist. For a 16 × 12 ft deck that is roughly 700 screws.
Last reviewed December 3, 2026. Results are estimates. Check product labels and local codes before buying.