The most common residential deck inspection failure is an oversized joist cantilever overhang past the drop beam. Under IRC Section R507.6, deck joist cantilevers are capped at the lesser of 1/4 of the actual back-span OR the tabulated maximum cantilever for the species, joist depth, and spacing. Encoding IRC Table R507.6 in TypeScript catches unsafe overhangs before a single post hole is dug.

1. IRC Table R507.6 40 psf Wet-Service Lookup (Southern Pine #2)

export type DeckJoistSize = '2x6' | '2x8' | '2x10' | '2x12'; export type DeckSpacingIn = 12 | 16 | 24; interface DeckSpanEntry { maxBackSpanFt: number; maxOverhangFt: number; } // IRC Table R507.6 (40 psf live / 10 psf dead, wet service, Southern Pine #2) const SYP2_DECK_SPANS: Record<DeckJoistSize, Record<DeckSpacingIn, DeckSpanEntry>> = { '2x6': { 12: { maxBackSpanFt: 9.92, maxOverhangFt: 1.25 }, 16: { maxBackSpanFt: 9.0, maxOverhangFt: 1.33 }, 24: { maxBackSpanFt: 7.58, maxOverhangFt: 1.5 } }, '2x8': { 12: { maxBackSpanFt: 13.08, maxOverhangFt: 2.0 }, 16: { maxBackSpanFt: 11.83, maxOverhangFt: 2.25 }, 24: { maxBackSpanFt: 9.67, maxOverhangFt: 2.17 } }, '2x10': { 12: { maxBackSpanFt: 16.17, maxOverhangFt: 3.17 }, 16: { maxBackSpanFt: 14.0, maxOverhangFt: 2.83 }, 24: { maxBackSpanFt: 11.42, maxOverhangFt: 2.5 } }, '2x12': { 12: { maxBackSpanFt: 18.0, maxOverhangFt: 3.5 }, 16: { maxBackSpanFt: 16.5, maxOverhangFt: 3.5 }, 24: { maxBackSpanFt: 13.5, maxOverhangFt: 3.0 } } }; export interface DeckOverhangCheck { allowableBackSpanFt: number; allowableOverhangFt: number; backSpanOk: boolean; overhangOk: boolean; effectiveBeamDepthFt: number; joistCount: number; } export function checkDeckJoistAndOverhang(params: { deckWidthAlongHouseFt: number; backSpanToBeamFt: number; overhangPastBeamFt: number; joistSize: DeckJoistSize; spacingIn: DeckSpacingIn; }): DeckOverhangCheck { const entry = SYP2_DECK_SPANS[params.joistSize][params.spacingIn]; // Overhang cannot exceed min(tableMax, 0.25 * actual back span) const allowableOverhangFt = Math.round(Math.min(entry.maxOverhangFt, params.backSpanToBeamFt * 0.25) * 100) / 100; const backSpanOk = params.backSpanToBeamFt <= entry.maxBackSpanFt; const overhangOk = params.overhangPastBeamFt <= allowableOverhangFt; const joistCount = Math.ceil((params.deckWidthAlongHouseFt * 12) / params.spacingIn) + 1; return { allowableBackSpanFt: entry.maxBackSpanFt, allowableOverhangFt, backSpanOk, overhangOk, effectiveBeamDepthFt: Math.round((params.backSpanToBeamFt / 2 + params.overhangPastBeamFt) * 100) / 100, joistCount }; } 

2. Verifying a 20' x 14' Deck (2x8 SYP #2 @ 16" OC, 12-ft Back Span, 2-ft Overhang)

  • Back span 12.0 ft vs 11.83 ft max -> FAILS by 2 inches -> stepping beam inward to 11'-6" (11.5 ft) with 2.25 ft overhang (<= min(2.25, 2.88)) passes both checks cleanly, or upgrade to 2x10 @ 16" OC (14.0 ft max back span)!

Interactive Tool & Outdoor CAD Studio

Disclaimer: Preliminary framing math only, not licensed structural engineering. Confirm ledger flashing, lateral load connectors (IRC R507.9.2), guardrails, snow load, and footings with your local AHJ.