RoughInSizing calculators for the trades

Deck post spacing chart

Pick the beam, the joist span it carries and how long it is. You get how far apart the posts can be, how many posts and footings the deck needs and exactly where they go, the footing size and the tallest post allowed — plus the railing posts.

AWC DCA 6 Table 3A beam spansIRC 2021 Table R507.4 post heightsDCA 6 Table 4 footingsRailing posts

Inputs

Plies of 2x lumber, or a solid timber.
ft
From the ledger or the other beam to this one. DCA 6 goes to 18 ft.
ft
Usually the width of the deck along the house.
A freestanding deck needs a second beam by the house.
ft
Cantilever, if any. Adds to the deck each post carries.
Beam ends

Railing posts (optional)

ft
Total length of railing. 0 to skip.
6 ft is usual for wood rails; a railing kit states its own.

Result

Posts under this beam
—

Deck post spacing chart: Southern Pine

The farthest apart posts can be under each beam, by the joist span the beam carries. This is the beam span in AWC DCA 6 Table 3A, and the beam may also run past its end posts by a quarter of that.

Beam6 ft8 ft10 ft12 ft14 ft16 ft18 ft
2-2x66′ 8″5′ 8″5′ 1″4′ 7″4′ 3″4′ 0″3′ 9″
2-2x88′ 6″7′ 4″6′ 6″5′ 11″5′ 6″5′ 1″4′ 9″
2-2x1010′ 1″8′ 9″7′ 9″7′ 1″6′ 6″6′ 1″5′ 9″
2-2x1211′ 11″10′ 4″9′ 2″8′ 4″7′ 9″7′ 3″6′ 9″
3-2x67′ 11″7′ 2″6′ 5″5′ 10″5′ 5″5′ 0″4′ 9″
3-2x810′ 7″9′ 3″8′ 3″7′ 6″6′ 11″6′ 5″6′ 1″
3-2x1012′ 9″11′ 0″9′ 9″8′ 9″8′ 3″7′ 8″7′ 3″
3-2x1215′ 0″13′ 0″11′ 7″10′ 6″9′ 9″9′ 1″8′ 7″

Deck post spacing chart: Douglas Fir-Larch, Hem-Fir, SPF, Redwood, Cedar, Ponderosa and Red Pine

Beam6 ft8 ft10 ft12 ft14 ft16 ft18 ft
2-2x6 or 3x65′ 2″4′ 5″3′ 11″3′ 7″3′ 3″2′ 10″2′ 6″
2-2x8 or 3x86′ 7″5′ 8″5′ 1″4′ 7″4′ 3″3′ 10″3′ 5″
2-2x10 or 3x108′ 1″7′ 0″6′ 3″5′ 8″5′ 3″4′ 10″4′ 5″
2-2x12 or 3x129′ 5″8′ 2″7′ 3″6′ 7″6′ 1″5′ 8″5′ 4″
4x66′ 2″5′ 3″4′ 8″4′ 3″3′ 11″3′ 8″3′ 5″
4x88′ 2″7′ 0″6′ 3″5′ 8″5′ 3″4′ 11″4′ 7″
4x109′ 8″8′ 4″7′ 5″6′ 9″6′ 3″5′ 10″5′ 5″
4x1211′ 2″9′ 8″8′ 7″7′ 10″7′ 3″6′ 9″6′ 4″
3-2x67′ 1″6′ 5″5′ 9″5′ 3″4′ 10″4′ 6″4′ 3″
3-2x89′ 5″8′ 3″7′ 4″6′ 8″6′ 2″5′ 9″5′ 5″
3-2x1011′ 9″10′ 2″9′ 1″8′ 3″7′ 7″7′ 1″6′ 8″
3-2x1213′ 8″11′ 10″10′ 6″9′ 7″8′ 10″8′ 3″7′ 10″

AWC DCA 6, Table 3A: 40 psf live load, 10 psf dead, No. 2 grade, wet service; joist span is the column at or above yours. “2-2x10 or 3x10” means two plies of 2x10 or a solid 3x10. The deck beam span chart adds glulam beams.

How far apart should deck posts be?

As far apart as the beam on top of them can span, and no farther. The post spacing along a beam is the beam span, so the answer depends on three things: the beam size, the lumber species, and how far the joists run to that beam. A bigger beam spreads the posts out; longer joists put more deck on the beam and pull them closer together.

