Deck Calculator

How many deck boards, joists, beams, footings and screws you need for a deck — plus the decking cost.

Checked and reviewed by Zia ur Rehman, site owner · Last reviewed: November 2026 · The formula is shown on this page and the sources behind the numbers are listed at the foot of the page.

A deck is easy to under-order by eye, because the board count depends not just on the area but on the width of each board and the small gap left between boards for drainage. A 16 × 12 ft deck is 192 square feet — a figure you can check with the Square Footage Calculator — but that area alone does not tell you how many boards, joists or screws to buy. This calculator starts with the deck length and width, lays the boards out across the width, and works out the full shopping list: deck boards, linear feet of decking, joists, beams, concrete footings and screws.

Enter the deck size in feet and inches, the actual width of your deck boards, and the gap you plan to leave between them. A standard 5.5-inch board with a 1/4-inch gap is pre-filled, along with 16-inch joist spacing, the most common layout for a wood deck. Change the board stock length to match what your lumberyard stocks and the calculator adjusts how many boards you need when one board cannot span the full length. If you are pricing the framing lumber as well as the decking, the Board Foot Calculator helps you work out lumber volume and cost for joists and beams.

Deck Calculator

26 deck boards
Boards to order (with 10% spare for cuts & defects)29
Linear feet of decking416 ft
Joists13
Beams2
Concrete footings6
Deck screws (approx)676
Boards if you buy 12 ft stock52 (about 8 ft of offcut per row)
Boards if you buy 16 ft stock26 (about 0 ft of offcut per row)
Estimated decking cost$0.00

Footings assume posts spaced about 8 ft apart along each beam with the deck ledger attached to the house. Use the Concrete Bag Calculator with your hole size for the concrete to fill them. The boards-to-order line adds a 10% spare allowance to the layout count for cuts, defects and the board you spoil — the headline count is the bare layout figure.

Quick answer: a 16 × 12 ft deck with 5.5 in boards and a ¼ in gap needs 26 deck boards across the width — 416 linear feet of decking in 16 ft boards.

How to Use This Calculator

  1. Measure the finished deck length and width in feet and inches. The length is the direction the deck boards will run; the width is the direction across the boards, from the house out into the yard.
  2. Enter the actual board width and the gap between boards. Use the measured width of the board you are buying — a nominal 6-inch deck board is usually 5.5 inches wide — and 0.25 inches is a typical gap for pressure-treated lumber.
  3. Choose the board stock length your supplier stocks and the joist spacing from your plan: 16 inches for most wood decks laid straight, 12 inches for diagonal layouts or most composite boards.
  4. Read off the board count, joists, beams, footings and screws, then add a waste allowance before ordering — 5 to 10 percent extra boards covers cuts, defects and the board you inevitably spoil.

The Formula

Deck boards run along the length of the deck and are counted across the width. Each board covers its own width plus one gap, so the number of rows is the deck width in inches divided by (board width + gap), rounded up — you cannot buy a fraction of a row, and the last row may need ripping down to fit. If the deck is longer than one stock board, each row takes more than one board: the boards per row is the deck length divided by the stock length, rounded up, and the total boards is rows times boards per row. Linear feet of decking is simply rows times the deck length in feet.

Joists run across the width, underneath the boards, and are spaced along the length. The joist count is the deck length in inches divided by the spacing, rounded up, plus one — the extra joist closes the far end of the frame, the same reason a fence needs one more post than it has panels. Beams sit under the joists, spaced about 8 ft apart across the width, and footings form a grid under the beams: one footing under each post, with posts about every 8 ft along each beam. When you know your footing hole size, the Concrete Calculator works out the volume for each hole, and this count tells you how many holes to multiply it by.

Boards = Deck width (in) ÷ (board width + gap)  |  Joists = Deck length (in) ÷ spacing + 1  |  Screws = Boards × Joists × 2
Deck lengthDeck widthboards run along the length

Worked Example

Take the default deck: 16 ft long by 12 ft wide, with 5.5-inch boards, a 0.25-inch gap, 16 ft stock boards and joists at 16 inches. The width is 144 inches, and each row covers 5.5 + 0.25 = 5.75 inches, so rows = 144 ÷ 5.75 = 25.04, rounded up to 26 boards. Because one 16 ft board spans the whole length, that is also the full board count, and the linear feet of decking is 26 × 16 = 416 ft. Joists are ceil(192 ÷ 16) + 1 = 13, each one 12 ft long to span the width. Beams are ceil(12 ÷ 8) = 2, footings are 2 × (ceil(16 ÷ 8) + 1) = 6, and screws are 26 boards × 13 joists × 2 = 676.

