Deck Calculator
Work out how many deck boards, joists and screws or hidden fasteners a deck takes, with the gap between boards, the joist spacing, and a check of the joist span.
Along the boards, usually along the house.
Out from the house, the way the joists run.
Most deck boards are 5½ in wide; check yours.
Trex requires at least 3/16 in between boards.
Or type any length.
Center to center: 12, 16 or 24 in.
None needed for cut-offs; add some for culls or a diagonal layout.
Deck boards to buy
Enter your measurements to see a result.
Measure the deck's length along the house and its width out from the house; the boards usually run along the house, over joists that run out from it. For an odd shape, use the square footage calculator for the area and add a little extra. Deck joist spacing, spans and board gaps explains each setting.
Worked example
A 16 × 12 ft composite deck, 16 ft boards
| Deck area | 192 sq ft |
|---|---|
| Rows of boards across the width | 26 boards |
| Boards in each row | 1 board |
| Deck boards, rounded up | 26 boards |
| Joists (length ÷ spacing, + 1) | 13 joists |
| Each joist | 12 ft |
| Rim joist and ledger | 32 linear ft |
| Deck screws, 2 per board per joist | 676 screws |
Answer: 26 boards. Rows of boards across the width, each made of whole boards, butted over a joist.
Formula and method
rows = ⌈ (deck width + gap) ÷ (board width + gap) ⌉
boards = rows × ⌈ deck length ÷ board length ⌉ (+ extra)
joists = ⌈ deck length ÷ joist spacing ⌉ + 1
screws = 2 × rows × (joists + butt joints in a row)
Each row of boards is made of whole boards butted end to end over a joist; cut-offs are counted as used. Deck makers and the American Wood Council call for two screws per board at every joist, and both board ends at a butt joint get their own. Hidden fasteners are counted in boxes by the area each box covers.
The span check compares the deck's width (the joist length, from the ledger to one beam) with the American Wood Council's DCA 6 span table for your joist size, wood and spacing. It is a guide, not a design: footings, beams, ledger and railings need their own checks, and local codes rule. Pouring footings? Use the concrete calculator.
Joist spacing and gaps by decking
| Decking | Joists at most | Gap between boards |
|---|---|---|
| Composite | 16 in apart | 3/16 in |
| 5/4 wood | 16 in apart | 1/8 in |
| 2× wood | 24 in apart | 1/8 in |
Composite makers allow joists at most 16 in apart on a home deck and 12 in for boards laid at an angle (Trex, TimberTech). The IRC allows 16 in under 5/4 wood decking and 24 in under 2 in thick decking. Trex requires at least 3/16 in between boards; the American Wood Council spaces wood decking about 1/8 in apart.
Boards, joists and screws for common deck sizes
Composite decking, 16 ft boards, joists 16 in apart, face screws:
| Deck | 16 ft boards | Joists | Screws |
|---|---|---|---|
| 10 × 10 ft | 22 boards | 9 joists, 10 ft | 396 screws |
| 12 × 12 ft | 26 boards | 10 joists, 12 ft | 520 screws |
| 16 × 12 ft | 26 boards | 13 joists, 12 ft | 676 screws |
| 20 × 14 ft | 60 boards | 16 joists, 14 ft | 1,020 screws |
| 24 × 16 ft | 68 boards | 19 joists, 16 ft | 1,360 screws |
Common mistakes
- Dividing the area by the board coverage. Boards come in whole lengths, and a 20 ft row of 16 ft boards needs two of them.
- Forgetting the gaps. Gaps add up across the deck, and each one changes the number of rows.
- Spacing joists for wood, then laying composite. Most composite boards need joists 16 in apart or closer, and 12 in on a diagonal.
- Mixing up length and width. Boards run along the length; joists run across it. Swapping them changes every count.
Frequently asked questions
How many deck boards do I need?
Count the rows across the deck, then the boards in each row. A 12 × 12 ft deck of 5½ in composite boards takes 26 boards of 16 ft (each cut to 12 ft); a 16 × 12 ft deck takes 26 boards.
How many screws for a deck?
Two per board at every joist. The 16 × 12 ft deck takes 676 screws with joists 16 in apart. FastenMaster sells 350 screws for 100 sq ft at that spacing, which is close.
Does this work for composite decking?
Yes: choose “Composite” and the gap and joist spacing follow the Trex and TimberTech guides. Check your board's width; TimberTech's is 5.36 in, a little under the 5½ in default.
How much lumber is the framing?
The result lists the joists and their length, plus the rim joist and ledger. To price them by the board foot, use the board foot calculator.
Related tools and guides
- CalculatorBoard Foot CalculatorWork out the board feet in one board or a whole lumber list from thickness, width, length and pieces, with nominal sizes explained and the total cost.
- CalculatorConcrete CalculatorWork out the concrete for a slab, footings, post holes or steps: cubic yards with waste, the ready-mix order, and how many 40, 60 or 80 lb bags to buy.
- CalculatorStair CalculatorLay out stairs from their total rise: number of risers, riser height, tread depth, total run, stringer length and how many stringers, with code checks.
- CalculatorSquare footage calculatorFind the square footage of any room: rectangles, L-shapes, circles and odd shapes, in feet and inches or metric, with cutouts subtracted. Free and private.
- GuideDeck Joist Spacing, Joist Spans and Board GapsHow far apart deck joists go for composite and wood decking, how far each joist size can span, how wide to gap deck boards, and how many boards you need.