Skip to content
Popular Calculators
Browse Construction calculators

Deck Post Spacing Calculator

Work out how many deck posts each beam needs and how far apart to set them, with cantilever checks and the total post count.

Usually the deck width.

From the beam span table for your beam and joists.

Beam overhang at each end.

Rows of posts under the deck.

Result

Posts4 posts per beam, 6 ft 0 in apart
Spacing18 ft 0 in between end posts ÷ 3 spans = 6 ft 0 in (limit 8 ft 0 in)
Total posts8 posts for 2 beams
Overhang check1 ft 0 in overhang at each end is within ¼ of the span (1 ft 6 in)
Worth knowingthe allowed span depends on beam size, species and joist span; look it up in IRC Table R507.5 or your local code

How this was calculated

  1. Length between end posts20 − 2 × 1 = 18 ft
  2. Spans⌈18 ÷ 8⌉ = 3, so 4 posts

About the Deck Post Spacing Calculator

A raised deck rests on beams, and the beams rest on posts. How far apart those posts can stand is set by how far the beam can span, which depends on the beam's size and species and on how much deck it carries. Once you know that maximum span, you still need to work out how many posts each beam needs, how to space them evenly, and whether the beam can overhang the end posts.

This deck post spacing calculator does that layout. Enter the beam length, the maximum span between posts from a beam span table, the overhang at each end and the number of beams. It gives the number of posts per beam, the even spacing between them, the total number of posts, and a check that the overhang meets the common rule of no more than a quarter of the span.

How to Use the Deck Post Spacing Calculator

Enter the beam length, usually the width of the deck along the house.

Enter the maximum span between posts for your beam, from IRC Table R507.5 or your local code.

Enter the overhang past the end posts and the number of beams.

The Formulas

  length between end posts = beam length − 2 × overhang
  spans                    = ⌈ length between ÷ maximum span ⌉
  spacing                  = length between ÷ spans
  posts per beam           = spans + 1
  overhang limit           = spacing ÷ 4

Step-by-Step Example

A 20 ft beam with a 1 ft overhang at each end and an 8 ft maximum span, two beams.

  between end posts   20 − 2 × 1 = 18 ft
  spans               ⌈18 ÷ 8⌉ = 3
  spacing             18 ÷ 3 = 6 ft
  posts               3 + 1 = 4 per beam, 8 in total
  overhang limit      6 ÷ 4 = 1 ft 6 in, so a 1 ft overhang is fine

Where the Maximum Span Comes From

Beam span tables list how far a beam of a given size can span between posts for a given joist span. The longer the joists the beam supports, the more load it carries and the shorter its allowable span. In the International Residential Code, Table R507.5 covers common beams made from two or three plies of 2×6 to 2×12 lumber in species such as southern pine and Douglas fir. Doubled or tripled 2×10 and 2×12 beams typically span about 6 to 9 feet for common joist spans. Engineered lumber such as LVL can span much further, following the manufacturer's tables.

Why Space Posts Evenly

Even spacing gives every span the same length, so no part of the beam is closer to its limit than the rest and the deck feels uniformly solid. The calculator uses the fewest spans that keep each one within your maximum, then shares the length equally. If you would rather line posts up with features below the deck, such as a patio edge, you can use a shorter maximum span to add a post.

Beam Overhangs

Letting the beam run a little past the end posts, called a cantilever, hides the posts slightly inboard and can reduce the number of posts. The IRC limits the cantilever to one quarter of the span between posts, because a long overhang levers load back onto the end post and lifts the far end. Joists can also cantilever past the beam, under a separate limit based on joist size and spacing.

Posts and Footings

Every post needs its own footing below the frost line, sized for the load it carries. Closer posts mean smaller loads per post but more footings to dig and pour, so most builders balance post count against beam size. Current code generally calls for 6×6 posts, notched or connected with approved hardware, and limits post heights for bracing. The deck footing calculator sizes the concrete for each post once the spacing is set.

Post Height and Bracing

Tall posts need more care than short ones. The IRC limits the height of 4×4 posts to about 8 feet and 6×6 posts to about 14 feet for typical decks, measured from the top of the footing to the underside of the beam. Taller decks, or decks on sloping ground where some posts are much longer, usually need diagonal knee bracing between posts and beams, or an engineered design. Bracing also stiffens a deck that feels wobbly even when the posts are strong enough.

Notching and Connections

Beams should bear fully on posts, either sitting in a notch cut into a 6×6 or held in a manufactured post cap. Notching a 4×4 to carry a beam is no longer allowed by most codes because it leaves too little wood. Through-bolts alone are not an approved way to hang a beam on the side of a post. Galvanized or stainless hardware rated for treated lumber prevents corrosion.

Understanding Your Result

The headline gives the number of posts per beam and the spacing between them.

The spacing line shows the length between end posts and how it divides.

The total posts line multiplies by the number of beams.

The overhang check line compares each end's overhang with the quarter-span limit.

When Should You Use This Calculator?

Use it when drawing a deck plan for a permit.

Use it to work out how many posts and footings to buy and dig.

Use it to compare a heavier beam with fewer posts against a lighter beam with more.

Common Mistakes

Guessing the maximum span. Look it up for your beam size, species and joist span.

Letting the beam overhang too far. Keep it within a quarter of the span.

Forgetting the second beam. Multiply posts by the number of beams.

Using 4×4 posts under beams. Most codes now require 6×6.

Frequently Asked Questions

How many posts does a 20 ft deck beam need?

With a 1 ft overhang at each end, 18 ft lies between the end posts. With an 8 ft maximum span that needs three spans, so four posts spaced 6 ft apart. Two beams need eight posts in total.

What span between deck posts does my beam allow?

As far as the beam can safely span, which depends on its size, species and how long the joists are. Doubled 2×8 to 2×12 beams often span 6 to 8 ft; check IRC Table R507.5 or your local code for your exact beam.

How far can a deck beam overhang a post?

The IRC lets a beam cantilever past the end post by up to a quarter of the span between posts. With posts 6 ft apart the overhang can be 1 ft 6 in, so a 1 ft overhang is within the rule.

Why does the calculator space posts evenly?

Even spacing shares the load equally, so no single span works harder than the rest. The calculator takes the length between end posts, divides it into the fewest spans that stay within your limit, and sets every span the same.

Do more posts make a deck stronger?

Closer posts let a smaller beam carry the same deck and reduce bounce, but each post needs its own footing. Most builders balance post count against beam size; the deck footing calculator sizes the concrete for each post.

Should deck posts be 4×4 or 6×6?

Current IRC deck rules call for 6×6 posts for most supported decks, and many inspectors require them when posts carry beams. A 6×6 also gives full bearing for a doubled or tripled beam and resists racking better.

Formula and article last checked September 28, 2026. How we test these calculators.