Holzbaurechner / Deck

Deck calculator

Enter the size and height of your deck. You get the joist and beam sizes from the IRC span tables, a cut list, a shopping list in stock lengths and an estimate of what the materials cost.

How the deck is framed

The calculator plans a standard deck frame: a ledger board bolted to the house, joists in joist hangers running out from the house, and a dropped beam under the joists near the outer edge. The joists overhang the beam a little and end at a rim joist. The beam is a built-up beam of two or three 2x boards and sits on 6x6 posts on concrete footings.

If you tick freestanding, the ledger is replaced by a second beam with its own posts. Freestanding decks avoid the most common failure point, the ledger connection, and are the usual choice next to brick veneer, stucco or a house you cannot bolt into.

How the sizes are chosen

Joist sizes come from IRC Table R507.6 for southern pine No. 2 (most pressure-treated lumber east of the Rockies). If you build with Douglas fir or hem-fir framing, which is common in the West, tick the West Coast option and the calculator switches to the tables for that species group. The calculator picks the smallest joist that spans the distance at your spacing. If even a 2x12 is not enough, it adds a second beam.

For the beam it tries every built-up size from two 2x8s to three 2x12s with different post spacings and takes the cheapest combination that meets IRC Table R507.5. That is why a wide deck sometimes gets an extra post instead of a bigger beam.

The tables assume 40 psf live load and 10 psf dead load. In areas with ground snow loads above 40 psf, or under a hot tub, the deck needs larger members.

Deck boards and joist spacing

5/4x6 wood decking and most composite boards need joists no more than 16 in. apart. Run the boards on a diagonal and the spacing drops to 12 in. The calculator therefore never goes above 16 in. for deck boards, even if you choose 24 in.

Pressure-treated boards come wet from the plant and shrink. Lay them with a small gap of about 1/8 in., or butt them tight if they are very wet. Composite boards need the gap the manufacturer specifies, usually 3/16 in. at the sides and room for expansion at the ends.

Building the deck step by step

  1. Permit and layout: apply for the permit, call 811 to have buried lines marked, then lay out the deck with batter boards and string lines. Check that the diagonals are equal.
  2. Ledger: remove the siding where the ledger goes, flash the wall, and fasten the ledger to the house rim joist with 1/2 in. bolts, lag screws or structural ledger screws in a staggered pattern.
  3. Footings: dig the holes below the frost line, pour the footings and set post bases in the wet concrete.
  4. Posts and beam: stand the posts, cut them to height, build the beam with the plies glued and nailed or screwed together, and fix it to the posts with post caps.
  5. Joists: hang the joists on the ledger, tie them to the beam with hurricane ties and close the end with the rim joist. Add blocking at mid-span on long joists.
  6. Deck boards: start at the house, fasten each board with two screws per joist and stagger the end joints over doubled joists.

Frequently asked questions

How much does it cost to build a 12x16 deck?
With pressure-treated lumber the materials for a 12 × 16 ft deck about 3 ft high cost roughly $1,200 to $1,700 in late 2026, including footings, hardware and screws but without railings and stairs. Cedar decking adds about $500, composite about $1,000. Labor for a contractor usually costs as much again or more.
How far can a 2x8 deck joist span?
A southern pine 2x8 at 16 in. on center may span 11 ft 10 in. under the 2021 IRC, at 12 in. on center 13 ft 1 in. and at 24 in. on center 9 ft 8 in. Douglas fir and hem-fir spans are a little shorter.
Do I need a permit for a deck?
Almost always. The IRC only exempts small decks that are under 200 sq ft, no more than 30 in. above grade, not attached to the house and not serving the required exit door. Your city or county may be stricter.
How many deck screws do I need?
Two screws wherever a board crosses a joist. For 5/4x6 boards on joists 16 in. apart that is about 350 screws per 100 sq ft. The calculator counts them for your deck.