How to Calculate Deck Materials
Deck math is more than just deck boards — joists, beams, posts, footings, hardware, and railings all scale with deck size. The decking boards themselves are the most visible cost, but the structural frame underneath usually represents 30-40% of total materials. Skip a footing or undersize a joist and your deck may pass inspection but sag noticeably within 5 years.
Board rows = Width ÷ (board width + 1/8 inch gap)
Joists = Length ÷ joist spacing + 1
Footings = perimeter posts (typically 1 every 8 ft along beam)
Board count = rows × boards-per-row × 1.10 (10% waste)
Worked example: 12 × 16 ft attached deck
Standard 16-foot wide attached deck, 12 feet projection from house, 24 inches above grade. Using 2x6 pressure-treated decking (5.5 inch actual width), 16-inch joist spacing:
- Deck area: 16 × 12 = 192 sq ft
- Board rows: 12 × 12 ÷ (5.5 + 0.125) = 144 ÷ 5.625 = 26 rows
- Boards per row (16-ft length): 1 board covers a single row
- Total deck boards: 26 × 1 × 1.10 = 29 boards (with waste)
- Joists (2x10 PT, 16 in OC): 16 ÷ 1.33 = 12 + 1 = 13 joists × 12 ft each
- Beam: Doubled 2x10 PT, 16 ft long = 2 pieces of 16 ft 2x10
- Posts: 4 (corners — supported by beam and ledger)
- Footings: 4 concrete piers, 12-inch diameter, 36-48 inch deep
- Screws: 26 rows × 13 joists × 2 screws = ~675; plus hardware = ~1,000 total
- Material cost estimate (pressure-treated): $2,000-3,200
- Installed by pro: $4,800-7,500 for the same deck
Deck Materials Comparison 2026
| Material | DIY material | Installed | Lifespan | Maintenance |
|---|---|---|---|---|
| Pressure-treated pine | $15-25/sq ft | $25-45/sq ft | 15-20 yr | Annual stain |
| Cedar (Western red) | $25-35/sq ft | $40-65/sq ft | 15-25 yr | Annual seal |
| Redwood | $35-50/sq ft | $50-75/sq ft | 20-30 yr | Annual seal |
| Composite (Trex, TimberTech) | $30-50/sq ft | $40-80/sq ft | 25-50 yr | Wash only |
| PVC / cellular | $40-60/sq ft | $55-90/sq ft | 30-50 yr | Wash only |
| Ipe / Cumaru (tropical) | $40-70/sq ft | $60-110/sq ft | 50+ yr | Optional oil |
| Aluminum decking | $50-75/sq ft | $70-110/sq ft | 40+ yr | Wash only |
Deck Frame: Joist and Beam Sizing
Joist span tables (Southern Pine #2, residential load)
| Joist size | At 12 in OC | At 16 in OC | At 24 in OC |
|---|---|---|---|
| 2 × 6 | 10 ft 0 in | 9 ft 1 in | 7 ft 6 in |
| 2 × 8 | 13 ft 2 in | 11 ft 11 in | 9 ft 9 in |
| 2 × 10 | 16 ft 9 in | 15 ft 3 in | 12 ft 6 in |
| 2 × 12 | 20 ft 4 in | 18 ft 6 in | 15 ft 2 in |
Spans are joist length between supports (ledger and beam, or two beams). Reduce by 20-30% for hot tubs, planters, or other concentrated loads. Always verify with local code — this is reference only.
Beam sizing
Beams support joists at the outer edge of the deck. Built up from doubled or tripled 2x lumber. Common: doubled 2x10 spans 8-9 feet between posts; tripled 2x10 spans 10-12 feet. Larger spans require engineered LVL or steel.
Post sizing
4x4 pressure-treated posts for decks under 6 feet tall. 6x6 PT posts for decks 6+ feet tall or with hot tubs. Use post anchors (Simpson AB or ABA brackets) on top of concrete footings — never bury wood posts in concrete. Mid-span posts: place every 8 feet along the beam line.
How to Build a Deck: Step by Step
- Pull permits and plan. Most decks need building permits. Submit a drawing showing dimensions, footing locations, joist sizing, and ledger attachment detail. Schedule footing inspection.
- Call 811. Mandatory. Free utility marking, 3 business days lead time.
- Locate ledger position. Measure down from interior floor to bottom of ledger, accounting for stair clearance to grade and any threshold height. Snap a level chalk line.
- Remove siding for ledger attachment. Cut siding 1 inch above and below ledger position. Install ice-and-water-shield self-adhered membrane.
- Install ledger board. 1/2 inch lag screws or through-bolts every 16-24 inches in staggered pattern, into structural rim joist. NOT into sheathing alone — must reach the framing.
- Flash ledger. Z-flashing tucked behind siding above; drip cap below. Caulk all penetrations. This is the most important detail of the build.
- Mark footing locations. Beam line is 12 ft from house for our example deck. Set string lines from ledger ends; measure 12 ft out; mark with stakes.
- Dig footings. Below frost line. Diameter per local code (typically 12 in for residential decks). Inspect before pouring concrete.
- Pour footings. Concrete tubes for clean column shape. Embed J-bolts or post anchors while wet. Let cure 24-48 hours before loading.
- Install posts and beam. 4x4 or 6x6 pressure-treated posts on anchor brackets. Beam (built up 2x lumber) cantilevers up to 1/4 of its span past end posts.
- Install joists. Joist hangers at ledger; rest on top of beam. 16 in OC standard. Crown joists upward — sight along edge, install with the slight bow pointing up.
- Install rim joist. End-grain joist material at the outer edge — caps the joist ends and creates a finished look.
- Install decking. Start at the house and work out, or start at the outer edge and adjust at the house. Use spacers for consistent 1/8 inch gaps. Pre-drill near board ends to prevent splitting.
- Build stairs. Use our stair calculator for rise/run. PT stringers, 2x6 treads, footings at the bottom.
- Install railing. Required if deck is more than 30 inches above grade. 36 inches minimum height. Balusters must reject a 4-inch sphere.
- Final inspection. Schedule with your building department once complete. Many inspections also include a frame inspection before decking is installed.
Deck Lifespan and Maintenance
- Annual cleaning. Pressure wash at low pressure, or use deck cleaner with a stiff brush. Removes mildew, dirt, oxidation.
- Re-stain wood every 2-3 years. The single biggest factor in deck life. Sealers wear off; stain pigments slow UV damage.
- Check joist hangers and fasteners. Pressure-treated lumber chemistry corrodes galvanized hardware over decades. Use stainless or hot-dip galvanized rated for ACQ/MCA-treated lumber.
- Inspect ledger flashing yearly. Look for staining or rot at the rim joist where the ledger attaches.
- Replace damaged boards promptly. One soft board makes neighboring boards rot faster.
- Reseal end grain. Where deck boards were cut, end grain absorbs water. Brush on extra sealer at all cut ends.
Common Deck Mistakes
- Ledger improperly flashed: #1 cause of deck collapse. Water rots the house rim joist; ledger pulls out.
- Footings too shallow: Below frost line, every time. Frost heave will lift posts and twist the deck.
- Skipping permits: Insurance won't cover injuries on unpermitted decks. Required for resale.
- Wood post buried in concrete: Rots at the soil line within 5-10 years. Always use post anchors above the concrete.
- Wrong fasteners for treated lumber: Modern ACQ/MCA treatment corrodes basic galvanized hardware. Use stainless or hot-dip galvanized rated for treated lumber.
- No flashing under decking near house: Water sits between decking and ledger, accelerating rot.
- Crowning joists incorrectly: All joists must have crown side up. Mixed crowns create a wavy deck surface.
- Insufficient joist spacing for composite: Composite typically requires 12 in OC. Installing on 16 in OC voids warranty and causes sagging.
- No clearance under deck: 6 inches minimum to grade for ventilation. Less = trapped moisture = rapid rot.
- Building with green PT lumber gapped tight: Wet pressure-treated shrinks as it dries. Install tight; it'll be properly spaced once dry. Or use kiln-dried treated lumber with deliberate 1/8 in gaps.