A smaller 10 × 10 ft deck with the same boards and spacing needs ceil(120 ÷ 5.75) = 21 boards, ceil(120 ÷ 16) + 1 = 9 joists, 2 beams and 6 footings, and 21 × 9 × 2 = 378 screws. Notice the footing count is the same as the bigger deck: a 10 ft deck still needs a post at each end of each beam and one in the middle is not required at this span, which is exactly why it pays to run the numbers instead of scaling a guess down from a larger deck.

Scale up to a 20 ft by 16 ft deck bought in 16 ft stock and the butt joints appear: the width still takes 34 rows, but each row now needs two boards, so the layout count is 68 boards — while the linear feet stay at 680, because the rows themselves did not change. Joists are ceil(240 ÷ 16) + 1 = 16, beams stay at 2, footings rise to 2 × (ceil(20 ÷ 8) + 1) = 8, and screws are 34 × 16 × 2 = 1,088. The same deck on 20 ft stock needs only 34 boards with no butt joints at all — the stock-length comparison in the results exists for exactly this trade-off.

Deck Materials by Deck Size (5.5-in boards, 1/4-in gap, 16-in joist spacing)

Deck sizeAreaBoardsLinear feetJoistsScrews (approx)
8 × 8 ft64 sq ft171367238
10 × 10 ft100 sq ft212109378
10 × 12 ft120 sq ft262609468
12 × 12 ft144 sq ft2631210520
12 × 16 ft192 sq ft3440810680
16 × 12 ft192 sq ft2641613676
16 × 16 ft256 sq ft3454413884
20 × 16 ft320 sq ft34680161,088

Board counts in the table above assume one board spans each row — stock at least as long as the deck's length, so 20 ft stock on the 20 ft deck. With shorter stock each row takes two or more boards and the count rises, though the linear feet do not change; the calculator's 12 ft and 16 ft comparison lines show both counts for your own deck, and the worked example at the foot of the examples above runs the 20 × 16 both ways.

Quick Answers for Common Deck Sizes

How many deck boards do I need for a 10×10 deck?

21 boards — 210 linear feet — with 5.5 in boards and a 1/4 in gap, plus 9 joists and about 378 screws at 16 in spacing. Order 24 boards with the 10% spare.

How many deck boards for a 16×16 deck?

34 boards (544 linear feet), 13 joists and about 884 screws. The width drives the board count, so a 16 × 16 takes the same 34 boards as a 12 × 16 — only the board length changes.

How many boards, joists and screws for a 12×16 deck?

34 boards, 10 joists and about 680 screws — the 12 ft length keeps the joist count down even though the deck is the same 192 sq ft as the 16 × 12.

How many joists does a 12 ft deck need at 12-inch spacing?

13 joists — the 144 in length divided by 12 in spacing, plus the one end joist. That is the spacing to use for a diagonal layout or most composite boards, against 10 joists at the standard 16 in.

How many boards for a 20×16 deck in 16 ft stock?

68 boards — 34 rows at two boards per row, because no 16 ft board spans a 20 ft row. In 20 ft stock the same deck takes 34 boards with no butt joints; the linear feet, 680, are identical either way.

Joist Spacing and Board Gap by Material and Layout

Material / layoutJoist spacingBoard gapWhy
Pressure-treated wood, straight16 inButt tight to 1/4 inWet PT boards shrink as they dry, opening the gap over the first season
Wood, diagonal layout12 in1/4 inBoards span the diagonal between joists — a longer effective span
Composite, straight16 in max — many brands spec 12 in3/16–1/4 in, per the brandComposite flexes more than wood, and the manufacturer's spec overrides any general rule
Composite, diagonal or picture-frame12 inPer the brandDiagonal spans and composite flex compound each other
2×6 wood deckingUp to 24 in in some designs1/4 inThe thicker board carries the wider span — confirm against DCA-6 for your species

12 ft vs 16 ft Stock: What the Offcuts Really Cost

The two extra lines in the results compare the stock lengths yards actually stock. The board count is only half the story — the other half is the offcut left at the end of every row. On the default 16 ft deck, 16 ft boards give one board per row and no offcut at all, while 12 ft boards take two per row and leave about 8 ft of offcut per row: 26 rows of that is over 200 ft of cut-offs to find a use for. Offcuts are not always waste — they become blocking, stair treads and the picture-frame border on many decks — but if your design has no use for them, the longer stock is usually cheaper overall even at a higher price per board. The exception is handling: a 16 or 20 ft board is awkward to transport and to work with alone, so on a small deck the shorter stock can be the practical choice even when the maths favours the long boards.

Joist Span Sanity Check (AWC DCA-6)

