Deck Post Spacing Calculator & Excluded Station Layout
Equal spacing may put a post at an unavailable station. Compare the actual station interval and excluded zones to find a complete center layout from one fixed end to the other. See which marks are blocked, reachable or part of the chosen layout.
Check post spacing around excluded stations
Find the fewest post centers that connect both fixed ends under your documented spacing limits.
Review the post center run
- ● Chosen or reachable
- ○ Unreachable
- × Excluded
6 ft · Chosen center · 6 ft from its preceding center
Review the stations and exact CSV
| Station (ft) | State | Preceding gap (ft) |
|---|---|---|
| 0 | Chosen center | — |
| 2 | Unreachable | — |
| 4 | Reachable | 4 |
| 6 | Chosen center | 6 |
| 8 | Excluded | — |
| 10 | Reachable | 6 |
| 12 | Chosen center | 6 |
| 14 | Reachable | 4 |
| 16 | Reachable | 6 |
| 18 | Chosen center | 6 |
How to use this calculator
- Enter the distance between the two required post centers and the allowable candidate station interval from your layout.
- Enter the already documented minimum and maximum center gaps for the straight run.
- Enable an exclusion for each interval of unavailable centers. Enter its start and end distances from the first fixed center.
- Check whether a complete path reaches the far end. Inspect the selected gaps, marked exclusions and exact worksheet before discussing the layout.
The Formula
The mathematical logic powering this calculation is:
Set the first fixed center at 0 and the second at the entered distance L. Candidate interior centers are positive whole multiples of the entered station interval less than L. The second end stays at L even when it falls between grid points. Each optional exclusion blocks all stations in the closed interval [start,end]. Include any needed clearance in the entered limits. A fixed end within an exclusion is a separate blocked outcome.
A path can advance between two unblocked stations only when their center-to-center distance is at least the entered minimum and at most the maximum. At each station, compare all allowed incoming gaps from reachable predecessors. Keep the path using the fewest centers, then the smallest sum of squared gaps in integer thousandths of a foot. Equal scores at a station use the earlier predecessor. For paths with the same count and run length, minimizing squared gaps also minimizes their variance. The computed layout is optimal over the entered discrete grid. A mark can be reachable from the first end without reaching the second.
Enter one run length and station interval of 0.1–300 ft. Minimum and maximum permitted gaps range from 0.001–300 ft. Support is capped at 320 interior stations to keep the editable calculation bounded. Lengths accept up to three decimals. Both endpoints and approved spacing limits come from the documented project. This worksheet checks only station positions. Beam spans, structural loads, required connections, footing size, utility confirmation, and approvals are separate.Worked Example
If you input:
- Fixed center separation: 18 ft
- Candidate station interval: 2 ft
- Permitted gaps: 4–6 ft
- Excluded centers: 7.5 to 8.5 ft
- Second exclusion: Off
Result:
Four posts at 0, 6, 12 and 18 ft meet all three gaps exactly at 6 ft. When the maximum becomes 5.999 ft, the station at 4 ft is reachable, but the blocked 8 ft mark and other gaps prevent a complete path.
Frequently Asked Questions
Can an endpoint be off the candidate grid?
Yes. The second end always represents the exact supplied distance. Only proposed interior centers must lie on the grid.
Does the minimum count include both endpoints?
Yes. The two fixed centers are included in the count and are required for a complete path.
Can an exclusion start and end at the same point?
Yes. A point-only exclusion blocks a station exactly at that point. Both boundaries of an interval are included.
Why do some reachable points appear in a failed plan?
Some stations can be reached from the first end while the remaining gaps make the final station unreachable. The worksheet marks the farthest reachable station separately.
Does the result approve deck post spacing?
It checks only the supplied geometric limits and candidate stations. Get the spacing and support criteria from the actual project documents.
Similar Calculators
Deck Footing Layout & Concrete Order Calculator
Compare deck footing marks from documented beam runs, review entered spacing limits and missed endpoints, and estimate concrete volume and order cost.
Decking Joist Layout & Board Angle Planner
Check measured deck joist spacing against two entered limits. Compare diagonal board travel, exact bay widths and an equal-split layout.
Deck Baluster Spacing Calculator
Plan deck baluster spacing from actual widths and post-to-post spans. Compare even and half ends, tape-rounded marks, clear gaps and cut quantities.
Foundation Squaring Calculator & Rectangle Layout Planner
Find the diagonal of a planned rectangle or audit four measured corners. Compare both tape diagonals and see estimated corner moves against your target.
