Deck framing · Typical IRC span tables

Deck calculator

Enter the size of a rectangular, one level deck. You get the joists, beam, posts, footings, decking boards and hardware, with a check of the spans against typical IRC tables. Open Plans for the framing plan and a cut list you can print. For the steps down from the deck, use the deck stair calculator.

Deck size

Measured to the outer edge of the framing, including any cantilever.
Over 30 in above the ground, the IRC asks for a guard.

Framing

Up to one quarter of the joist span.
Same depth as the joists (2×8 minimum).

Decking

Loading 3D preview…
Drag: rotate · Wheel or pinch: zoom · Right-drag or two fingers: move
–
–
–
–
–
–
–
–
Printing and saving as PDF are free too. In the print window, choose “Save as PDF” as the destination.
Finished pressure-treated wood deck attached to a house, with a low railing and a step down to the lawn

How to use it

  1. Enter the width and the distance out from the house in feet. Decimals work: 12.5 is 12 ft 6 in.
  2. Choose attached or freestanding. An attached deck hangs from a ledger on the house. A freestanding one has its own beam on both sides.
  3. Pick the lumber, the joist size and the spacing. The messages under the results tell you if the joist span is longer than the table allows.
  4. Set the post height from the ground to the underside of the beam.
  5. Open Plans for the framing plan and the cut list.
Video: how to plan a deck frame (45 s). Watch on YouTube
Video: the five deck mistakes that fail inspection most often (1:29). Watch on YouTube

What it calculates

Joist spans

Maximum joist span for a deck, No. 2 grade, wet service, as printed in county deck guides based on the IRC. Spans are in feet and inches.

Southern pine

Joist12 in o.c.16 in o.c.24 in o.c.
2x69-119-07-7
2x813-111-109-8
2x1016-214-011-5
2x1218-016-613-6

Douglas fir-larch, hem-fir, spruce-pine-fir

Joist12 in o.c.16 in o.c.24 in o.c.
2x69-68-46-10
2x812-611-19-1
2x1015-813-711-1
2x1218-015-912-10

Beam spans

Maximum beam span, which is the distance between posts, by the joist span the beam carries. Southern pine, doubled and tripled 2× beams, joists on one side.

Beam6 ft8 ft10 ft12 ft14 ft16 ft18 ft
2 × 2×88-97-76-96-25-95-45-0
2 × 2×1010-49-08-07-46-96-46-0
2 × 2×1212-210-79-58-78-07-67-0
3 × 2×810-109-68-67-97-26-86-4
3 × 2×1013-011-310-09-28-67-117-6
3 × 2×1215-313-311-1010-910-09-48-10

Round the joist span up to the next column. The calculator does the same.

Posts

A 4×4 or 4×6 post can be up to 8 ft tall. A 6×6 can go to 14 ft. Beyond that, get an engineered design. Posts sit on a footing, and the footing size and depth come from the soil and the local frost depth.

Video: how many posts does a deck need? (47 s). Watch on YouTube

This tool gives estimates for planning. The span values are typical numbers from county deck guides based on the IRC, for a deck with a simple rectangular layout, without a roof or a hot tub, and may differ from the code edition in your area. It is not a structural design. Confirm every dimension, the ledger and the footings with your local building department before you build.

Frequently asked questions

How many joists do I need for a deck?

Divide the deck width by the spacing and add one. A 16 ft wide deck with joists 16 in on center needs 13 joists (192 ÷ 16 = 12, plus 1). The calculator also adds the rim board and, for an attached deck, the ledger.

How far can a deck joist span?

It depends on the lumber, the size and the spacing. For No. 2 southern pine, a 2×10 at 16 in on center spans about 14 ft, and a 2×8 about 11 ft 10 in. The tables on this page list the typical values for 2×6 to 2×12.

How far apart do deck posts go?

The beam sets it. A doubled 2×10 southern pine beam carrying a 12 ft joist span can go about 7 ft 4 in between posts. The calculator picks the number of posts from the beam table and spaces them evenly.

What size footings does a deck need?

It depends on the soil, the load on each post and the local frost depth, so this tool gives the number and location of footings but not a size. Ask your building department; many publish a standard deck detail.

Do I need a permit to build a deck?

Most places require one for an attached deck or for a deck above a certain height, often 30 in. Rules vary by city and county, so check before you buy lumber.