Skip to content
Woodwork Calculator

Deck Calculator

Enter the deck size, board width and joist spacing. You get boards to buy, linear feet, joists and screws or hidden clips, with the framing plan drawn underneath the decking.

Your numbers

ft

The ledger side. Boards run this way, parallel to the house.

ft

How far the deck sticks out. Joists run this way.

in

5/4×6 and most composite boards are 5 1/2″.

in

3/16″ is common for wood. Composite gaps vary with temperature.

Use what your decking maker specifies. Diagonal boards usually need 12″.

Fasteners
%
$ / board

Optional. Adds a decking cost.

Boards to buy—
Plate 04Framing plan. Decking covers the left of the break; to the right the joists, rim and ledger are exposed.
Linear feet—
Joists—
Screws—

Decking

Deck area—
Board rows—
Last row—
Boards per row—
Boards before waste—
Boards with waste—
Decking cost—

Framing and fasteners

Joists, incl. 2 end joists—
Joist length—
Rim joist—
Ledger—
Board-to-joist crossings—
Face screws—
Hidden clips—

Boards per row assumes butt joints land on joists and each row uses whole boards. Joist sizes and spans aren't calculated here; take those from AWC DCA 6 or your local code.

How the deck calculator counts boards

Picture the deck from above with the house along the top. The joists run out from the ledger on the house to the rim at the far edge, and the deck boards run across them, parallel to the house. So the number of board rows depends on the projection, and the number of boards in each row depends on the length.

rows = round up (projection ÷ (board width + gap))
boards per row = round up (deck length ÷ board length)
boards to buy = rows × boards per row × (1 + waste)
joists = round up (deck length ÷ spacing) + 1
screws = rows × joists × 2

Take a 16 × 12 foot deck with 5 1/2″ boards, 3/16″ gaps and joists at 16″ on center. Each row takes 5 11/16″, so 144″ of projection needs 26 rows. With 16-foot boards that's one board per row, 26 boards, or 29 with 10% waste. That's 416 linear feet of decking. The 192″ length is 12 bays of 16″, which means 13 joists counting both ends, 338 places where a board crosses a joist, and 676 screws.

One detail the math exposes: 25 full rows and their gaps take up 142 3/16″, so the 26th row only needs 1 13/16″. A sliver that thin looks bad and splits. Either let the decking run a little past the rim, open or close the gap slightly, or rip the first and last rows to matching widths. The calculator shows the last row's width so you can decide before you start.

Butt joints, board lengths and waste

If the deck is longer than your boards, rows need butt joints, and every joint has to land on a joist. You also don't want joints lined up across neighboring rows. The drawing shows a simple stagger. That's why it's worth pricing out a longer board: a 20-foot board on an 18-foot deck wastes 2 feet a row, but a 16 and a short piece wastes more labor and leaves a joint in every row.

For waste, 5% is enough on a simple rectangle with lengths that match. Use 10% if you're cutting around posts or the boards come with a few bad ones, and 15% for diagonal or picture-frame decking.

Wood, composite and hidden fasteners

  • Pressure-treated wood is often installed wet and shrinks. Many builders butt the boards tight and let the drying open the gap. If yours are kiln-dried after treatment, gap them from the start.
  • Composite and PVC boards expand and contract along their length with temperature. The end gaps and side gaps are set by the manufacturer, and so is the maximum joist spacing. Grooved-edge boards are meant for hidden clips.
  • Hidden clips sit in the board edges, one per joist crossing. The first and last rows are usually face-screwed or fixed with a starter clip, so add a handful of screws even on a clip deck.

What this doesn't size

This calculator counts joists. It doesn't size them. How far a 2×8 or 2×10 can span depends on the species, grade, spacing and load, and getting it wrong makes a bouncy deck at best. Size joists and beams from the American Wood Council's Prescriptive Residential Wood Deck Construction Guide (DCA 6) or the span tables in your local code, and pull a permit. A joist span chart is planned for this site, built only from those cited tables.

Building steps off the deck? The stair calculator works out the risers from the deck surface to grade, and the stringer calculator lays out the cuts.

Questions people ask

How many deck boards do I need?

Divide the deck's projection (how far it sticks out from the house) by one board width plus one gap, and round up. That's your number of rows. Multiply rows by the boards it takes to cover the length, then add 5 to 10% for waste. A 16 × 12 foot deck with 5 1/2″ boards and 3/16″ gaps takes 26 rows of 16-footers, so 26 boards before waste and 29 after.

Does this work as a Trex or composite deck calculator?

Yes. Most composite and PVC deck boards are about 5 1/2″ wide and come in 12, 16 and 20 foot lengths, so the board count works the same way. What changes is the joist spacing and gap. Many composite boards need joists closer than 16″, especially if you run the boards on a diagonal, and the gap often depends on the temperature when you install. Check the manufacturer's install guide and set those two fields to match.

How many screws do I need for a deck?

Two screws every place a board crosses a joist. The calculator counts rows × joists × 2. For a 16 × 12 deck at 16″ on center that's 26 rows across 13 joists, or 676 screws. Buy a little extra; you'll drop some and strip a few. With hidden fasteners you use one clip per crossing instead, plus face screws on the first and last boards.

How do I estimate deck cost with this?

Enter what one board costs at your yard in the price field. The calculator multiplies it by the number of boards to buy, waste included. That's the decking only. Framing lumber, footings, hardware, railing and stairs usually cost as much again or more, so use this as one line of your deck material list, not the total.

Which way should deck boards run?

Perpendicular to the joists. On a deck attached to a house, the joists run out from the ledger, so the boards run parallel to the house wall. That's how this calculator lays them out. Diagonal decking needs tighter joist spacing and roughly 10 to 15% more boards for the angled cuts.

Can I use this to size joists?

No. It counts joists at the spacing you choose, but it doesn't pick a joist size or check how far it can span. Joist and beam spans depend on species, grade, load and spacing. Use the American Wood Council's deck guide (DCA 6) or the span tables your local code adopts, and confirm with your building department.

Put this calculator on your site

Lumber yards, sawmills and woodworking blogs are welcome to embed it for free. Paste the code into any page; it loads the calculator only, without our header or articles.