Calculate how many deck posts you need and how far apart to space them along a beam, using a typical 8 ft support or 6 ft railing limit or your own.

Typical limits. Your beam size, wood and joist span set the real support spacing (IRC Table R507.5 or your plans).

Cantilever and display unit
Blank means 0. Measure from the end-post center; verify actual support-face cantilever limits separately.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Post count from a maximum spacingFinds the fewest posts that keep the spacing equal and at or under a maximumRequires the total beam length and a maximum post spacing: 8 ft for deck support posts, 6 ft for railing posts, or a custom value
Equal spacing from a post countFinds the equal center-to-center spacing for a chosen number of postsRequires the total beam length and a post count from 2 to 1,000, counting both end posts

Both functions accept an optional equal overhang beyond each end post, measured from the post center, and a result unit of feet, inches, meters or centimeters. Every result lists the post count, the spacing and the same layout with one more and one fewer post. The calculation details give the position of each post center from the start of the beam.

Deck Post Spacing Formulas

S = (L − 2c) ÷ (N − 1)
SEqual center-to-center spacing between posts
LTotal beam length
cOverhang beyond each end-post center (0 when the end posts sit at the beam ends)
NNumber of posts, counting both end posts

Post count from a maximum spacing

N = ceil((L − 2c) ÷ M) + 1

M is the maximum spacing, and ceil rounds up to the next whole number. A 20 ft beam with posts no more than 8 ft apart needs ceil(20 ÷ 8) + 1 = 4 posts, spaced 20 ÷ 3 = 6.67 ft. With a 1 ft overhang at each end of a 24 ft beam, the posts cover 22 ft: ceil(22 ÷ 8) + 1 = 4 posts, spaced 7.33 ft.

Equal spacing from a post count

Five posts on a 24 ft beam leave four spaces, so the spacing is 24 ÷ 4 = 6 ft center to center.

Post positions

xi = c + (i − 1) × S

xi is the center of post i measured from the start of the beam. The last post lands at L − c. For the five posts above, the centers are at 0, 6, 12, 18 and 24 ft.

Deck Railing Post Spacing

The railing preset uses 6 ft. The American Wood Council’s prescriptive deck guide shows guard posts at a maximum spacing of 6 ft, using 4×4 posts, and requires a guard on any deck more than 30 inches above grade [1]. A 12 ft run of railing needs ceil(12 ÷ 6) + 1 = 3 posts, at 0, 6 and 12 ft.

Deck Support Post and Footing Spacing

The 8 ft preset is a starting figure, not a rule. The allowable beam span between posts depends on the beam size, the wood species and the span of the joists the beam carries. In the same guide’s table for dimension lumber beams, spans run from 2 ft 6 in to 15 ft, and a doubled 2×10 southern pine beam carrying 12 ft joists is limited to 7 ft 1 in [1]. Enter the span from the table or the plans as a custom maximum.

Each support post stands on its own footing, so the footing spacing along a beam is the post spacing. A beam may run past its end post by up to one quarter of the beam span [1].

Limits of This Estimate

  • The result is a layout. It does not size the beam, posts or footings, and it does not check loads, soil or connections.
  • The 8 ft and 6 ft presets are typical figures. The plans, the span table or the local building department set the real limit.
  • The span table quoted assumes a 40 psf live load, a 10 psf dead load and No. 2 grade lumber [1]. Other loads or grades change the span.
  • Overhang is entered from the post center. Span tables limit the overhang from the face of the post, so allow for the post width.

Sources

  1. American Wood Council, DCA 6: Prescriptive Residential Wood Deck Construction Guide (2015 IRC version): guard post spacing (Figure 24), beam spans by size, species and joist span (Table 3A), and the beam overhang limit