The 6 to 8 ft you will see quoted is what that works out to for the beams most decks use. With 12 ft joists in Southern Pine, a 2-2x10 beam can span 7′ 1″ and a 3-2x10 8′ 9″; a 2-2x12 reaches 8′ 4″ and a 3-2x12 10′ 6″.

A worked 16 x 12 deck. A 16 ft Southern Pine beam carrying 12 ft joists from a ledger. As a 3-2x10 it can span 8′ 9″, so it needs 3 posts: 6′ 4″ apart, with the beam running 1′ 7″ past each end post. As a 2-2x10 (span 7′ 1″) it needs 3 posts, 6′ 4″ apart.

How many posts and footings does a deck need?

One post and footing under each beam at the spacing above. A deck fastened to the house with a ledger needs one beam, at or near the outer edge. A freestanding deck needs a second beam by the house (DCA 6 Figure 21), so twice the posts. A deck deeper than the joists can span gets a mid beam too. Southern Pine, joists running out from the house, beam running past its end posts:

Deck (width x depth)Joist spanFootings, 2-2x10 beamFootings, 3-2x10 beam3-2x10 post spacingFreestanding, 3-2x10
10 x 10 ft10 ft226′ 8″4
12 x 12 ft12 ft328′ 0″4
16 x 12 ft12 ft336′ 4″6
12 x 16 ft16 ft334′ 9″6
16 x 16 ft16 ft436′ 4″6
20 x 12 ft12 ft438′ 0″6
20 x 16 ft16 ft445′ 8″8
20 x 20 ft10 ft x 2868′ 0″9
24 x 16 ft16 ft546′ 10″8

Width is along the house and the beam; depth is how far the deck comes out. Decks over 16 ft deep are split into two equal joist spans with a mid beam. Stair landings, hot tubs and built-ins need their own footings.

4x4 or 6x6 posts?

AWC DCA 6, the prescriptive guide many building departments hand out, says it plainly: “All deck post sizes shall be 6x6 (nominal) or larger.” Table 4 allows a 6x6 up to 14 ft tall, measured from the top of the footing to the underside of the beam, less under long beams and long joists, and the commentary notes a 4x4 “would often be overstressed” in the decks the guide covers.

The 2021 IRC is less strict. Table R507.4 allows 4x4 and 4x6 posts, with a height limit that falls as the deck area each post carries grows. Southern Pine at 40 psf:

Post20 sq ft40 sq ft60 sq ft80 sq ft100 sq ft120 sq ft140 sq ft160 sq ft
4x414′ 0″13′ 8″11′ 0″9′ 5″8′ 4″7′ 5″6′ 9″6′ 2″
4x614′ 0″14′ 0″13′ 11″12′ 0″10′ 8″9′ 8″8′ 10″8′ 2″
6x614′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″
8x814′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″14′ 0″

Maximum post height by the deck area one post carries (post spacing x half the joist span, plus any joist cantilever). IRC 2021 Table R507.4, Southern Pine, 40 psf live load, as reproduced in the Anne Arundel County Deck Construction Guide. Other species allow less; check the table your jurisdiction adopted, and whether it accepts 4x4 posts at all — many follow DCA 6.

Railing post spacing

The code does not set a spacing for guard posts. It sets what the guard has to do: be at least 36 in high where the deck is more than 30 in above grade (IRC R312.1), stop a 4 in sphere (R312.1.3), and resist a 200 lb load on the top rail in any direction (Table R301.5). The spacing comes from what can carry that load. For a site-built wood railing — 4x4 posts, which DCA 6 sets as the minimum, and 2x rails — 6 ft on center is the common rule of thumb for the maximum. Composite, aluminum and cable railing kits are tested as systems and state their own maximum, commonly 6 to 8 ft; use the figure in the instructions for the kit you buy.

A 16 ft run at 6 ft maximum is 3 sections of 5′ 4″, 4 posts. The post-to-deck connection matters as much as the spacing: DCA 6 Figures 25 and 26 show the hold-down hardware it requires for a 4x4 guard post, with anchors rated at least 1,800 lb for a 36 in guard. The baluster spacing calculator does the infill between the posts.

What this does not do. It lays out posts for decks inside DCA 6: single level, 40 psf live load, joists up to 18 ft, sawn lumber beams. Hot tubs, heavy snow, second-story decks with tall posts and anything outside those limits need a design, and your building department has the final say. Size the joists with the deck joist span chart and the footings with the deck footing calculator.

Questions

How far apart should deck posts be?

