A deck calculator turns the size of the deck you want into the order you actually place: the boards on top, the frame under them, the posts under that, and the screws, railing and stain around the edges. Type the run along the house and how far the deck reaches out, pick a material, and the card counts rows, joists and hardware with a cutting buffer already in. The footings themselves are sized on the concrete footing calculator; the whole project budget sits on the construction cost calculator.
Deck Dimensions & Substructure
Fields start empty for your site measurements
Calculate total deck surface area (Length × Width). Divide total width by effective board width (5.5″ width + 3/16″ gap) to determine total linear board footage, factoring a 10% cutting and end-trim buffer. Joists are spaced 16″ on center for wood or 12″ on center for composite decking.
On this page18 sections
- What does a deck calculator count?
- How does the calculator work?
- How do you calculate deck boards?
- 3 worked examples
- How many boards for a 12 × 16 deck?
- What does a 5.5 inch board actually cover?
- Parallel, perpendicular or diagonal?
- Why does the order carry a cutting buffer?
- Joists, rims and hangers: the frame under the boards
- Posts, footings and concrete bags
- What does the cost line do?
- What the cost line does not include
- Treated pine, cedar, composite or ipe?
- How do you enter metres?
- How much should you order?
- What are the common mistakes on a deck order?
- How this calculator counts
- Frequently asked questions
What does a deck calculator count?
The whole material order, not just the walking surface. From two dimensions — the run along the house and the projection out from it — the card counts deck boards in four stock lengths, the joists and rim under them, hangers, support posts with a concrete bag allowance, deck screws by the box, a 36 in railing with posts and balusters, and the stain to finish it.
Four material presets sit at the top: treated pine, cedar/redwood, composite and ipe. The case this page follows throughout is a 20 × 16 ft treated-pine deck on a ledger, standard 5/4×6 boards laid parallel, 16 in joist spacing and the default 10% cutting buffer: 47 boards in 16 ft lengths, 749 linear feet of decking, 16 joists, 4 posts and about 1,120 screws for 320 sq ft of deck.
How does the calculator work?
Type the two dimensions and every line on the right is that one rectangle read a different way. The headline is the board count in the length picked in the Board Length menu; under it sit the buffered linear footage and the deck area. One quirk to know before it bites: the headline label always reads “(16ft Length)” whatever length you pick — the *number* follows your menu, and the three boxes underneath restate the footage as 12, 16 and 20 ft counts so you can sanity-check it.
| Result line | What it counts |
|---|---|
| Total boards + linear feet | Rows across the width × the run, buffered, rounded up to whole feet |
| 12 / 16 / 20 ft boxes | The same footage cut three ways, for mixing lengths |
| Joists, rim, hangers | The frame: count from the spacing menu, perimeter for the rim |
| Posts (bags) | A planning grid of posts, two 60 lb concrete bags each |
| Screws, railing, stain | ~3.5 screws a sq ft, open sides of railing, a gallon per 200 sq ft |
There is no quantity box and no second-deck box. Two decks means two runs and adding the lists yourself — or one run per level of a multi-level deck.
How do you calculate deck boards?
Boards are counted by rows, not by area. Each row covers the board’s face width plus the 3/16 in gap the card leaves between boards:
On the 20 × 16: 34 rows × 20 ft is 680 linear feet bare. Buffer and round-up print 749 ft — a foot over the paper product, because the card rounds buffered footage up to the next whole foot and orders from that. 749 ÷ 16 ft, rounded up, is the 47 in the headline.
3 worked examples
Example 1 — the 20 × 16 ft ledger deck this page follows
Treated pine, parallel, 16 in spacing, 10% buffer: 47 boards (63 at 12 ft, 38 at 20 ft), 749 linear ft, joists 16 pcs (269 ft), rim 76 ft, 16 hangers, 4 posts (8 bags), screws ~1,120 (4 boxes), stain ~1.6 gal, railing 52 ft (10 posts, 156 balusters). At $25/sq ft + $100 delivery: $8100.00.
Real-world note: 47 sixteen-footers is a heavy cube. The 12/16/20 boxes exist so you can split the order — 20s for long middle rows, 12s where the run shortens.
Example 2 — a 12 × 16 ft deck off the back door
Same settings, 12 ft along the house: 29 boards, 449 linear ft over 192 sq ft, joists 10 pcs (168 ft), rim 59 ft, 3 posts (6 bags), screws ~672 (2 boxes), stain ~1.0 gal, railing 44 ft (9 posts, 132 balusters).
Real-world note: flip the same rectangle — 16 along the house × 12 out — and the board count holds at 29 but the frame changes: 13 joists, 164 ft of them, and 40 ft of railing. Length really is the house side on this card; type it that way.
Example 3 — the same 20 × 16 in composite
Click Composite and two things move: spacing is forced to 12 in and stain reads None (Composite). Boards stay 47; the frame grows to 21 joists (353 ft), 21 hangers. Switch back to cedar and your 16 in spacing returns.
Real-world note: the screw line still shows ~1,120 on composite. Most composite goes down on hidden clips, which this card does not count — treat that line as the face-screw number and price clips separately.
How many boards for a 12 × 16 deck?
29 boards in 16 ft lengths — 38 in 12 ft, 23 in 20 ft — for the standard build: 5.5 in boards, parallel, 10% buffer. The sizes around it, same settings:
| Deck (along house × out) | Area | Buffered linear ft | Boards (16 ft) |
|---|---|---|---|
| 10 × 10 ft | 100 sq ft | 243 ft | 16 |
| 14 × 12 ft | 168 sq ft | 401 ft | 26 |
| 12 × 16 ft | 192 sq ft | 449 ft | 29 |
| 16 × 12 ft | 192 sq ft | 458 ft | 29 |
| 20 × 16 ft | 320 sq ft | 749 ft | 47 |
| 20 × 20 ft | 400 sq ft | 947 ft | 60 |
Every row: 5.5 in face, parallel layout, 10% buffer, buffer rounded up to whole feet. Note the 12 × 16 and 16 × 12 rows: same area, same board count, 9 ft apart in footage — rows are counted across the projection, so orientation moves the footage even when it spares the count.
What does a 5.5 inch board actually cover?
5.6875 inches of deck per row — face plus the 3/16 in gap. Skip the gap in your own math and you under-buy every deck by about 3%: face-only math squeezes 35 rows into this projection where the card lays 34 and covers, because the gaps are part of the coverage:
| Board size | Pitch per row | On the 20 × 16 ft deck |
|---|---|---|
| 3.5 in (2×4 / narrow) | 3.6875 in | 1,166 linear ft → 73 boards |
| 5.5 in (5/4×6, default) | 5.6875 in | 749 linear ft → 47 boards |
| 7.25 in (2×8 wide) | 7.4375 in | 572 linear ft → 36 boards |
16 ft lengths, 10% buffer. Narrow boards nearly double the piece count and every screw row with it; the screw line does not follow — it stays at ~3.5 a sq ft whatever face you pick, so a 2×4 deck wants a second look at the fastener math.
Parallel, perpendicular or diagonal?
Parallel boards run along the house and the joists span the projection — the default, and the layout behind every number above. Perpendicular flips both: boards run out from the house, rows are counted along the house run, and the joists span the long way. Diagonal keeps the parallel row count but the card floors the waste at 15%, whatever the buffer menu says, because nearly every edge board ends in a 45° cut.
| Layout (20 × 16 ft) | Linear ft | Boards | Joists | Posts |
|---|---|---|---|---|
| Parallel | 749 ft | 47 | 16 pcs (269 ft) | 4 |
| Perpendicular | 757 ft | 48 | 13 pcs (273 ft) | 6 |
| 45° diagonal | 782 ft | 49 | 16 pcs (269 ft) | 4 |
5.5 in boards, 16 in spacing, 10% buffer menu. The diagonal row runs at the forced 15% — set the buffer to 0% and a diagonal deck still prints 782 ft. The card does not tighten joist spacing for diagonal; most codes and brands want 12 in under a 45° layout, so set that menu yourself.
Why does the order carry a cutting buffer?
Because boards end. End trims, a split board, the row that lands 2 in short against the house — the buffer menu (0/5/10/15, opening at 10%) is the difference between the footage on paper and the footage on the truck:
| Buffer | Linear ft (20 × 16) | Boards (16 ft) |
|---|---|---|
| 0% exact | 680 ft | 43 |
| 5% | 714 ft | 45 |
| 10% (default) | 749 ft | 47 |
| 15% | 782 ft | 49 |
The buffer multiplies decking footage only. Joists carry their own built-in 5% on linear feet, screws and stain ride on area, and none of them move when this menu does — watch the joist line hold at 269 ft across the whole ladder.
Joists, rims and hangers: the frame under the boards
Joists are counted across the framing run: ceil(run ÷ spacing) + 1, the +1 closing the far end, with 5% added to their linear feet for cuts. On the 20 ft run:
| Joist spacing | Joists | Joist linear ft | Hangers (attached) |
|---|---|---|---|
| 12 in O.C. | 21 pcs | 353 ft | 21 |
| 16 in O.C. (default) | 16 pcs | 269 ft | 16 |
| 24 in O.C. | 11 pcs | 185 ft | 11 |
20 × 16 ft deck, parallel, so each joist spans the 16 ft projection. Rim and ledger reads 76 linear ft at every spacing — the full 72 ft perimeter plus 5%, the house side included, because the ledger is a board too. Freestanding doubles the hangers (both ends bear on beams): 32 on this deck.
The card counts joists; it does not size them. Whether a 16 ft span wants a 2×8, a 2×10 or a mid-span beam is a span-table question — size picked, the lumber converts to board feet on the board foot calculator. The count settles the shopping list: pieces, footage, one hanger per end that hangs.
Posts, footings and concrete bags
Posts are a planning grid, not an engineered layout: a beam line about every 8 ft of joist span, posts about every 8 ft along the beam, and on a ledger deck the house-side line drops away because the ledger carries it. Each post carries an allowance of two 60 lb bags of concrete.
| Deck | Posts | 60 lb bags |
|---|---|---|
| 20 × 16 attached | 4 | 8 |
| 20 × 16 freestanding | 12 | 24 |
| 20 × 16 perpendicular, attached | 6 | 12 |
| 12 × 16 attached | 3 | 6 |
| 10 × 10 attached | 3 | 6 |
The freestanding version of the same deck triples the posts — both beam lines stand on their own footings and the count floors at four. Two bags a post is a register allowance for a typical tube footing; where a diameter and depth are specified, the pour itself is figured on the concrete calculator.
A tall deck, a hot tub corner or a roof load leaves this grid behind. It keeps you from forgetting footings; it does not stamp the layout.
What does the cost line do?
It multiplies the deck’s area by the rate you type, then adds the delivery fee: area × $/sq ft + fee, printed to the cent with no thousands separator. Both boxes open empty and the line reads $0.00 — the material presets name themselves and set spacing, but no preset carries a price.
| On the 320 sq ft deck | Cost line reads |
|---|---|
| Both boxes empty | $0.00 |
| $100 delivery fee only | $100.00 |
| $25/sq ft + $100 fee | $8100.00 |
Every dollar on the rate is $320 on this deck, so bring a rate that matches the quote you are testing: a boards-only rate against a boards-only question, an all-in installed rate against the whole job. The card cannot tell which you typed.
What the cost line does not include
- Your labor or a crew’s. If the typed rate was materials-only, the build itself is still unpriced.
- Stairs. No stringers, no treads, no stair railing anywhere on the card — a deck two steps up and a deck eight steps up read identical here.
- Hidden fasteners. Clip systems replace the screw count with a clip per joist crossing; that box is not on this list.
- Ledger flashing, tension ties and the permit. Small lines, real money, none of them counted.
- Footings beyond the allowance. Deep frost or a specified diameter outgrows two bags a post fast.
- Demolition and haul-off. The old deck coming out is a dumpster the card never orders.
Treated pine, cedar, composite or ipe?
On the counts, three of the four presets are the same deck. Treated pine, cedar/redwood and ipe return identical numbers everywhere — the preset records a name for the copied summary. Composite is the one that reaches into the math:
| Preset (20 × 16) | Boards | Joists | Stain |
|---|---|---|---|
| Treated pine | 47 | 16 pcs (269 ft) | ~1.6 gal |
| Cedar / redwood | 47 | 16 pcs (269 ft) | ~1.6 gal |
| Composite | 47 | 21 pcs (353 ft) | None (Composite) |
| Exotic ipe | 47 | 16 pcs (269 ft) | ~1.6 gal |
Picking composite forces the spacing menu to 12 in — most manufacturers require it — and picking a wood again restores the spacing you had. If you set 12 in by hand for a diagonal wood deck, the card remembers and hands it back. Stain at a gallon per 200 sq ft is one coat on the deck face; rails, fascia and a second coat are yours to add.
How do you enter metres?
Tap Metric: dimensions in metres, converted to feet inside, priced by the square metre. A 6 × 5 m deck reads 48 boards, 232 m · 30 m², posts 8 (12 bags 40kg), stain ~6.1 L; at $270/m², $8100.00.
Two things stay imperial: framing lines keep their feet — this deck shows joists 16 pcs (276 ft), railing 53 ft — and the toggle converts nothing typed: leave 20 × 16 in the boxes and the card reads a 320 m² terrace needing 501 boards. Retype after switching. Metric stain converts from the rounded gallon figure, so it can sit a tenth of a litre off a from-scratch calc.
How much should you order?
The full list for the common backyard sizes — attached, 5.5 in boards in 16 ft lengths, parallel, 16 in spacing, railing on, 10% buffer:
| Deck | Boards | Joists | Posts (bags) | Screws |
|---|---|---|---|---|
| 10 × 10 platform | 16 | 9 pcs | 3 (6) | ~350 (1 box) |
| 14 × 12 | 26 | 12 pcs | 3 (6) | ~588 (2 boxes) |
| 12 × 16 | 29 | 10 pcs | 3 (6) | ~672 (2 boxes) |
| 20 × 16 | 47 | 16 pcs | 4 (8) | ~1,120 (4 boxes) |
| 20 × 20 | 60 | 16 pcs | 8 (16) | ~1,400 (4 boxes) |
Boards are the buffered count; the buffer is your cutting allowance, not a spare-parts shelf. Add one extra board of the longest length on top as insurance against the split you find on the last row — on odd-shaped decks, measure each rectangle with the square footage calculator and run the card per rectangle.
What are the common mistakes on a deck order?
- Swapping length and width. Length is along the house. Swap a 12 × 16 and boards hold at 29 but joists jump 10 → 13 — the frame ordered no longer matches the deck drawn.
- Rows at face width, no gap. The 3/16 in gap is coverage; face-only math under-buys by about a row in thirty.
- Buffer at 0% on a diagonal. The card refuses quietly: diagonal floors waste at 15% — 782 ft here, not 680.
- Reading the label, not the menu. It always says 16ft; pick 8 ft boards and the headline 94 is an 8 ft count. Cross-check the three length boxes.
- Composite at 16 in spacing anywhere else. This card forces 12 in and restores yours after; a diagonal in any material wants 12 in set by hand.
- Screws for a hidden-clip deck. The ~3.5/sq ft line is face screws; clips are never counted here.
- Forgetting the stairs. Stringers, treads, stair railing: absent from every line.
- The post grid as engineering. Eight-foot planning spacing is a shopping count; height, snow and hot tubs need a drawing.
- Metric with feet still typed. Nothing converts: 20 × 16 becomes 501 boards and 60 posts.
- Reset keeping your material. It resets everything — treated pine, 16 in spacing — keeping only the unit.
How this calculator counts
Every rule, as the card applies it:
- Rows/footage: pitch = face (3.5 / 5.5 / 7.25 in) + 3/16 in gap. Rows = ceil(width ÷ pitch); perpendicular counts across the length instead. Linear feet = rows × run × (1 + buffer), rounded up whole. Buffer 0/5/10/15% (10 default); diagonal floors it at 1.15.
- Boards: ceil(linear ÷ picked length 8/10/12/16/20 ft); the headline label always says 16ft. The same footage restates at 12/16/20 ft below.
- Frame: joists = ceil(run ÷ spacing) + 1 at 12/16/24 in; joist and rim footage +5%. Rim = full perimeter. Hangers = joist count attached, double freestanding.
- Posts/bags: beam line per 8 ft of span, post per 8 ft along it; attached drops the house line (min 2), freestanding counts all (min 4). Two 60 lb bags a post; metric 1.5 × 40 kg bags, rounded up.
- Screws/railing/stain: screws ceil(area × 3.5), 350 a box. Railing = open sides (length + 2 widths attached, perimeter freestanding), post per 6 ft + 1, balusters 3 a foot; off reads “None (Platform)”. Stain = area ÷ 200 gal, one decimal; “None (Composite)” on composite.
- Materials: treated, cedar and ipe change nothing numeric. Composite forces 12 in spacing (yours is remembered, then restored) and clears stain.
- Cost: area × typed rate + fee, to the cent, no commas; metric rates the m². Fee alone prints the fee; no dimensions print zeros regardless.
- Units/reset: metres convert at ×3.28084; the toggle converts nothing typed; frame and railing lines print feet in both modes. Reset restores every menu and treated pine, keeping only the unit.
Frequently asked questions
How many deck boards do I need for a 12×16 deck?
29 boards at 16 ft — 449 buffered linear feet of 5.5 in decking at 10%: 38 at 12 ft, 23 at 20 ft.
How many boards for a 20×16 deck?
47 boards at 16 ft (749 linear ft), over 16 joists and 4 posts, ~1,120 screws — 4 boxes.
Why does the footage read 749 ft when 680 plus 10% is 748?
Buffered footage rounds up to the next whole foot and the card orders from that: 680 ft bare, 749 ft at 10%.
What is the actual width of a deck board?
A 5/4×6 face is 5.5 in; with the 3/16 in gap each row covers 5.6875 in.
How far apart should deck joists be?
12 / 16 / 24 in — 21 / 16 / 11 joists on a 20 ft run. Composite forces 12 in here; diagonal wants it set by hand.
How many joists do I need?
Run ÷ spacing, rounded up, +1: a 20 ft run at 16 in is 16 joists, 269 linear ft with the 5% allowance.
How many screws for a deck?
About 3.5 a sq ft: 320 sq ft reads ~1,120 screws, 4 boxes of 350.
How much stain does a deck take?
1 gal per 200 sq ft — 1.6 gal on 320 sq ft, one coat on the face. Composite: none.
Does a diagonal deck need more boards?
Yes: waste floors at 15% even at a 0% menu — 782 ft / 49 boards vs 749 / 47 parallel on a 20 × 16.
Does the material change the board count?
No. Composite only forces 12 in spacing (21 joists here) and clears the stain line.
How many posts and footings does a deck need?
An 8 ft planning grid: the 20 × 16 reads 4 posts attached, 12 freestanding, two 60 lb bags each.
Why does the headline say 16ft when I picked 8 ft boards?
The label is fixed; the number follows the Board Length menu — 94 at 8 ft here. The length boxes below are the check.
How much railing do I need?
The open sides: attached, length + both widths — 52 ft on the 20 × 16, 10 posts, 156 balusters at 3 a foot.
Can I enter metres?
Yes — retype after the toggle. A 6 × 5 m deck reads 48 boards, 232 m; frame lines still print feet.