Deck Calculator: boards, joists, posts and railing

How it's calculated. Rows = width ÷ (board width + gap); boards = rows × length × (1 + waste) ÷ board length; joists = length ÷ spacing + 1.
16 × 12 ft deck, 5½" composite with 3/16" gaps: 26 rows → 29 boards of 16 ft, 13 joists 2x10 at 16" o.c., 3 posts, 372 hidden clips
01

Deck

ftin
ftin
ftin
02

Decking

Gap between boards
Board length
%
03

Framing

Joist spacingComposite decking usually needs 16 in, 12 in for diagonal boards — check the maker.
Joist size
Species
ftin
04

Railing and roof

ftin
Deck boards
29boards × 16 ft · Composite
16' 0" × 12' 0" · 192 ft²
Deck area192 ft²
Rows of boards26 · 458 ft of board with waste
Deck boards29
Joists13 × 2x10 × 12' 0" · max span 14' 0⅜"
Beam (two plies)16 ft · 1 × 16 ft
Posts3 × 3' 0" above grade + embedment
Ledger16 ft
Joist hangers13
Hurricane ties13
Hidden clips372
Railing length36 ft
Balusters81
Railing posts8
Rails (top and bottom)72 ft
Joists span 12' 0" at 40 + 10 psf, L/360 — within the limit

Deck plan

16' 0" × 12' 0" · 192 ft²
PLANHOUSE16 ft12 ftDELIMETRA · FT-IN
rows × length × (1 + waste) ÷ boardBoards26Rows of boards13Joists192 ft²Deck area
Your local prices
$
$
$
$
$

Prices are not pre-filled: decking prices vary widely by brand and color.

How we calculate

Boards run along the deck; each row is one board wide plus the gap. Rows = width ÷ (board width + gap), rounded up; the board run is rows × length plus waste, and the boards are that run ÷ the board length.

Joists run out from the house at the spacing you choose: length ÷ spacing + 1. Their allowable span follows the AWC span method for 40 psf live and 10 psf dead load at L/360 (the loads of IRC R507), with the wet-service factors for exterior lumber (Fb × 0.85 when Fb exceeds 1,150 psi, E × 0.9) — on the safe side of IRC Table R507.6. Joists hang from a ledger on the house and sit on a beam on posts at the outer edge.

Hidden clips: one per board at each joist plus 10 %; face screws: two per board per joist plus 5 %. Hangers at the ledger, hurricane ties at every beam.

Railing on the open sides, less the stair opening; posts at most 6 ft apart; balusters 1½ in wide with gaps under 4 in, one every 5⅜ in (IRC R312.1.3). A guard is required where the walking surface is more than 30 in above grade.

Boards
29deck boards

A 16 × 12 ft deck attached to the house takes 29 composite boards 16 ft long: 26 rows of 5½ in boards with 3/16 in gaps, plus 10 % waste. Under them go 13 joists at 16 in on center, a two-ply beam on three posts, a 16 ft ledger with 13 hangers, and about 370 hidden clips. A railing on the three open sides, less a 4 ft stair opening, needs 81 balusters. The calculator above builds this list for any rectangular deck.

How the calculator works

Enter the deck length along the house, its width out from the house and its height above grade, choose the decking, the gap and the board length. Then the framing — joist spacing, size and species, post spacing — and whether the deck has a railing or a roof. The result counts boards, joists, beam, posts, ledger, hangers, ties, clips or screws and railing parts, and checks the joist span.

Boards

Boards run along the deck. Each row is a board wide plus the gap: 5½ + 3/16 = 5 11/16 in, so 12 ft of width takes 26 rows. The board run is rows × length plus waste — 10 % for straight runs, 15 % for diagonal boards or picture-frame borders — and the board count is that run divided by the board length.

Joists and their span

Joists run out from the house, one every spacing plus one: 16 ft at 16 in is 13 joists. Each spans from the ledger to the beam. The calculator checks that span by the AWC method for 40 psf live and 10 psf dead load at L/360, the loads of the deck provisions in IRC R507, with the wet-service factors for lumber used outdoors. On that basis:

Southern pine No. 2 at 16 inMaximum span
2x6about 9 ft
2x811 ft 10 in
2x1014 ft 0 in
2x1216 ft 7 in

These are on the safe side of IRC Table R507.6; where your jurisdiction has adopted that table, it governs. Composite boards usually need joists at 16 in — 12 in when laid diagonally.

Beam, posts and ledger

The joists sit on a beam at the outer edge, carried by posts at the spacing you choose — 8 ft gives three posts on a 16 ft deck. An attached deck hangs its joists from a ledger bolted to the house; a freestanding one gets a second beam and row of posts instead. Size the beam and footings by IRC R507.4 and R507.5.

Railing

A guard is required where the deck is more than 30 in above grade (IRC R312.1.1), at least 36 in high, with openings that a 4 in sphere cannot pass (R312.1.3). With 1½ in balusters that means one every 5⅜ in: 36 ft of railing takes 81 balusters, with posts no more than 6 ft apart.

Common mistakes

For the lumber order, use the Board Foot Calculator; for the concrete in the post footings, the Concrete Calculator.

Questions

How many deck boards do I need?

Rows = deck width ÷ (board width + gap), then rows × length ÷ board length plus waste. A 16 × 12 ft deck with 5½ in boards and 3/16 in gaps: 26 rows, 29 boards of 16 ft with 10 %.

How many joists for a 16 ft deck?

16 ft ÷ 16 in = 12 spaces, so 13 joists at 16 in on center; 17 at 12 in.

How far can deck joists span?

It depends on species, size and spacing. By the AWC method with wet-service factors at 40 + 10 psf, a southern pine No. 2 2x10 at 16 in reaches about 14 ft, a 2x8 about 11 ft 10 in. IRC Table R507.6 governs where adopted.

How many balusters do I need?

Railing length ÷ 5⅜ in for 1½ in balusters with gaps under 4 in (IRC R312.1.3): 36 ft of railing takes 81.

When does a deck need a railing?

When the deck surface is more than 30 in above the grade below at any point within 36 in horizontally (IRC R312.1.1). The guard must be at least 36 in high.

How many hidden clips per square foot?

One per board at each joist: about 2 per square foot at 16 in spacing with 5½ in boards. The example 192 ft² deck takes 372 clips with 10 % extra.

Related calculators