Deck Calculator — Boards, Joists, Posts & Screws

Enter your deck size and get decking boards, joists, posts, screws and footing concrete — built for 5.5 in boards with a 1/8 in gap and 16 in joist spacing.

Quick answer

A 12×16 ft deck needs 39 decking boards, 10 joists, 3 posts and about 700 screws.

Deck calculator

Results update as you type. Your numbers are saved in the page link, so you can bookmark or share them.

Units
Deck dimensions
ft
ft
Waste allowance
10%
Price (optional)
39
decking boards (rounded up)
10
joists at 16 in on center
3
posts + 80 lb concrete bags
Board rows35 rows
Joist lumber160 linear ft
Screws (2 per joist per board)700 screws
Deck area192 sq ft

Includes a 10% waste allowance on boards — adjust with the slider. Posts are for the outer beam row of an attached deck; freestanding decks need a second row.

How the deck calculator works

The calculator starts at the surface and works down through the frame. Decking boards are assumed to be 5.5 inches wide, installed with a 1/8-inch gap between boards for drainage and seasonal movement. Board plus gap adds up to 5.625 inches per row, which converts to a row pitch of 0.46875 feet (5.625 ÷ 12). That pitch is the backbone of the whole board count.

Rows of decking. Boards run the length of the deck, so rows stack across the width. Divide the deck width by the row pitch and round up: rows = ceil(W ÷ 0.46875). Rounding up matters because the last row will be a partial-width strip, but it still needs a full board to cut from.

The math, step by step

row pitch = (5.5 in board + 1/8 in gap) ÷ 12 = 0.46875 ft
rows = width (ft) ÷ 0.46875 (round up)
boards = rows × ceil(length ÷ board length) × 1.10 (round up)
joists = ceil(length × 12 ÷ spacing) + 1
posts = ceil(length ÷ 8) + 1  ·  screws = rows × joists × 2
  • Board gap: 1/8 in between boards lets water drain and wood move; wider gaps waste decking, tighter gaps trap leaves.
  • Joists: 16 in on center is the standard for 5/4 decking; 12 in on center is needed for diagonal layouts and some composites.
  • Posts: the count here is for the outer beam row of an attached deck; a freestanding deck needs a second row on the house side too.
  • Concrete: one 80 lb bag per post footing is a planning figure — a 12 in diameter, 12 in deep hole takes about 0.8 cu ft, slightly more than one bag.
12 ft 16 ft deck, top view — boards across, joists below (yellow)
A 12 × 16 ft deck: 35 rows of boards, 10 joists at 16 in on center, 3 posts.

Boards per row. Divide the deck length by the board length you plan to buy and round up. If your deck is 12 feet long and you buy 12-foot boards, that's one board per row. Buy shorter boards and you'll need butt joints, with one extra board per row per joint.

Total boards. Multiply rows by boards per row, add a 10% waste allowance for cuts, splits, and offcuts, then round up: boards = ceil(rows × per-row × 1.10). Ten percent is a working number for straight runs; complicated layouts use more.

Joists. Joists run perpendicular to the decking at 16 inches on center. The count is ceil(L × 12 ÷ 16) + 1 — convert the deck length to inches, divide by 16, then add one for the closing joist at the far edge. Each joist spans the full deck width, so multiply the count by W to get linear footage for your lumber order.

Posts. Posts are placed every 8 feet along one outer beam row: posts = ceil(L ÷ 8) + 1. That covers a deck attached to the house, where the ledger carries the inner edge. A freestanding deck needs a second beam row, so double the post count.

Screws. Two screws at every board-to-joist crossing: screws = rows × joists × 2. That's the standard two-screw attachment at each intersection, one near each board edge.

Concrete. One 80 lb bag of concrete per post footing. Bagged concrete is practical for the 12-inch footings typical of deck posts; anything larger usually calls for ready-mix.

