Framing & Structure

    Deck Blocking Calculator

    Blocking is short pieces of joist lumber fitted between the joists. It holds the joists upright, stiffens the floor and gives the deck boards something to fasten to at butt joints and picture-frame borders. Enter the deck length, joist spacing, joist size and how many rows you want; the calculator counts the blocks, gives the cut length and how many stock boards to buy, and checks the IRC rule that restraint must be at least 60 percent of the joist depth.

    Inputs

    Mid-span rows plus any rows under butt joints, picture-frame borders or over a beam.

    What you'll need

    As an Amazon Associate I earn from qualifying purchases.

    Prices and savings as of Oct 1, 2026, 4:35 AM UTC. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon.com at the time of purchase will apply to the purchase of this product.

    Shopping for someone? See our backyard gift guide for deck builders & DIYers.

    Block lengths and minimum depths

    JoistActual depthMin. block depth (60%)Block at 12 in o.c.16 in o.c.24 in o.c.
    2x65.5 in3.3 in10.5 in14.5 in22.5 in
    2x87.25 in4.35 in10.5 in14.5 in22.5 in
    2x109.25 in5.55 in10.5 in14.5 in22.5 in
    2x1211.25 in6.75 in10.5 in14.5 in22.5 in

    Blocks for one row across common decks

    2x8 joists 16 in on center, cut from 8 ft boards.

    Deck lengthJoistsBlocks per row8 ft boards
    10 ft982
    12 ft1092
    16 ft13122
    20 ft16153
    24 ft19183

    What the code asks for

    The 2021 IRC (R507.6.2) wants the ends of deck joists and the points where they bear on a beam restrained against rolling. A rim joist, joist hangers or blocking does it, and hangers or blocking must be at least 60 percent of the joist depth. Joists deeper than 2x12 also need blocking or bridging at least every 8 ft (R502.7.1). Rows beyond that are a choice: one at mid-span stiffens the floor, and picture-frame borders, decking butt joints and diagonal patterns need blocking wherever board ends land. Size the joists with the joist spacing calculator and the rest of the frame with the deck framing calculator.

    Get the Smart Decking Calculator app for Android

    Estimate decks on the go, save projects, and share them with contractors.

    Building something else? Try our sister calculators

    Frequently asked questions

    Does a deck need blocking between joists?
    The ends of the joists need lateral restraint so they can't roll over. The 2021 IRC (R507.6.2) lets that come from joist hangers, a rim joist or blocking, with hangers or blocking at least 60 percent of the joist depth. Mid-span blocking isn't required for 2x12 or smaller joists, but many builders add a row to stiffen the floor.
    How far apart should deck blocking be?
    The code only sets a maximum of 8 ft for joists deeper than 2x12 (IRC R502.7.1). For ordinary deck joists, a row at mid-span is common; picture-frame borders, butt joints in the decking and diagonal patterns need blocking wherever a board end lands. Enter the rows you plan in the calculator.
    How long are blocks for 16 inch joist spacing?
    14-1/2 in: 16 in on center minus one 1-1/2 in joist. At 12 in spacing blocks are 10-1/2 in, and at 24 in they are 22-1/2 in. Measure a few bays first — joists are rarely exactly on layout.
    How much blocking does a picture-frame deck need?
    Enough rows to support every border board end and the inside board of the frame. A border running along the side of the deck, parallel to the joists, needs a row of blocks under it, and the boards that butt into the border need support at that line too. Add those rows to the calculator.
    Can I use 2x4s for deck blocking?
    Only if the IRC 60 percent rule is met where the blocking provides end restraint. For a 2x8 joist (7-1/4 in deep) that means at least 4.35 in, which a 2x4 laid flat or on edge (3-1/2 in) doesn't reach. Using the same size as the joists is simplest.

    Related calculators

    All calculators →