As far apart as the beam can span: 6 to 8 ft for most decks. With 12 ft joists in Southern Pine, posts can be up to 7′ 1″ apart under a 2-2x10 beam, 8′ 9″ under a 3-2x10 and 10′ 6″ under a 3-2x12 (AWC DCA 6 Table 3A). Longer joists bring the posts closer together.

How far apart can 6x6 posts be for a deck?

The post size does not set the spacing; the beam does. 6x6 posts can be as far apart as the beam on them spans: 7′ 1″ for a 2-2x10 Southern Pine beam over 12 ft joists, 10′ 6″ for a 3-2x12, and up to 15′ 0″ for a 3-2x12 over 6 ft joists. The post size limits the height instead: DCA 6 Table 4 allows a 6x6 up to 14 ft in many layouts.

How far apart should 4x4 posts be on a deck?

DCA 6 does not allow 4x4 posts under a deck at all; it requires 6x6 or larger. The 2021 IRC allows them, but limits their height by the deck area each post carries: a Southern Pine 4x4 carrying 60 sq ft can be 11 ft tall, at 100 sq ft only 8 ft 4 in. Spacing is still set by the beam. Check whether your building department accepts 4x4 posts before you buy them.

How many footings for a 12x12 deck?

With a ledger on the house and a 3-2x10 Southern Pine beam at the outer edge, 2 footings, about 8′ 0″ apart. A freestanding 12 x 12 deck needs a second row by the house, so 4.

How many footings for a 20x20 deck?

A 20 ft deep deck needs a mid beam, so two rows of posts plus the ledger: 6 footings with 3-2x10 Southern Pine beams over 10 ft joists, or 9 if it is freestanding.

How many footings for a 12x16 deck?

A deck 16 ft wide along the house and 12 ft deep needs 3 footings under a 3-2x10 Southern Pine beam with a ledger, 6 freestanding. If it is 12 ft wide and 16 ft deep, the longer joists need 3.

How far can a deck beam overhang the post?

Up to a quarter of the beam span past the end post (DCA 6 Figure 3 and IRC R507.5). Using that overhang usually saves a post on each beam.

How far apart should deck railing posts be?

No more than 6 ft on center for a site-built wood railing with 4x4 posts, the common rule of thumb; a railing kit states its own maximum, often 6 to 8 ft. The code itself sets the load the guard has to carry, 200 lb on the top rail, not a spacing.

Do I need 2x8 or 2x10 joists for my deck?

It depends on the span. At 16 in on center, Southern Pine 2x8 joists span 11 ft 10 in and 2x10 joists 14 ft 0 in (DCA 6 Table 2). The deck joist span chart has every size and species.

Sources

Codes are adopted and amended locally. Check the edition in force where you work.

More Carpentry calculators

Stair stringer calculator

Risers, treads, stringer length and a cut list from the total rise, checked against the IRC or IBC stair rules.

Fence calculator

Posts, pickets, rails and post-hole concrete for a wood fence, from the length of each run and the gates.

Deck board calculator

Deck boards, linear feet, screws or hidden clips for a deck of any size, straight or diagonal.

Stud calculator

Studs, plates and precut stud length for any set of walls, with corners, intersections, doors and windows, and the cost.

Header size calculator

Header size and jack studs for a door, window or garage door in a bearing wall, from IRC Table R602.7(1).

Garage door rough opening calculator

The opening to frame for any garage door size, with the headroom, side room and back room the door needs, from the manufacturers’ own instructions.

Plywood calculator

Sheets of plywood or OSB for walls, floors or any area, with waste, weight per sheet and the cost.

Floor joist span calculator

Maximum floor and ceiling joist spans by species, grade, size and spacing, worked from the AWC 2024 span tables and design values.

Rafter span calculator

Maximum rafter span for roof live or snow load, by species, grade, size and spacing, from the AWC 2024 span tables.

Deck joist span calculator

Maximum deck joist span and overhang by species, size and spacing, from the AWC DCA 6 tables, with a check of your span.

I-joist span calculator

Allowable I-joist spans from the APA PRI-400 tables, simple and multiple span, with the cells where a bigger joist buys you less.

Deck beam span calculator

Maximum deck beam span for every beam size by the joist span it carries, and the posts each beam needs, from AWC DCA 6.

Deck footing calculator

Footing size and thickness, maximum 6x6 post height and concrete for deck posts, from AWC DCA 6 Table 4.

Baluster spacing calculator

How many balusters a railing needs and the exact gap between them, kept under the IRC's 4 inch sphere rule.

Board foot calculator

Board feet for any list of lumber, with price, plus Doyle, Scribner and International log scales.

Other trades