The calculator counts joists at your chosen spacing, but it cannot tell you whether a joist can actually span your deck's width — that is set by the joist size, spacing and species, and the reference is the American Wood Council's DCA-6 deck guide. As a rough sanity check for Southern Pine No. 2 joists at 16-inch spacing under a normal residential deck load, maximum spans run about 9½ ft for a 2×6, 12½ ft for a 2×8, 16 ft for a 2×10 and 18½ ft for a 2×12. Tighter 12-inch spacing buys roughly another foot; 24-inch spacing costs about two. So if your deck is 14 ft wide and you planned 2×8 joists, the span does not work — step up to 2×10s or add a beam at mid-span and split the joist run into two shorter spans. Treat these as planning figures only: DCA-6 has the full table by species and grade, and your local code adopts its own version of it.

How Deep the Footings Go: Frost Depth

The footing count above assumes posts about every 8 ft along each beam, but the depth of those footings is a local number, not a national one. A footing has to sit below the frost line — the depth frost reaches in your soil — or freeze-thaw cycles will heave it a fraction of an inch each winter until the deck tilts. That depth is roughly a foot or less across the Gulf Coast and Florida, around 18–24 inches through much of the mid-South and mid-Atlantic, 30–42 inches across the Midwest and Northeast, and 48 inches or more in the northern plains and New England. Your building department publishes the exact figure for your county, and it is the same number the Fence Calculator section on post depth works to — check it once and use it for every hole in the yard.

Common Deck Estimating Mistakes

  1. Counting rows with the nominal 6-inch board width. At 6.25 in per row (board plus gap) a 12 ft width figures to 24 rows; at the real 5.75 in it takes 26. Two rows short is discovered on the last afternoon, not at the yard.
  2. Leaving joists at 16 inches under a diagonal layout or composite boards. Both need 12 in spacing; at 16 the deck feels spongy and the board warranty can be void. Check the board manufacturer's spec before fixing the frame layout.
  3. Forgetting the extra end joist. Joists are spaces plus one — a 16 ft deck at 16 in spacing has 12 spaces and 13 joists. The missing one is always the far end, found after the beams are set.
  4. Ordering the bare layout count. One warped, split or mis-cut board stops the job cold. The boards-to-order line in the results adds the 10% spare for exactly this reason.
  5. Setting footings above the frost line. A shallow footing heaves a fraction of an inch each winter until the deck tilts and doors bind. The depth is a local code figure — look it up before the first hole, not after the concrete.

The span and spacing practice on this page follows the American Wood Council's DCA-6 Prescriptive Residential Wood Deck Construction Guide, checked in November 2026 — your local code adopts its own version of it, and the local version governs.

Tips for an Accurate Estimate

Frequently Asked Questions

How far apart should deck joists be?

Sixteen inches on center is the standard spacing for wood decking laid straight across the joists, and it is the default in this calculator. Use 12 inches on center for a diagonal board layout, because the boards span a longer diagonal distance between joists, and for most composite boards, which are more flexible than wood and can feel bouncy at wider spacing — always check the board manufacturer's specification, since it overrides any general rule. Twenty-four inches is only suitable for thick 2-inch decking in some designs, and rarely for standard 5/4 boards.

How many deck boards do I need for a 12x12 deck?

With standard 5.5-inch boards and 1/4-inch gaps, a 12 × 12 ft deck needs 26 boards: the 144-inch width divided by 5.75 inches per board-and-gap gives 25.04 rows, rounded up to 26. If you buy 12 ft stock boards, each row is a single board, so 26 is the full count and the decking totals 312 linear feet. Add 5 to 10 percent for waste and defects, which means ordering 28 or 29 boards in practice — lumberyards will usually take back clean, uncut extras, but they cannot magic up a matching board on a Sunday afternoon.

How deep should deck footings be?

Deck footings must extend below your local frost line, so the footing does not heave when the ground freezes — and that depth varies a great deal by region, from around a foot in warm southern areas to 4 ft or more in cold northern ones. There is no single safe universal depth, so check your local building code or permit office for the frost depth and minimum footing size in your area before you dig. Once you know the hole diameter and depth, use the Concrete Bag Calculator to work out how much concrete each footing takes.

How much gap between deck boards?

About 1/4 inch is the common target for pressure-treated lumber. Fresh pressure-treated boards are wet and swollen when installed, so many builders butt them almost tight or leave only a small gap and let the boards shrink as they dry, opening the gap over the first season. Kiln-dried wood and composite boards do not shrink the same way, so set the gap the manufacturer specifies — often 1/4 inch for drainage and expansion — and keep it consistent with a spacer or a nail used as a gauge as you work across the deck.

How many screws does a deck take?

The standard fastening pattern is two screws at every point where a deck board crosses a joist, so the count is boards times joists times two. The 16 × 12 ft example on this page is 26 boards × 13 joists × 2 = 676 screws. Screws are far cheaper in bulk buckets than in small boxes, so round the estimate up to the next bucket size — you will also drop, bend and set aside a handful on any real job, and leftover screws keep for the next project.

Sources and Method

The constants and rules of thumb on this page come from the published references below. Where a figure is a range, the calculator uses the mid-range value and the text says so.

Related Calculators