Enter your deck length and width, board length, and price per board, and the calculator runs these steps in order. Every result rounds up, because you can return an unopened board but you can't stretch a short one.

Measure the deck's length and width at the framing, not off old decking or a rough sketch, because a deck that measures 16 ft 3 in on one edge and 15 ft 10 in on the other will change your row count when the calculator rounds up. Measure from the outside edges of the rim joists, and write both dimensions down before entering anything. The most common mistakes are simple ones: measuring in inches and entering the result as feet, forgetting that the 1/8 in gap between 5.5 in boards is already built into the row pitch, and assuming joist spacing other than the 16 in the calculator uses — 12 in or 24 in framing will throw off both the joist count and the screw count, since screws are figured as two per board per joist. Another frequent error is buying boards shorter than the deck length; a 12-ft board run on a 16-ft deck forces butt joints, and each joint in a row means one extra board, which is why matching board length to deck length matters. On waste, the default 10% covers straight cuts and the occasional split or warped board on a simple rectangular deck laid parallel to the edges. Drop it toward the low end if your deck is a clean rectangle, boards run straight, and you're buying in full bundles — but don't drop it to zero, because one cracked board mid-install will send you back to the yard. Raise the allowance above 10% for diagonal layouts, picture-frame borders, decks with angled corners or cutouts, and anything with lots of short filler pieces, since angled cuts eat usable offcuts fast. Two things worth double-checking before you order: posts are figured for a single beam row at 8 ft spacing — a freestanding deck needs a second row, so double the post count and the 80 lb concrete bags with it — and the cost line uses $25 per board, so swap in your local price if it differs. Get the measurements right, pick the correct board length, and adjust the waste to match your layout, and the numbers will hold up at the lumber counter.

Worked example: a 12 × 16 ft deck

Here's the full run for a 12 ft × 16 ft deck using 12-foot boards.

  1. Row pitch: 5.5 in board + 1/8 in gap = 5.625 in = 0.46875 ft.
  2. Rows: 16 ÷ 0.46875 = 34.13, round up to 35 rows.
  3. Boards per row: 12 ft deck ÷ 12 ft boards = 1 per row, no butt joints.
  4. Total boards: 35 × 1 = 35, then 35 × 1.10 = 38.5, round up to 39 boards (10% waste included).
  5. Joists: 12 × 12 = 144 in; 144 ÷ 16 = 9; 9 + 1 = 10 joists. Each spans the 16 ft width, so 10 × 16 = 160 linear ft of joist lumber.
  6. Posts: 12 ÷ 8 = 1.5, round up to 2; 2 + 1 = 3 posts on the outer beam row. A freestanding deck would need 6.
  7. Screws: 35 rows × 10 joists × 2 = 700 screws.
  8. Concrete: 3 posts × 1 bag = 3 × 80 lb bags.
  9. Cost: 39 boards × $25 = $975 for decking boards.

The quick answer on this page — 39 boards, 10 joists, 3 posts, about 700 screws — is this exact deck.

Quick reference tables

Speed sheetThe table below shows outputs for common deck sizes

The table below shows outputs for common deck sizes. The 16×20 ft deck uses 16-ft boards; the others use 12-ft boards.

The table below shows outputs for common deck sizes
Deck sizeBoard lengthBoardsJoistsPostsScrews
10×12 ft12 ft2993468
12×16 ft12 ft39103700
16×20 ft16 ft481331,118

Matching board length to deck length avoids butt joints in the field of the deck. Shorter boards work, but each joint adds one extra board per row.

Matching board length to deck length avoids butt joints in the field of the deck
Board lengthSuits decks up to
8 ft8 ft long
12 ft12 ft long
16 ft16 ft long
20 ft20 ft long

What a deck costs

The calculator uses a default price of $25 per decking board, which you can change to match your local lumberyard or big-box pricing. For the 12×16 ft example, 39 boards at $25 each comes to $975 for the decking surface.

