Deck Material Calculator: Decking Boards, Substructure Framing and Fasteners
Decking boards, substructure framing, hardware & 15-year lifecycle calculator
- Deck surface area
- 192 sq ft
- Total decking (+waste)
- 450.6 lin ft
- Deck boards to order
- 29 boards (16 ft)
- Framing joists (+rim/ledger)
- 13× 2x10 + 2 rim/ledger
- Drop girder & concrete piers
- 1× (2-ply 2x10) · 4 piers
- Structural hardware & tape
- 26 ledger screws · 13 hangers · 5 butyl rolls
- Deck screws / hidden clips
- 744 screws
- IRC R312.1 Guardrail (>30")
- 36 lin ft (36" min guard)
IRC R507 / AWC DCA 6 Check: Deck height 36 in (> 30 in above grade) triggers a 36-inch minimum guardrail along 36.0 linear feet (excluding a 4-ft stair opening). All connectors and fasteners in copper-treated lumber must be G185 hot-dip galvanized or Type 304/316 stainless steel.
This deck material calculator sizes complete residential exterior deck packages in compliance with IRC Section R507, AWC DCA 6 (Prescriptive Residential Wood Deck Construction Guide), and IRC Section R312.1, outputting surface square footage, decking linear feet, field and picture-frame border board counts, common joists, multi-ply drop beams, concrete piers, staggered structural ledger screws, butyl flashing tape rolls, hidden clips or face screws, guardrail footage, and a 15-year lifecycle cost comparison. Ordering decking by dividing square footage by a nominal 6-inch plank width guarantees running short on installation day because a dressed 5/4×6 wood board or 1×6 composite plank covers 5.5 inches plus its drainage gap.
Select Imperial or Metric units, choose house-ledger or freestanding attachment, pick your substructure joist layout and decking pattern, and inspect both the layered 2D CAD framing plan and the 15-year maintenance break-even curve.
Decking, Substructure, and Hardware Formulas
deck area (sq ft) = length × width
net decking (lin ft) = (deck area × 12) ÷ (actual board width + gap)
order decking (lin ft) = net decking × pattern_factor × (1 + waste ÷ 100)
field boards = ceil(order decking ÷ stock board length)
common joists = ceil((length × 12) ÷ joist spacing) + 1
posts per beam = ceil(length ÷ max beam span) + 1
ledger screws = ceil((length × 12) ÷ 8) + 2 (16” O.C. staggered per IRC R507.9.1.3)
guardrail (lin ft) = exposed perimeter − 4 ft stair opening (when height > 30 in)
Here pattern_factor equals 1.00 for straight perpendicular decking and 1.05 for 45° diagonal layouts to capture mitered perimeter triangle losses before applying general cut and defect waste. Picture-frame layouts add square-edge border planks around the three exposed edges of a ledger deck (length + 2 × width) or all four edges of a freestanding deck (2 × (length + width)), plus 2 × width linear feet of ladder blocking between the outer two joists so the parallel edge border cannot cantilever unsupported.
| Decking Material & Profile | Actual Size | Typical Gap | Max Joist Spacing (90° Straight / 45° Diagonal) | Biennial Wood Maintenance |
|---|---|---|---|---|
| 5/4×6 Pressure-Treated Pine | 1.0” × 5.5” | 0” wet / 0.125” KDAT | 16” O.C. / 12” O.C. | Wash, sand & UV stain every 2 yrs |
| 5/4×6 Western Red Cedar | 1.0” × 5.5” | 0.125” | 16” O.C. / 12” O.C. | Mild cleaner & penetrating oil every 2–3 yrs |
| 1×6 Capped Composite / PVC | 0.94”–1.0” × 5.5” | 0.1875” (hidden clip) | 16” O.C. / 12” O.C. (mandatory) | Annual soap-and-water rinse only |
| 2×6 Wood Plank Decking | 1.5” × 5.5” | 0.125” | 24” O.C. / 16” O.C. | Wash & penetrating sealer every 2 yrs |
Critical IRC Section R507 and AWC DCA 6 Structural Rules
Exterior decks experience concentrated crowd loads and year-round wetting, making ledger pull-away and guardrail failure the two primary causes of residential deck collapse:
- Ledger Attachment vs. Freestanding Framing (IRC R507.9): Attaching a ledger board to a solid wood band joist requires
1/2-inchlag screws or code-evaluated structural ledger screws staggered at roughly 16 inches on-center per IRC Table R507.9.1.3(1), sealed with continuous Z-metal flashing and self-adhered butyl joist tape over every horizontal framing surface. Never bolt a ledger through brick veneer, stucco, or cantilevered floor trusses; choose Freestanding mode instead to add a second drop beam and rear row of piers independent of the house wall. - Joist Spans and Drop Girder Plies (IRC R507.5 & R507.6): Residential decks are engineered for 40 psf live load plus 10 psf dead load (
50 psftotal, or local ground snow load if greater). Check clear joist capacity across species grades in our floor joist span calculator and verify multi-ply drop girder sag in the beam deflection calculator. When deck projection exceeds 14 feet or post spacing exceeds 8 feet, upgrade from a 2-ply to a 3-ply girder bearing directly atop notched6×6posts rather than relying on shear-only side bolts. - Diagonal Composite Joist Spacing (IRC Table R507.7): Wood-plastic composites lose flexural stiffness on hot summer afternoons. Laying composite planks at
45°over 16-inch joist bays creates a22.6-inchdiagonal span that sags underfoot and voids manufacturer warranties; frame joists at 12 inches on-center whenever running45°composite. - Guardrail Height and Elevated Bracing (IRC R312.1.1 & R507.4): Decks more than 30 inches above grade within 36 inches horizontally require a 36-inch minimum guardrail capable of resisting a 200-lb concentrated lateral load along the top rail. Once walking height reaches 72 inches (6 feet) or higher,
6×6nominal posts and diagonal sway bracing require closer inspection. - Corrosion-Resistant Connectors (IRC R507.2.3): Micronized copper azole (MCA) and alkaline copper quaternary (ACQ) treatments corrode standard electro-galvanized steel rapidly. Specify ASTM A153 / G185 hot-dip galvanized hangers and structural screws inland, or Type 316 stainless steel within 15 miles of coastal saltwater and around saltwater pools.
Worked Examples
Example 1: 16 ft × 12 ft Pressure-Treated Ledger Deck (36 in High)
Frame a 16 ft × 12 ft (192.0 sq ft) ledger-attached deck 36 in above grade with straight 5/4×6 KDAT pine (5.5 in wide, 0.125 in gap), 16 ft stock boards, 2×10 joists at 16" O.C., 7 ft max post spacing, 10% waste, and face screws:
- Surface Decking: Course pitch =
5.5 + 0.125 = 5.625 in(ceil(144 ÷ 5.625) = 26 rows). Net linear footage =192 × 12 ÷ 5.625 = 409.6 lin ft; adding10%waste yields 450.56 lin ft (ceil(450.56 ÷ 16) =29 boards). - Substructure & Piers:
ceil(192 ÷ 16) + 1 =13 common joists plus2rim/ledger boards, supported on12-ply 2×10 drop beam overceil(16 ÷ 7) + 1 =4 concrete piers. - Hardware, Tape & Guardrail:
ceil(192 ÷ 8) + 2 =26 structural ledger screws, 13 joist hangers,204 lin ftof flashing (5 rolls of 50-ft butyl tape), 744 face screws, and16 + 2(12) − 4 =36.0 lin ft of guardrail. Composite breaks even against PT maintenance at Year 8.8.
Example 2: 20 ft × 14 ft Picture-Frame Composite Deck on 12” O.C. Joists
Upgrade a 20 ft × 14 ft (280.0 sq ft) ledger deck (48 in high) to 1×6 capped composite (5.5 in wide, 0.1875 in hidden-clip gap) with a picture-frame border, 16 ft planks, 2×10 joists at 12" O.C., 7 ft max beam span, and 10% waste:
- Field & Border Planks: Net field =
280 × 12 ÷ 5.6875 = 590.77 lin ft;+10%waste = 649.85 lin ft (41 grooved 16-ft field planks). Exposed 3-sided border =20 + 2(14) = 48 lin ft(ceil(48 × 1.05 ÷ 16) =4 solid 16-ft border planks) plus28 lin ftof ladder blocking. - Framing & Fasteners: 21 common joists (
12" O.C.),12-ply 2×10 girder on 4 piers, 32 ledger screws, 21 hangers, 8 butyl tape rolls (382 lin ft), 693 hidden clips, and 44.0 lin ft of guardrail.
Example 3: 14 ft × 12 ft Freestanding 45° Diagonal Cedar Patio Deck (20 in High)
Build a low 14 ft × 12 ft (168.0 sq ft) freestanding deck (20 in high, brick-veneer house wall) with 5/4×6 cedar (5.5 in wide, 0.125 in gap) laid at 45° diagonal, 12 ft boards, 2×8 joists at 12" O.C., 7 ft beam span, and 15% waste:
- Diagonal Decking: Net linear footage =
358.40 lin ft; with1.05diagonal miter factor and15%waste,358.40 × 1.05 × 1.15 =432.77 lin ft (37 twelve-foot cedar boards across40diagonal courses). - Two-Beam Substructure: 15 common joists, 2 drop beams (upgraded to 3-ply 2×10 because
2×8framing exceeds10 ftdeck width) carried on3 × 2 =6 concrete piers,0ledger screws, 5 butyl tape rolls, 897 face screws, and 0 lin ft of guardrail (20 in ≤ 30 in).
Coordinating Stairs, Posts, and Wholesale Lumber Tallies
Convert your framing and cedar package into wholesale millwork volume with the board feet calculator, lay out perimeter rail post spacing using the fence post calculator, and calculate code-compliant stringers (≤ 7-3/4 in riser, ≥ 10 in tread) with the stair calculator. Explore our complete framing calculators hub for headers, walls, and structural carpentry tools.
Uniform board gapping with fastener-free composite/grooved surface
Replaces pre-drilled 1/2" lag bolts for ledger-to-rim attachment
Seals deck screw penetrations to prevent premature joist rot
IRC Section R507 Decking Span Limits, Joist Cantilevers & Ledger Fastener Schedule
Maximum allowable decking span by board orientation (IRC Table R507.7), Southern Pine / Douglas Fir #2 deck joist clear spans (40 psf live / 10 psf dead), and ledger screw spacing.
| Deck Framing / Decking Element | Material & Size | Max O.C. / Clear Span | Max Overhang | IRC R507 & DCA 6 Requirement |
|---|---|---|---|---|
| Wood Decking — Perpendicular (90°) | 5/4×6 PT / Cedar or 2×6 | 16 in – 24 in O.C. | 12 in end | 5/4" nominal max 16" O.C. (24" O.C. requires 2× nominal) |
| Wood Decking — 45° Diagonal | 5/4×6 or 2×6 Wood | 12 in – 16 in O.C. | 9 in end | Table R507.7: 5/4" wood limited to 12" O.C. on 45° angle |
| Composite / PVC — Perpendicular (90°) | 1×5.5 Grooved / Solid | 16 in O.C. max | 0.5 – 1.5 in | Use 12" O.C. for commercial/stair stringers per ICC-ES report |
| Composite / PVC — 45° Diagonal | 1×5.5 Grooved / Solid | 12 in O.C. max | 0.5 in | 45° span across 16" bays = 22.6" — requires 12" O.C. joists |
| 2×8 Deck Joist (#2 SYP / DF-L) | 1.5" × 7.25" Treated | 11 ft 10 in @ 16" O.C. | L / 4 (≤ 2 ft 11 in) | Table R507.6 (40 psf live + 10 psf dead, wet-service Cm) |
| 2×10 Deck Joist (#2 SYP / DF-L) | 1.5" × 9.25" Treated | 14 ft 0 in @ 16" O.C. | L / 4 (≤ 3 ft 6 in) | Solid blocking over drop beam + hurricane ties required |
| 2×12 Deck Joist (#2 SYP / DF-L) | 1.5" × 11.25" Treated | 16 ft 6 in @ 16" O.C. | L / 4 (≤ 4 ft 1 in) | Apply butyl joist tape to top edge to block screw-hole rot |
| Ledger Board & Guardrail Threshold | 2×8+ Ledger · 36" Guard | 1/2" Lag / Ledger Screw | N/A | R312.1.1: Guard ≥ 36" required if walking surface > 30" above grade |
Reference standard: 2021 International Residential Code (IRC Section R507, Tables R507.6, R507.7 & R507.9.1.3(1)) & AWC DCA 6. Click any column header to sort or click a highlighted preset pill inside the calculator to auto-fill values.
Dimensional Lumber & LVL Section Properties (AWC NDS / PS 20)
Nominal vs. actual dressed dimensions, cross-sectional area A, section modulus S, moment of inertia I, board-foot factor, and unit weights.
| Nominal Size | Actual (b × d) | Area A (in²) | Section Mod. S (in³) | Inertia I (in⁴) | BF / lin ft | Dry Wt (lb/ft) |
|---|---|---|---|---|---|---|
| 2x4 | 1.5" × 3.5" | 5.25 | 3.063 | 5.359 | 0.6667 | 1.28 |
| 2x6 | 1.5" × 5.5" | 8.25 | 7.563 | 20.797 | 1 | 2.01 |
| 2x8 | 1.5" × 7.25" | 10.875 | 13.141 | 47.635 | 1.3333 | 2.64 |
| 2x10 | 1.5" × 9.25" | 13.875 | 21.391 | 98.932 | 1.6667 | 3.37 |
| 2x12 | 1.5" × 11.25" | 16.875 | 31.641 | 177.979 | 2 | 4.1 |
| 4x4 | 3.5" × 3.5" | 12.25 | 7.146 | 12.505 | 1.3333 | 2.98 |
| 4x6 | 3.5" × 5.5" | 19.25 | 17.646 | 48.526 | 2 | 4.68 |
| 6x6 | 5.5" × 5.5" | 30.25 | 27.729 | 76.255 | 3 | 7.35 |
| 1-3/4x9-1/2 LVL | 1.75" × 9.5" | 16.625 | 26.323 | 125.034 | 1.6667 | 4.85 |
| 1-3/4x11-7/8 LVL | 1.75" × 11.875" | 20.781 | 41.13 | 244.207 | 2 | 6.06 |
| 1-3/4x14 LVL | 1.75" × 14" | 24.5 | 57.167 | 400.167 | 2.3333 | 7.15 |
Reference standard: AWC National Design Specification (NDS) Supplement & NIST PS 20. Click any column header to sort or click a highlighted preset pill inside the calculator to auto-fill values.
Enter your ZIP or postal code to compare bids from vetted local custom deck builders matched to your calculated scope.
Enter a valid 5-digit US ZIP (or 3–8 character postal code) to check local availability.
Frequently asked questions
What is the actual width of a 5/4x6 or 1x6 deck board?
Under NIST PS 20 softwood standards, nominal 5/4x6 radius-edge wood decking measures 1.0 inch thick by 5.5 inches wide when surfaced dry. Most 1x6 capped composite and cellular PVC planks also measure 5.36 to 5.5 inches wide, so dividing deck projection by 5.5 inches plus the drainage gap prevents coming up two rows short.
Why does 45-degree diagonal composite decking require 12-inch joist spacing?
Laying boards at a 45-degree angle stretches the actual span between joists by the square root of two (1.414 times). A 16-inch on-center bay becomes a 22.6-inch diagonal span, which exceeds IRC Table R507.7 limits; framing joists at 12 inches on center keeps the diagonal span at 17.0 inches.
When does a residential deck require a 36-inch guardrail under IRC code?
Per IRC Section R312.1.1, any open-sided walking surface located more than 30 inches vertically above the floor or grade below at any point within 36 inches horizontally must have a continuous guard at least 36 inches tall, with baluster openings small enough to reject a 4-inch sphere.
When should I frame a freestanding deck instead of attaching a ledger board?
Choose a freestanding two-beam layout whenever the house has brick veneer, EIFS stucco, cantilevered floor joists, or a stone foundation where structural ledger screws cannot engage solid rim framing under IRC R507.9.1. Freestanding decks carry all gravity loads on two rows of concrete piers.
How many years does composite decking take to break even against pressure-treated wood?
Although capped composite planks and hidden clips cost roughly three times as much upfront as 5/4x6 pressure-treated pine, wood decks require power-washing, brightening, sanding, and UV oil staining every two years. Cumulative maintenance typically pushes pressure-treated wood past composite between Year 8 and Year 10.
Sources
- 2021 International Residential Code (IRC), Section R507 Exterior Decks, International Code Council (ICC), accessed November 2026.
- DCA 6: Prescriptive Residential Wood Deck Construction Guide, American Wood Council (AWC), accessed November 2026.
- 2021 International Residential Code (IRC), Section R312.1 Guards, International Code Council (ICC), accessed November 2026.
- Voluntary Product Standard PS 20 — American Softwood Lumber Standard, National Institute of Standards and Technology (NIST), accessed November 2026.