Deck Calculator
Calculate a complete deck material list — boards, joists, posts, concrete, and railing — with a full cost estimate.
Enter your deck dimensions and design choices, and this calculator works out a complete material list — deck boards, joists, posts, concrete footings, joist hangers, and railing — plus a full cost estimate.
How deck materials are calculated
A deck's material list has several interdependent pieces — decking boards on top, joists supporting them, posts and footings supporting the joists — and each layer's quantity depends on choices made in the layer above it.
Worked example — 16×12 ft deck, boards running across the 12 ft width, 5.5 in boards, 1/4 in gap:
- Effective board width: 5.5 + 0.25 = 5.75 in
- Span direction (across width): 12 ft = 144 in
- Rows: ceil(144 ÷ 5.75) ≈ 26 rows
- With 10% waste: ceil(26 × 1.10) = 29 boards (at whatever board length was selected, e.g. 16 ft)
Since the deck’s length (16 ft) matches the standard 16 ft board length option, each row uses a single board with no splicing needed. If the run direction exceeded the selected board length, additional boards per row (spliced at a joist) would be needed — worth choosing a board length that comfortably covers your deck’s run direction where possible, to minimize seams.
Board spacing and direction
| Gap width | Best for |
|---|---|
| 1/8 in | Minimal gap — composite decking, tight fit |
| 1/4 in | Standard — most wood and composite decking |
| 3/8 in | Wider drainage — high-moisture climates, green lumber |
Gap width serves a real function beyond appearance — it allows water to drain through the deck surface rather than pooling, and it gives wood decking room to expand seasonally without buckling. Pressure-treated lumber installed while still green (higher moisture content) benefits from a slightly wider gap, since the boards will shrink somewhat as they dry, and a too-tight initial gap can end up too wide once the wood fully dries.
Decking direction — running boards across the width, along the length, or diagonally — is primarily an aesthetic choice, but it has real material consequences. Diagonal decking (installed at 45°) requires roughly 15% more material than a straight run of the same footprint, since every board along the perimeter needs an angled cut, producing more waste than a simple perpendicular cut. This calculator applies that higher waste factor automatically when diagonal is selected.
Fastener choice affects both the finished look and long-term maintenance, independent of the board material list itself. Face-screwed decking (visible screws driven straight through the board top) is the simplest and most economical installation method, but leaves visible fastener heads. Hidden fastener systems — clips or specialized screws driven at an angle through the board’s edge — produce a cleaner, screw-free top surface, at a higher material and labor cost per board. Composite decking manufacturers frequently specify or strongly recommend a particular fastener system for their specific product, sometimes as a condition of the material warranty, so it’s worth checking manufacturer requirements before finalizing a fastening approach for composite decking specifically.
Joist and post spacing
16 inches on center is the standard joist spacing for most residential decking, matched to standard board spans and lumber sizing. Tighter 12-inch spacing is sometimes used for extra stiffness or with certain composite decking products that require closer support than wood; wider 24-inch spacing is less common and generally requires thicker joist lumber to maintain adequate strength.
This calculator lays posts out in a grid pattern across the deck footprint — a simplified approximation of a post-and-beam support system, where beams run one direction and posts support the beams at intervals. Real deck framing plans vary considerably based on span requirements, local code, and specific design (some decks use fewer, larger beams with fewer posts; others use a denser grid) — this calculator’s grid approach gives a reasonable material planning estimate, but an actual structural framing plan should come from a span table appropriate to your specific lumber species and grade, or from an engineer or architect for anything beyond a simple, low, code-standard deck.
Footings and concrete
Each post typically sits on its own concrete footing, sized and depth-rated according to local frost line requirements and the specific post load it carries. The 3-bags-per-footing estimate used here is a reasonable planning figure for a typical residential post footing (commonly an 8- to 12-inch diameter tube form, poured to a depth below the local frost line), but actual footing size and depth requirements vary by jurisdiction, soil type, and deck height — always confirm your specific local code requirement before finalizing footing dimensions, since this affects both the concrete quantity and the depth of digging required.
Frost depth matters as much as it does for fence posts — a footing that doesn’t extend below the local frost line can heave with seasonal freeze-thaw cycles, gradually pushing the post (and the deck structure above it) out of level over successive winters. This is a slow-developing problem that’s much easier to prevent during initial construction than to correct afterward.
Railing requirements by deck height
| Height off ground | Typical railing requirement |
|---|---|
| Under 30 in | Generally not required by code (verify locally) |
| 30 in to 5 ft | Railing typically required, standard height |
| Over 5 ft | Full railing required, often with stricter baluster spacing |
Most residential building codes in the US set the railing requirement threshold at 30 inches above grade — decks below that height are commonly exempt, while anything at or above it needs a code-compliant railing, typically with a maximum baluster gap (commonly 4 inches) specifically sized to prevent a small child from passing through. This calculator’s railing material estimate assumes railing on three sides of the deck perimeter (the fourth side against the house wall doesn’t need one), which is the standard configuration for a house-attached deck — a freestanding deck would need railing material on all four sides if it’s tall enough to require it.
Always confirm your specific local code requirement rather than relying solely on the general 30-inch guideline used here — some jurisdictions set the threshold differently, and railing specifications (height, baluster spacing, load rating) are consistently among the most closely inspected elements of a deck permit review.
When to consult a professional
This calculator provides a reasonable material planning estimate for budgeting and shopping — it is not a substitute for a structural engineering review or a permitted building plan. Involve a professional and check with your local building department in these situations:
- Any deck attached to your house — the ledger board connection to the house structure is one of the most critical (and most commonly cited in deck failure investigations) connections in the entire structure, and most jurisdictions require a permit and inspection for attached decks regardless of size
- Decks above 30 inches high — beyond the railing requirement itself, greater height generally means more careful attention to post bracing and lateral load resistance
- Any deck supporting a hot tub or unusually heavy fixed load — standard residential deck framing tables assume typical residential live loads; a hot tub can add several thousand pounds concentrated in a specific area, requiring engineered framing in that zone
- Spans beyond typical span table limits — if your design calls for unusually long joist or beam spans, standard prescriptive span tables may not apply, and an engineer should size the framing
- Uncertain soil or slope conditions — footings on fill soil, steep slopes, or near a slope edge often need engineered footing design rather than a standard frost-depth tube footing
For a straightforward, low, house-attached deck built to standard prescriptive code tables, the material estimate above is a reliable starting point for budgeting — just confirm final framing dimensions against your local code’s prescriptive deck construction guide (many jurisdictions publish one) or a permit reviewer’s requirements before finalizing lumber sizes.
Real-world applications
A standard house-attached deck, roughly 16×12 ft at a medium height with railing, needs about 29 deck boards, 15–17 joists, 9 posts, and 27 bags of concrete — a material cost typically in the $1,500–$3,500 range depending on decking material choice (pressure-treated lumber vs. composite), with composite running meaningfully higher per board than pressure-treated wood.
A low, ground-level deck under 30 inches high often skips railing requirements and can sometimes use a simplified footing approach (such as deck blocks resting on the surface rather than below-frost-line concrete footings, depending on local code) — worth confirming with local code, since ground-level decks are sometimes treated differently than elevated ones in prescriptive deck guides.
A composite decking deck uses the same joist and post framing calculations as wood decking, but composite boards are typically narrower per-unit-width option and specifically rated by the manufacturer for a maximum joist spacing (often requiring the tighter 12-inch spacing rather than 16-inch) — always check your specific composite product’s span rating rather than assuming standard wood decking spacing applies.
A second-story or high deck requiring taller posts introduces additional structural considerations beyond what this material calculator captures — taller posts are more susceptible to lateral buckling and wind load, and building codes typically require additional bracing (diagonal knee bracing or larger post dimensions) as height increases. This is exactly the kind of situation where the “when to consult a professional” guidance above applies directly — a material list alone doesn’t capture the bracing hardware and larger lumber dimensions a taller structure may require.
Common mistakes to avoid
- Underestimating the ledger board connection’s importance. For house-attached decks, this connection carries substantial structural load — it’s one of the most heavily scrutinized elements in a permit inspection for good reason.
- Skipping the local permit process. Most jurisdictions require a permit for any attached deck and often for freestanding decks above a certain size or height — building without one can create real problems when selling the home later.
- Assuming standard spacing works for composite decking. Many composite products require tighter joist spacing than standard wood — check your specific product’s span rating.
- Footings that don’t reach below the frost line. This causes the same frost-heave problem as under-set fence posts, gradually pushing the deck out of level over successive winters.
- Not accounting for a hot tub or other heavy fixed load. Standard residential deck framing assumes typical live loads — a hot tub concentrates enormous weight in one area and needs engineered framing there.
- Choosing a board length shorter than the deck’s run direction without planning for splices. This calculator assumes boards long enough to span the run direction where practical — a mismatch between board length and run direction means planning specific splice points at joist locations.