Deck Calculator
Estimate decking materials including boards, joists, screws, and total board feet with waste factor and cost estimate.
Cubic Yards
0
How Deck Material Calculation Works
A deck calculator is a tool that estimates the lumber, hardware, and total cost needed to build a deck based on its dimensions, board size, and joist spacing. According to the North American Deck and Railing Association (NADRA), approximately 4 million new decks are built in the United States each year, making deck construction one of the most popular home improvement projects. Homeowners and contractors use deck material calculators to create accurate shopping lists and prevent costly return trips to the lumber yard.
The calculation works by dividing the total deck area by the coverage area of a single board to determine the number of decking boards needed, then computing joists based on the span and spacing requirements. The calculator also estimates screws, post footings, and optional railing materials. For the concrete footings that support deck posts, use our concrete calculator to estimate the volume needed for each pier. Our lumber calculator can help with board-feet conversions.
The Deck Material Formula
The primary formulas for deck material estimation are:
Decking boards: (Deck Area in sq ft) / (Board Width in ft x Board Length in ft) = Number of boards. Add 10-15% for waste from cuts, defects, and layout.
Joists: (Deck Length / Joist Spacing) + 1 = Number of joists. Standard spacing is 16 inches on center for most decking, or 12 inches for composite and diagonal patterns.
Screws: Approximately 350 screws per 100 square feet of decking (2 screws per joist per board).
Worked example: A 12 x 16 foot deck (192 sq ft) using 5.5-inch-wide by 12-foot-long boards: Each board covers 5.5 sq ft. You need 192 / 5.5 = 35 boards. With 10% waste: 39 boards. At 16-inch joist spacing across 16 feet: (16 x 12 / 16) + 1 = 13 joists, each 12 feet long. Screws: approximately 672.
Key Terms You Should Know
- On center (OC) -- the distance measured from the center of one joist to the center of the next. Standard deck joist spacing is 16 inches OC per the International Residential Code (IRC).
- Joist -- the horizontal structural member that supports the decking boards. Typically 2x8 or 2x10 pressure-treated lumber for residential decks.
- Ledger board -- the board attached to the house wall that anchors one side of the deck. Must be lag-bolted through the house rim joist per IRC Section R507.6.
- Beam -- the horizontal member that supports joists and transfers loads to the posts. Typically built from doubled or tripled 2x10 or 2x12 lumber.
- Board feet -- a lumber measurement equal to 1 inch thick x 12 inches wide x 12 inches long. Used for pricing rough-sawn and specialty lumber.
Decking Material Comparison
The choice of decking material affects cost, maintenance, and lifespan significantly. According to Remodeling Magazine's 2025 Cost vs. Value Report, a wood deck addition recoups approximately 65% of its cost at resale, while a composite deck recoups about 60%.
| Material | Cost per sq ft | Lifespan | Maintenance |
|---|---|---|---|
| Pressure-treated pine | $2-$5 | 10-15 years | Stain/seal every 2-3 years |
| Cedar | $4-$8 | 15-20 years | Seal every 2-3 years (optional) |
| Redwood | $6-$12 | 20-30 years | Seal every 2-3 years (optional) |
| Composite (Trex, TimberTech) | $6-$12 | 25-30 years | Periodic cleaning only |
| PVC (Azek, WOLF) | $8-$14 | 30-50 years | Minimal -- no staining/sealing |
| Ipe (hardwood) | $10-$20 | 40-75 years | Oil annually for color retention |
Practical Examples
Small back porch (10 x 10 ft, 100 sq ft): Using pressure-treated 5/4x6 boards at 12 feet: need 19 boards + 10% waste = 21 boards. Joists: 8 at 16-inch OC (2x8x10). Screws: ~350. Material cost: $500-$800 for treated lumber. Total with footings, posts, and hardware: $1,200-$2,000 DIY or $3,000-$5,000 professionally installed.
Standard family deck (12 x 20 ft, 240 sq ft): Using composite boards at $8/sqft: decking material alone is $1,920. Substructure (joists, beams, posts, hardware) adds $800-$1,200. Total materials: $2,700-$3,100. Professional installation at $15-$25 per square foot totals $3,600-$6,000 for labor. Use our concrete calculator to estimate the 4-6 pier footings needed.
Large multi-level deck (400 sq ft with stairs): Composite material: $3,200-$4,800. Substructure and hardware: $1,500-$2,500. Railing (40 linear feet): $1,200-$2,000. Stairs (8 steps): $400-$800. Total DIY materials: $6,300-$10,100. Professional build: $12,000-$20,000+.
Tips for Planning Your Deck Build
- Check local building codes first. Most jurisdictions require a permit for decks over 200 square feet or higher than 30 inches off the ground. The IRC (Section R507) sets minimum requirements for footings, connections, and guardrails.
- Size joists to the span. A 2x8 can span up to 10 feet 6 inches at 16-inch OC; a 2x10 spans up to 13 feet 9 inches. Exceeding span limits causes bounce and eventual structural failure. Always check span tables for your lumber species and grade.
- Use proper fasteners. All deck screws and hardware must be rated for outdoor use. For pressure-treated lumber (ACQ treatment), use stainless steel or ACQ-rated hot-dipped galvanized hardware. Standard galvanized screws will corrode within 2-3 years.
- Leave gaps between boards. Space decking boards 1/8 inch apart for wood (which swells when wet) or per manufacturer specs for composite (typically 3/16 inch). This allows water drainage and prevents cupping.
- Plan for the ledger connection. The ledger-to-house connection is the most critical structural element. Use 1/2-inch lag screws or through-bolts spaced per IRC Table R507.6, and install flashing above the ledger to prevent water infiltration into the house wall.
Deck Building Code Requirements
The International Residential Code (IRC) Section R507 governs residential deck construction in most US jurisdictions. Key requirements include: guardrails are mandatory for decks more than 30 inches above grade, with a minimum height of 36 inches (42 inches in some states). Baluster spacing must not exceed 4 inches. Stairs must have a minimum 36-inch clear width, risers between 4 and 7-3/4 inches, and treads at least 10 inches deep. Footings must extend below the local frost line to prevent heaving -- this ranges from 12 inches in the southern US to 48 inches or more in northern states.
Frequently Asked Questions
How many boards do I need for a 12x16 deck?
A 12x16 foot deck (192 square feet) using standard 5/4x6 boards (5.5-inch actual width) requires approximately 35-42 boards at 12-foot length, depending on the direction of lay and waste factor. Running boards perpendicular to joists is standard. Add 10% waste for straight layouts or 15% for diagonal patterns, which create more cut-off waste at the edges.
How far apart should deck joists be spaced?
Standard joist spacing is 16 inches on center for most wood and composite decking installed perpendicular to joists. Use 12-inch spacing for diagonal decking patterns, composite boards over 16 feet long, or when the manufacturer requires it. Some premium composite brands allow 24-inch spacing for their thicker boards. Always check the decking manufacturer's installation guide for specific spacing requirements.
How much does it cost to build a deck?
Total deck cost depends heavily on material choice and whether you DIY or hire a contractor. For a standard 12x20 foot (240 sq ft) deck: pressure-treated wood costs $2,500-$5,000 DIY or $5,000-$10,000 professionally installed. Composite decking runs $4,000-$8,000 DIY or $8,000-$16,000 installed. According to Remodeling Magazine's 2025 Cost vs. Value Report, the national average for a composite deck addition is approximately $24,000-$28,000.
Do I need a permit to build a deck?
Most jurisdictions require a building permit for decks that are more than 200 square feet in area or more than 30 inches above grade. The permit process typically requires submitting a site plan, structural drawings, and footing details. Inspection is usually required at the footing stage and upon completion. Building without a required permit can result in fines, forced removal, and complications when selling the home. Always check with your local building department before starting.
What size lumber should I use for deck joists?
Joist size depends on the span (distance between supports). For Southern Pine #2 or better at 16-inch OC spacing: 2x6 joists span up to 7 feet 11 inches, 2x8 joists span up to 10 feet 6 inches, 2x10 joists span up to 13 feet 9 inches, and 2x12 joists span up to 16 feet 6 inches. These maximums are from IRC span tables and assume a 40 psf live load plus 10 psf dead load. Longer spans require larger joists or intermediate beam support.
Is composite decking worth the extra cost?
Composite decking costs 2-3 times more than pressure-treated wood upfront but requires virtually no maintenance beyond periodic cleaning. Over 20 years, the total cost of ownership is often similar because wood decks need staining or sealing every 2-3 years ($200-$500 each time) and may require board replacement. Composite also does not splinter, warp, or rot, and most brands carry 25-year warranties. The main drawbacks are higher upfront cost, heat retention in direct sun, and a less natural appearance compared to real wood.