Deck board calculator

Divide the deck width by one board plus one gap to get the rows, then count joists along the boards. A 16 × 12 ft deck with the boards running the 16 ft way, using 5-1/2 in boards with 1/8 in gaps, needs 26 rows: 26 boards 16 ft long (416 linear ft), 13 joists at 16 in on center, and 676 screws at two per board at every joist. Type your price per board, per joist and your labor per sq ft to see the cost: 26 × the board price + 13 × the joist price + 192 sq ft × the labor price.

How to use this calculator · what to enter and what the result means

Wood decking: about 1/8 in apart (AWC DCA 6). Set the joist spacing your building code allows.

Your prices (optional). Type the prices from your lumberyard, store or contractor's quote to see the cost; leave them blank for quantities only.

Deck boards
–
Joists
–

–

–

How the calculator works

–

Rows: each row takes one board width plus one gap, except that the last board needs no gap after it, so rows = (width + gap) ÷ (board width + gap), rounded up. The last row is ripped to fit if the result is not a whole number. Pieces per row: the deck length divided by the board length, rounded up; where a row needs more than one piece, the boards meet end to end over a joist. Joists: the deck length divided by the spacing, rounded up, plus one for the starting end. Screws: every row crosses every joist, and each board end at a butt joint gets its own screws on the joist below it.

The board count buys a whole number of boards for every row. If your offcuts are long enough to reuse in other rows, the linear feet figure is the least you could get away with. Rim joists, ledger, beams, posts, blocking, stairs and railings are not included (to size the beams, posts and footings, use the deck span calculator); for deck steps, the stair stringer calculator works out risers, treads and stringer length against the IRC stair limits, and the baluster spacing calculator counts railing balusters and their gaps.

Deck cost at your prices

This calculator has no built-in prices: lumber, composite boards and labor rates change with the region, the brand, the season and the market, so the only reliable figures are the ones on your store shelf and in your contractor's written quote. Type them in the Your prices boxes and the cost follows the deck:

  • Deck boards: boards (rows × pieces per row, plus any extra) × your price per board at the length you buy.
  • Joists: joists × your price per joist board. Use the price of a board long enough for the joist span (the deck width, or the span to the beam).
  • Screws: whole boxes (screws ÷ screws per box, rounded up) × your price per box.
  • Labor: deck area × your price per square foot (per m² in metric).
  • Other materials and fees: one flat amount for everything else: ledger and its fasteners, rim joists, beams, posts, footings and concrete, joist hangers and hardware, railing, stairs and the permit.

When you compare quotes, check that each one covers the same items: removing an old deck, the ledger flashing and attachment, footing size and depth, beams and posts, railing and stairs, fascia or skirting, hidden fasteners for composite boards, and the permit and inspections. A low price per square foot may leave railings and stairs out.

Deck materials for common sizes

Deck, along × across the boardsBoardsJoistsScrewsCost at your prices

Uses the board width, gap, board length, joist spacing, screws per joist and extra boards set above; boards run along the first dimension. The cost column adds boards, joists, screws and labor at the prices you typed (without the flat fees) and stays blank until you type one.

Board sizes and gaps

BoardActual sizeGap side to sideSource
Southern pine radius edge decking, 5/4 × 61 × 5-1/2 inAbout 1/8 in (AWC DCA 6)SFPA standard sizes
Southern pine 2 × 61-1/2 × 5-1/2 inSFPA standard sizes
Trex Transcend and Enhance, 1 in square edge0.94 × 5.5 inAt least 3/16 inTrex installation guide (2024), pp. 10, 23
Trex Select0.82 × 5.5 in
Trex Transcend and Select 2×61.3 × 5.5 inAt least 3/16 inTrex installation guide (2024), product specifications

The American Wood Council's Prescriptive Residential Wood Deck Construction Guide (DCA 6) says to space wood decking boards approximately 1/8 in apart and to attach decking to each joist with two 8d threaded nails or two #8 screws (p. 3). Trex requires two screws per joist and a gap of at least 3/16 in; with hidden fasteners the clip sets the gap. Other composite and PVC brands have their own sizes and gaps, so enter the figures from your product's installation guide.

Joist spacing for the decking

Trex's span chart (p. 22) allows these maximum joist spacings for residential decks with boards laid square to the joists. At a 45° angle the maximum is 4 in less.

Trex boardResidential, max on centerLaid at 45°
1 in boards and Select16 in12 in
2 × 6 boards24 in20 in

For wood decking, DCA 6 allows boards laid anywhere from square to the joists up to 45°, and each piece of decking must bear on at least 3 joists. Your local building code sets the joist spacing for wood decking; ask your building department.

How far the joists can span

Joist span is the clear distance between supports (for example ledger to beam), not the joist's full length. DCA 6 Table 2 gives these maximum spans for No. 2 southern pine joists, assuming 40 psf live load, 10 psf dead load and wet service conditions:

Southern pine joist12 in o.c.16 in o.c.24 in o.c.
2x69'-11"9'-0"7'-7"
2x813'-1"11'-10"9'-8"
2x1016'-2"14'-0"11'-5"
2x1218'-0"*16'-6"13'-6"

* Limited to 18'-0" for footing design. Other species have shorter spans; the deck span calculator looks up every species, the joist overhang, the beam span between posts, the post height and the footing size, or see the full table in AWC DCA 6, p. 4. Your local code and building department have the final say on spans, beams, footings and the ledger connection.

Practical tips

  • Run the boards the long way when you can. Fewer rows means fewer cuts and fewer screws.
  • Choose a board length that matches the deck length, or a length that splits it at a joist. A 20 ft run with 12 ft boards puts the joint 12 ft in, which lands on a joist at 12 or 16 in on center.
  • Stagger the butt joints from row to row so they don't line up on one joist.
  • Wood boards shrink and swell with moisture, so gaps change after installation. Composite boards also need end gaps for temperature; follow the maker's chart.
  • Buy a few spare boards for split ends and boards you reject for looks; set them in the extra boards field.

Related