That figure covers decking boards only. The frame is separate: 10 joists totaling 160 linear ft, the beams, the 3 posts, 700 screws, and 3 × 80 lb bags of concrete for the footings all add to the total. Pressure-treated dimensional lumber is priced by the linear foot at most suppliers, so ask for a quote on the joist stock when you pick up the decking.

The $25 per board is a national planning range, not a quote. Board prices move with lumber markets and vary by species and treatment — pressure-treated pine, cedar, and composite boards priced per piece or per square foot all behave differently. Treat the calculator's cost output as a starting budget for the boards, adjust the per-board price to what you actually find, and get firm pricing on the framing package locally before you order.

Frequently asked questions

How many boards do I need for a 12×16 ft deck?

With 12-ft boards, a 12×16 ft deck works out to 35 rows of boards, and with 10% waste added that comes to 39 decking boards. That same deck needs 10 joists, 3 posts, about 700 screws and 3 bags of concrete.

What formula does the calculator use for decking boards?

Row pitch is board width plus gap: 5.5 in plus 1/8 in equals 0.46875 ft. Rows = ceiling of deck width ÷ 0.46875. Boards per row = ceiling of deck length ÷ board length. Then total boards = ceiling of (rows × per-row × 1.10) to cover the 10% waste allowance.

How much waste does the calculator add?

It adds 10% to the board count to cover cuts, defects and mistakes. The calculator rounds up to whole boards after applying the allowance.

How does the calculator figure joists, posts and screws?

Joists are placed at 16 in spacing, so the count is ceiling of (deck length in inches ÷ 16) + 1, each cut to the deck width — a 12×16 ft deck gets 10 joists, or 160 linear ft of joist material. Posts are set at 8 ft spacing along one outer beam row: ceiling of (deck length ÷ 8) + 1, which gives 3 posts for a 12-ft deck. Screws are 2 per board per joist, so rows × joists × 2 — 35 × 10 × 2 = 700 screws for a 12×16 ft deck.

How much concrete do I need for the posts?

Plan on one 80 lb bag of concrete per post. A 12×16 ft deck with 3 posts means 3 bags. Note that the calculator sizes one beam row; a freestanding deck needs a second row of posts, so double both.

What does the decking cost for a 12×16 ft deck?

At the default price of $25 per board, 39 boards comes to $975 for decking. The board count is the driver — change your deck size or board length and the cost scales with it.

Which board length should I buy?

Match board length to deck length: 8 ft boards suit decks up to 8 ft long, 12 ft boards up to 12 ft, 16 ft boards up to 16 ft, and 20 ft boards up to 20 ft. Buying boards shorter than the deck length forces butt joints, and each joint costs one extra board per row.

How many boards do common deck sizes need?

From the table using 12-ft boards: a 10×12 ft deck needs 29 boards, 9 joists, 3 posts and 468 screws. A 12×16 ft deck needs 39 boards, 10 joists, 3 posts and 700 screws. A 16×20 ft deck built with 16-ft boards needs 48 boards, 13 joists, 3 posts and 1,118 screws.

Assumptions and limitations

  • Decking boards are 5.5 in wide, installed with a 1/8 in gap, giving a row pitch of 0.46875 ft.
  • Boards run the deck length; rows are counted across the width, with boards per row = deck length ÷ board length, rounded up.
  • A 10% waste allowance is added to the board count and the result is rounded up to whole boards.
  • Joists are spaced 16 in on center and each spans the full deck width; the count includes one extra end joist.
  • Posts sit every 8 ft along one outer beam row; freestanding decks need a second row, so double the post count.
  • Fastening is 2 screws per board per joist crossing, and each post footing takes 1 × 80 lb bag of concrete.

Sources

  • Trex Company — trex.com
  • Decks.com — decks.com
  • American Wood Council — awc.org
  • The Home Depot — homedepot.com

Last reviewed: November 20, 2026, by the YardMath Editorial Team. Formulas re-checked against manufacturer datasheets; national price ranges refreshed quarterly.