Deck calculator

Updated Nov 30, 2026 How we calculate Free · no sign-up · runs in your browser

Enter your deck size and decking material to get how many deck boards, joists, joist hangers and screws you need, with a material cost estimate you can adjust to your local prices.

Free Deck calculator by TapeMeasure Calc ↗

Your deck

How do I measure?
house wall length (along the house) width boards run this way →
  1. Length is measured along the house wall. Deck boards run this way.
  2. Width is how far the deck sticks out from the house. Joists run this way.
  3. Measure the finished deck surface, not the yard.
ft
Deck boards run this way.
ft
Joists run this way.
Decking material
Materials and prices
Label only. Size joists from span tables.
in
Fractions work: 1/8, 3/16, 1/4.
%
screws
screws
A 5 lb box of 2.5 in screws holds roughly 350.

Unit prices (editable examples, not quotes):

$
Board price ÷ board length.
$
For joists, ledger and rim.
$
$

Material list

For your deck
–

Cut list: how to cut your boards

A board-by-board plan for your deck size, board length and joist spacing, with joints on joists and staggered between rows.

Good week to stain or seal?

Stain needs a dry, mild day before and after. Check your 7-day forecast.

    General guidance from typical product and industry rules; always follow the instructions on your bag or can. Forecast data: Open-Meteo.

    How to use the deck calculator

    1. Measure the deck length along the house. Deck boards run this way, parallel to the house wall. If you want the boards to overhang the rim, include the overhang.
    2. Measure the width out from the house. Joists run this way, from the ledger at the house to the rim at the outer edge.
    3. Pick the decking material and board length. Pressure-treated 5/4x6, 2x6 and most composite boards are all 5.5 in wide. Choosing the material sets a typical gap and an example price.
    4. Check joist spacing, waste and prices under “Materials and prices”. The material list updates as you type, and the copy link saves your inputs.

    How the numbers are worked out

    The calculator assumes a rectangular deck with boards laid straight across the joists, joists hung from a ledger at the house and a rim joist at the outer edge, and board joints landing on joists.

    rows = ⌈(width × 12) ÷ (board width + gap)⌉
    linear feet = rows × length
    deck no longer than a board: boards = ⌈rows ÷ ⌊board length ÷ length⌋ × (1 + extra %)⌉
    deck longer than a board: boards = ⌈linear feet ÷ board length × (1 + extra %)⌉
    joists = ⌈(length × 12) ÷ spacing⌉ + 1, each as long as the width
    ledger and rim = 2 × length
    joist hangers = 2 × joists
    screws = rows × joists × 2

    The board count avoids two common mistakes. When the deck is shorter than a board, a board only gives as many rows as fit whole, so a 10 ft deck gets two rows from a 20 ft board but only one from a 16 ft board; short offcuts are not counted as usable. When the deck is longer than a board, the count uses total linear feet, so offcuts fill in the joints instead of buying two full boards for every row.

    Example: a deck 16 ft along the house and 12 ft out covers 192 sq ft. The width is 144 in, and 144 ÷ 5.625 = 25.6, so it takes 26 rows, or 416 linear ft of decking. With 16 ft boards that is one board per row, plus 10% extra: 29 boards. Joists at 16 in on center: 192 ÷ 16 + 1 = 13 joists, 12 ft long, plus a 16 ft ledger and a 16 ft rim. That needs 26 joist hangers and 26 × 13 × 2 = 676 screws, about two 5 lb boxes. At the example prices the materials come to about $994 for pressure-treated decking, or about $1,759 for composite.

    Cut list: under the calculator, the cut list lays out every row and shows how to cut each board, with butt joints on joist centers and alternate rows starting with a shorter piece so joints never line up on neighboring rows. For a 20 × 16 ft deck with 16 ft boards, rows alternate 16 ft + 4 ft and 8 ft + 12 ft, which takes 44 boards with under 1% waste because most 4 ft pieces come out of the offcuts left by the 12 ft pieces.

    Deck board and joist quick reference

    Deck boards for common deck sizes

    Pressure-treated 5/4x6 boards, 1/8 in gaps, joists 16 in on center, 10% extra. Size is length along the house × width out from the house.

    Deck sizeAreaBoard rows12 ft boards16 ft boards20 ft boardsJoists
    10 × 10 ft100 sq ft222525139
    12 × 12 ft144 sq ft2629292910
    16 × 12 ft192 sq ft2639292913
    20 × 16 ft320 sq ft3565493916

    The cheapest board length is usually the one that divides evenly into the deck length: 12 ft boards for a 12 ft deck, 20 ft boards cut in half for a 10 ft deck. The calculator points this out when another length saves at least 5% of the decking.

    Joist spacing by decking material

    DeckingBoards straight across joistsBoards at 45°
    5/4 wood (pressure-treated 5/4x6)16 in on center12 in on center
    2x wood (2x6)Up to 24 in; 16 in feels stiffer16 in on center
    Composite and PVCTypically 16 in on centerTypically 12 in on center

    The wood figures follow the decking table in recent editions of the International Residential Code (Table R507.7). Composite spacing is set by each manufacturer, so follow the installation guide for your exact board. This calculator offers 12 or 16 in spacing.

    Tips before you buy

    Fencing the yard around the new deck? Use the fence calculator for posts, rails and pickets, and the concrete calculator for the deck footings.

    Last updated November 30, 2026.

    Embed this calculator on your website (free)

    Run a fence, deck or roofing business, or a DIY blog? Paste this code into your page and your visitors get the full calculator, free, no sign-up. It resizes itself to fit.

    Frequently asked questions

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

    A 12 x 12 ft deck takes 26 rows of 5.5 in boards with 1/8 in gaps. Buy 29 twelve-foot boards, which includes 10% extra. Sixteen-foot boards also come to 29 boards, but each one loses a 4 ft offcut.

    How do I calculate how many deck boards I need?

    Divide the deck width in inches by the board width plus the gap (5.5 + 0.125 = 5.625 in) and round up to get rows: a 12 ft wide deck is 144 / 5.625 = 25.6, so 26 rows. Multiply rows by the deck length for linear feet, divide by the board length and add about 10% for waste.

    How many joists do I need for a 16 ft deck?

    Divide the length in inches by the joist spacing, round up and add one. A deck 16 ft along the house needs 192 / 16 + 1 = 13 joists at 16 in on center, or 17 joists at 12 in on center.

    How many deck screws do I need?

    Two screws per board at every joist. A 16 x 12 ft deck with 26 rows over 13 joists needs 676 screws, or about two 5 lb boxes of 2.5 in screws at roughly 350 per box. Check the count printed on the box you buy.

    What joist spacing do I need for composite decking?

    Most composite brands call for joists 16 in on center when boards run straight across the joists and 12 in on center for diagonal layouts. Always check the installation guide for your exact product, because some lines and uses differ.

    How much do materials cost for a 16x12 deck?

    With the example prices on this page, pressure-treated decking, 2x8 joists, ledger and rim, screws and hangers for a 16 x 12 ft deck come to about $994. Composite decking at $2.75 per linear foot raises that to about $1,759. Footings, posts, beams, stairs and railings are extra.

    What gap should I leave between deck boards?

    About 1/8 in between kiln-dried wood boards, and the gap the manufacturer specifies for composite, commonly around 3/16 in. Pressure-treated boards that are still wet from the yard are often laid tight because they shrink as they dry.