How to Calculate Deck Materials: Formulas Every Contractor Needs
Quick-reference formulas for every deck material calculation. Print this, bookmark it, or let software do the math—but know these numbers.
Every deck estimate starts with material quantities. Get the count wrong, and you're either making an extra trip to the lumber yard mid-build or explaining to a homeowner why there's leftover material they paid for.
This guide gives you the formula for every deck component in a format you can reference on-site. Think of it as your cheat sheet.
For the complete estimating process (including labor, overhead, and profit), see our how to estimate a deck job guide.
Quick-Reference Formula Sheet
Decking Boards
Rows = Deck width (in.) ÷ (Board width + Gap)
- 5.5" boards with 1/8" gap: divide by 5.625
- 3.5" boards with 1/8" gap: divide by 3.625
Total LF = Rows × Deck length × Waste factor
Waste factors:
| Layout | Factor |
|---|---|
| Straight, perpendicular | 1.10 (10%) |
| Diagonal (45°) | 1.15 (15%) |
| Picture frame border | 1.15 (15%) |
| Herringbone/chevron | 1.20 (20%) |
Joists
Count = (Deck length in inches ÷ Spacing) + 1
| Spacing | Formula |
|---|---|
| 16" OC | (Length × 12 ÷ 16) + 1 |
| 12" OC | (Length × 12 ÷ 12) + 1 |
Rim joists = 2 × Deck length
Beams
Post spacing determines beam size (consult span tables):
| Post spacing | Minimum beam |
|---|---|
| Up to 6' | Doubled 2×8 |
| 6'-8' | Doubled 2×10 |
| 8'-10' | Doubled 2×12 |
Beam LF = Deck width + 1' overhang each end Pieces = Beam LF × 2 (doubled) ÷ Board length available
Posts
Count = (Beam length ÷ Post spacing) + 1 Length each = Deck height + Below-grade depth
| Frost depth | Below-grade |
|---|---|
| Mild climate | 18-24" |
| Moderate | 30-36" |
| Cold (Midwest/NE) | 42-48" |
Concrete Footings
Bags per footing (80 lb bags of premix):
| Tube diameter | Depth 36" | Depth 42" | Depth 48" |
|---|---|---|---|
| 10" | 0.6 bags | 0.7 bags | 0.8 bags |
| 12" | 0.8 bags | 1.0 bags | 1.2 bags |
| 14" | 1.1 bags | 1.3 bags | 1.5 bags |
Total bags = Posts × Bags per footing (round up, add 1-2 extra)
Fasteners
Deck screws (face-screw method):
- ~350 screws per 100 sq ft
- Formula: Deck sq ft × 3.5 = Total screws
Hidden clips (composite):
- ~90 clips per 100 sq ft
- Formula: Deck sq ft × 0.9 = Total clips
- Plus start clips: Deck length ÷ 12" = count
Joist hangers:
- Count = Number of joists (one per joist)
- Nails per hanger: 10-12 (use joist hanger nails, not common nails)
Ledger bolts:
- 1/2" × 4" lag bolts every 16" along ledger
- Count = (Ledger length × 12 ÷ 16) + 1
Railing
Posts:
- Count = (Railing perimeter ÷ Post spacing) + Corner posts
- Standard spacing: 6 ft (max 8 ft per most codes)
Balusters:
- Per linear foot: 12" ÷ (Baluster width + Max gap)
- Code max gap: 4"
- With 1.5" balusters: 12 ÷ 5.5 = ~2.2 per foot
- Formula: Railing LF × 2.2 = Total balusters (round up)
Rail sections:
- Top rail LF = Railing perimeter
- Bottom rail LF = Railing perimeter
- Total rail LF = Perimeter × 2
Stairs
Step count = Deck height (in.) ÷ Target rise (7-7.75") Actual rise = Deck height ÷ Step count (must be 7-7.75" per code) Run per step = 10-11.25" (tread depth) Total run = Steps × Run per step Stringer length = √(Total rise² + Total run²) — or just use 2× deck height as a safe estimate
Stringers needed:
| Stair width | Stringers |
|---|---|
| Up to 36" | 3 |
| 36"-48" | 3-4 |
| 48"-72" | 4-5 |
Treads = Step count × Boards per step (usually 2) Tread LF = Steps × 2 boards × Stair width
Worked Example: 14×20 Deck with 4 Stairs
Deck specs: 14 ft wide × 20 ft long, 30" elevation, composite decking (5.5" boards), stairs on one end (4 ft wide), railing on three sides.
Decking
- Rows: (20 × 12) ÷ 5.625 = 42.7 → 43 rows
- Each row: 14 ft
- LF: 43 × 14 = 602 LF
- With 10% waste: 602 × 1.10 = 663 LF of composite decking
Joists (16" OC, spanning 14')
- Count: (20 × 12 ÷ 16) + 1 = 16 joists
- Each: 14 ft long
- Rim joists: 2 × 20 ft = 40 LF
- Total joist material: 264 LF of 2×8 or 2×10
Beams (one beam, 8' from house)
- Beam length: 20 ft + 2 ft overhang = 22 ft
- Doubled 2×10: 4 pieces × 12 ft (spliced)
- Total beam material: 48 LF of 2×10
Posts
- Count: (22 ÷ 8) + 1 = 3.75 → 4 posts
- Height: 30" + 36" frost depth = 66" → 6 ft each
- 4 posts at 6 ft = 24 LF of 6×6
Footings
- 4 posts × 12" Sonotube × 42" deep
- ~1 bag per footing
- 6 bags of 80lb concrete (4 + 2 extra)
- 4 Sonotubes (12" × 48")
Fasteners
- Hidden clips: 280 sq ft × 0.9 = 252 clips → 3 boxes
- Start clips: 14 ft ÷ 12" = 14 → 1 box
- Joist hangers: 16 pieces
- Hanger nails: 16 × 12 = 192 nails
- Ledger lags: (20 × 12 ÷ 16) + 1 = 16 lag bolts
Railing
- Perimeter: 20 + 14 + 20 = 54 ft (minus stair opening ~4 ft) = 50 LF
- Posts: (50 ÷ 6) + 2 corners = 10-11 posts
- Balusters: 50 × 2.2 = 110 balusters
- Top rail: 50 LF
- Bottom rail: 50 LF
Stairs
- Steps: 30" ÷ 7.5" = 4 steps
- Stringers: 3 (4 ft wide stairs)
- Stringer material: 3 × 6 ft of 2×12 = 18 LF
- Treads: 4 steps × 2 boards × 4 ft = 32 LF of composite
- Stair railing: 2 sides × 6 ft = 12 LF
Material Summary Table
| Component | Quantity | Material |
|---|---|---|
| Decking boards | 663 LF | Composite (5.5") |
| Joists | 264 LF | 2×10 PT |
| Beam lumber | 48 LF | 2×10 PT |
| Posts | 24 LF | 6×6 PT |
| Sonotubes | 4 | 12" × 48" |
| Concrete | 6 bags | 80 lb premix |
| Hidden clips | 3 boxes | Brand-specific |
| Start clips | 1 box | Brand-specific |
| Joist hangers | 16 | Simpson or equiv. |
| Ledger lags | 16 | 1/2" × 4" |
| Railing posts | 11 | Composite |
| Balusters | 110 | Composite |
| Top/bottom rail | 100 LF | Composite |
| Stair stringers | 18 LF | 2×12 PT |
| Stair treads | 32 LF | Composite |
| Flashing | 20 LF | Aluminum |
| Post hardware | 4 sets | Post base brackets |
For the complete pricing of these materials, reference our composite vs pressure-treated pricing guide or the deck material takeoff guide for a deeper dive.
Tips for Faster Material Calculations
Build templates for your common deck sizes. A 12×16, 14×20, and 16×20 template covers 80% of jobs. Just adjust dimensions.
Always round up. If you calculate 42.7 rows of decking, order 44. A few extra boards cost $30; a mid-project shortage costs $200+ in lost time.
Keep a running fastener count. Fasteners are the most commonly forgotten items. Keep a per-sq-ft multiplier on a sticky note: 3.5 screws/sq ft or 0.9 clips/sq ft.
Price the full list, not just boards. Decking boards are 40-50% of total material cost. Railing, fasteners, framing, and footings make up the rest. Don't estimate from boards alone.
Use software. Tools like FieldRate run all these formulas automatically. Enter dimensions, get a complete material list. No calculator, no errors, no forgotten items. See how to price a deck job for the full pricing workflow.
FAQ
How many deck screws do I need per square foot? About 3.5 screws per square foot for face-screw installations. For a 300 sq ft deck, that's ~1,050 screws (about 2.5 boxes of 350-count).
What's the difference between 12" OC and 16" OC joist spacing? 12" OC uses 33% more joists but provides a sturdier deck. Some composite brands require 12" OC for warranty compliance, especially for diagonal installations. Check the decking manufacturer's installation guide.
How much extra material should I order? 10% for standard layouts, 15% for complex layouts. For railing components, order 2-3 extra balusters and 1 extra post. For decking, 2-3 extra boards. The cost of extras is minimal compared to a material-shortage delay.
Do I calculate framing with pressure-treated even for composite decks? Yes. Even composite decks use pressure-treated lumber for joists, beams, posts, and blocking. Only the decking surface and railing are composite.
Done calculating by hand? FieldRate runs all these formulas automatically—enter dimensions, get a complete material list in seconds. Try it free for 30 days.