Learn more
Estimate the materials for a wood or composite deck: how many deck boards, joists, posts and fasteners to buy, and a rough material cost.
Deck boards = rows × deck length × (1 + waste %) ÷ board length, rounded up
Joists = deck length ÷ joist spacing, rounded up, + 1
Screws = rows × joists × 2 (hidden clips: rows × joists)
How to use the deck calculator
Enter the deck length along the house and the width out from the house. The calculator assumes deck boards run parallel to the house and joists run out from it, the most common layout. Choose the board length you plan to buy, the actual board width (5.5 in for both 5/4×6 and 2×6 decking) and the gap, then the joist spacing. Tick whether the deck is attached to the house with a ledger board or freestanding, pick deck screws or hidden clips, and add prices for a cost estimate.
Important: this tool gives a shopping list, not a structural design. Joist and beam sizes, post spacing, footings, ledger fastening, railings and stairs are governed by local building codes, and most decks need a permit.
How deck materials are estimated
Deck boards = rows × deck length × (1 + waste %) ÷ board length, rounded up
Joists = deck length ÷ joist spacing, rounded up, + 1
Screws = rows × joists × 2 (hidden clips: rows × joists)
Each row of decking covers one board width plus one gap. Multiplying the rows by the deck length gives the total linear footage of decking; dividing by the board length gives the number of boards. The waste allowance covers end trimming, staggered butt joints and the odd bad board. Joists are counted from one end of the deck to the other at the chosen spacing, with one extra to close the far end. Each board crosses every joist, and is fastened with two screws or one hidden clip at each crossing.
Worked example
A 16 × 12 ft deck attached to the house, using 5.5 in boards with a 1/8 in gap and joists at 16 in on center:
- Rows: 144 in ÷ 5.625 in = 25.6, so 26 rows (the last one ripped to fit).
- Deck boards: 26 rows × 16 ft = 416 ft; with 10% extra, 457.6 ft ÷ 16 ft = 28.6, so 29 boards 16 ft long.
- Joists: 192 in ÷ 16 = 12, plus 1 = 13 joists, each 12 ft, with 13 joist hangers at the ledger.
- Beam and posts: one doubled beam 16 ft long near the outer edge, with posts about every 8 ft = 3 posts.
- Screws: 26 × 13 × 2 = 676, or about 710 with 5% extra.
Framing adds up to 220 linear feet (13 joists × 12 ft, a 16 ft ledger and rim joist, and two 16 ft beam plies). At $22 per board, $2.50 per foot of framing and $20 per post, the materials come to about $1,248, or $6.50 per square foot, before fasteners, hardware, concrete, stairs and railings.
Tips for planning a deck
- Joist spacing: 16 in on center is standard for most wood decking. Many composite boards and any diagonal layout need 12 in spacing — check the board maker's installation guide.
- Board length: boards that span the whole deck look best. If you must join boards, the joint must land on a joist, so choose lengths that suit your spacing.
- Gaps: wet pressure-treated boards shrink as they dry, so they are often laid tight. Kiln-dried and composite boards need the gap the manufacturer specifies.
- Footings: use the concrete calculator for post footings and the stair calculator to lay out steps.
Common mistakes
- Ignoring the frame. Joists, beams, posts and hardware can cost as much as the decking.
- Too little waste. Diagonal and picture-frame patterns can need 15–20% extra.
- Wrong fasteners. Treated lumber corrodes ordinary steel, so use coated or stainless screws and hangers rated for it.
To price lumber by volume, try the board foot calculator, and use the square footage calculator for irregular decks. The figures are estimates only; local codes apply.
Sources
Spacing and layout assumptions follow common US deck-building practice. The American Wood Council's DCA 6 (Prescriptive Residential Wood Deck Construction Guide) and your local building code set the actual span and footing requirements.
Cite or link to this page
Using this deck calculator in an article, report or homework? Copy a citation or a ready-made link:
Calcivia. (2026). Deck Calculator. Retrieved November 11, 2026, from https://www.calcivia.com/deck-calculator/"Deck Calculator." Calcivia, 2026, https://www.calcivia.com/deck-calculator/. Accessed 11 Nov. 2026.<a href="https://www.calcivia.com/deck-calculator/">Deck Calculator</a> by Calcivia