How the parts of a deck frame fit together, how far joists and beams can span, how many posts you need, and what to confirm locally before you buy lumber.
A deck frame is a short chain of members. Decking rests on joists, joists rest on a beam and a ledger, the beam rests on posts, and posts rest on footings. Each link has a span limit, so you size them from the top down. This guide walks through the order and the numbers, and the deck calculator does the arithmetic for you.
Span tables depend on the species and grade of lumber, the loads and the code edition your area uses, so treat the numbers here as typical values. Confirm them with your building department, or use the AWC DCA 6 deck guide, which many jurisdictions accept.
An attached deck hangs from a ledger board bolted to the house on one side, and a beam with posts holds the outer side. A freestanding deck has a beam and posts on both sides and does not touch the house. Freestanding decks need diagonal bracing because no wall holds them steady.
A ledger bolts to a solid band board with 1/2 in lag screws or bolts, in two staggered rows. Typical county guides ask for closer spacing as the joist span grows, from about 30 in apart for short spans to about 10 in for 16 ft or more. Never fasten a ledger to brick veneer, a bay window or a cantilevered floor.
Joists run from the ledger (or the inner beam) to the outer beam. Their count is the width divided by the spacing, plus one. A 16 ft wide deck at 16 in on center needs 13 joists.
The maximum span depends on the size, the spacing and the species. These are typical values for No. 2 grade, wet service:
| Joist | Southern pine, 16 in o.c. | Douglas fir, hem-fir, spruce-pine-fir, 16 in o.c. |
|---|---|---|
| 2×6 | 9 ft 0 in | 8 ft 4 in |
| 2×8 | 11 ft 10 in | 11 ft 1 in |
| 2×10 | 14 ft 0 in | 13 ft 7 in |
| 2×12 | 16 ft 6 in | 15 ft 9 in |
At 12 in on center the spans are longer, and at 24 in on center they are shorter. The deck calculator page lists all three spacings.
Joists may stick out past the beam, but only by up to one quarter of the span between supports. A 12 ft span allows a 3 ft cantilever at most.
Decking also limits the spacing. 5/4 boards are usually laid on joists 16 in on center or closer, and many composite boards need 12 or 16 in. Check the board maker’s instructions.
The beam carries the joists on one side and passes the load to posts. A bigger joist span means a shorter span for the beam, which means more posts. For a doubled 2×10 southern pine beam, a typical table allows about:
| Joist span carried | Distance between posts |
|---|---|
| 8 ft | 9 ft 0 in |
| 10 ft | 8 ft 0 in |
| 12 ft | 7 ft 4 in |
| 14 ft | 6 ft 9 in |
Round the joist span up to the next column. A tripled beam, or a deeper one, spans farther. Beam boards are the same depth as the joists or deeper, and splices go over a post, never between posts.
The number of posts comes from the beam: the beam length divided by the maximum span, rounded up, plus one. A 16 ft beam that can span 7 ft 4 in needs 4 posts, about 5 ft 4 in apart.
County guides allow 4×4 and 4×6 posts up to 8 ft tall and 6×6 posts to 14 ft. Taller posts need an engineered design.
Footings carry each post to the soil. Their size depends on the load, the soil and the frost depth, so there is no single answer. Many building departments publish a standard footing detail for decks, and you should ask for yours before you dig.
A deck more than 30 in above the ground needs a guard, usually 36 in high, with openings a 4 in sphere cannot pass through. Stairs with four or more risers need a handrail. The deck stair calculator covers the steps, and the deck stairs guide covers the stringers and their support.
Most places need a permit for an attached deck or one above a certain height. Rules differ by city and county, so ask first.
Try it with your own numbers.
The stair calculator checks your rise and tread against the IRC, shows the stair in 3D and prints a dimensioned plan.
This guide is general information, not engineering or legal advice. Building codes differ by location and edition, so confirm the rules with your local building department before you build.