Deck Calculator

Calculate decking boards, joists, support posts, and screws for your deck project. Enter dimensions and board width for a complete material list.

Deck Dimensions

Direction boards run

Board & Joist Options

🪑

Enter your deck dimensions

Results will appear here instantly

Complete Guide to Deck Building: Materials, Costs, and Planning

Building a deck is one of the best investments you can make in your home. According to the National Association of Realtors, a new deck can recoup 60% to 80% of its cost in added home value, while providing years of outdoor living enjoyment. However, planning a deck involves more decisions than most homeowners realize: material selection, structural design, permit requirements, foundation type, and maintenance commitments all affect the final cost and longevity of your project. This comprehensive guide covers the five main decking material types, their cost per square foot, structural requirements, joist and beam spacing, footing calculations, permit considerations, and long-term maintenance needs so you can plan your project from start to finish.

Decking Materials Compared

The decking material you choose determines the look, feel, maintenance burden, and total cost of your deck. Each material has distinct advantages and trade-offs. The table below compares the five most popular decking materials across cost, durability, maintenance, and lifespan.

MaterialCost/ft²Installed Cost/ft²LifespanMaintenance
Pressure-Treated Pine$2 - $5$15 - $2515 - 25 yearsAnnual stain/seal
Cedar$4 - $8$20 - $3515 - 20 yearsAnnual stain/seal
Redwood$6 - $12$25 - $4015 - 25 yearsAnnual stain/seal
Composite$6 - $14$25 - $4525 - 50 yearsOccasional wash
PVC (cellular)$8 - $16$30 - $5030 - 50 yearsMinimal wash

Decking Material Deep Dive

Each decking material has specific characteristics that make it suitable for different climates, budgets, and use cases. Understanding the strengths and weaknesses of each option helps you make the right choice for your specific situation.

Pressure-Treated Lumber

Pressure-treated (PT) pine is the most affordable and widely available decking material. Southern yellow pine is infused with chemical preservatives under high pressure to resist rot, insects, and fungal decay. PT lumber is the standard choice for structural components (posts, beams, joists, ledger boards) regardless of what surface material you use. As decking boards, PT lumber must be stained or sealed annually to prevent graying, splitting, and warping. New PT lumber should dry for 2-4 weeks before staining. Common sizes are 2x6 (5.5 inches actual width) and 5/4x6 (1 inch thick by 5.5 inches wide). Use our lumber calculator to estimate lumber for the structural frame.

Cedar and Redwood

Cedar and redwood are naturally rot-resistant softwoods prized for their rich color and aromatic scent. They do not require chemical treatment to resist decay, making them a popular choice for environmentally conscious homeowners. Cedar is more widely available and affordable, while redwood offers superior density and a deeper color but is primarily available on the West Coast. Both species are softer than pressure-treated pine, so they dent and scratch more easily. Without regular staining, both woods weather to a silver-gray color within 1-2 years. Annual application of a penetrating stain with UV blockers preserves their natural color.

Composite Decking

Composite decking is made from a blend of recycled wood fibers and plastic polymers, typically polyethylene or polypropylene. Modern capped composite boards have a protective polymer shell that resists fading, staining, scratching, and mold growth. Major brands include Trex, TimberTech, Fiberon, and Deckorators. Composite decking comes in a wide range of colors and wood-grain textures that closely mimic natural hardwood. It never needs staining, sealing, or painting. The main drawbacks are higher upfront cost, the potential for heat retention in direct sunlight, and a less natural feel underfoot. Most composite boards are 5.5 inches wide and come in 12, 16, and 20-foot lengths.

PVC Decking

PVC (polyvinyl chloride) decking, also called cellular PVC, contains no wood fibers. It is 100% synthetic, making it completely waterproof and impervious to rot, insects, and mold. PVC decking is lighter than composite, does not absorb moisture, and will not swell, warp, or cup. Brands like AZEK and Wolf PVC are the most recognized. PVC decking has the highest upfront cost but the lowest lifetime maintenance cost. It is ideal for waterfront properties, pool decks, and high-moisture environments. The material can feel more slippery than wood when wet, so check the slip resistance rating before purchasing.

Deck Board Dimensions and Sizing

Deck boards are available in several widths and thicknesses. The most common width is the nominal 2x6 (actual 1.5 inches by 5.5 inches) for wood decking. Composite and PVC boards are typically the same 5.5-inch width but only 1 inch thick (referred to as 5/4 profile). Understanding these dimensions is important for calculating the number of boards needed and ensuring compatibility with your joist spacing.

Nominal SizeActual SizeStandard LengthsMax Joist SpacingTypical Use
2x41.5" x 3.5"8, 10, 12 ft16" OCNarrow-plank look, rails
2x61.5" x 5.5"8, 10, 12, 16 ft24" OCMost common deck board
5/4 x 6 (composite/PVC)1" x 5.5"12, 16, 20 ft16" OC (12" diagonal)Composite and PVC decking
2x8 (joists)1.5" x 7.25"8, 10, 12, 16 ftN/A (joist)Joists spanning up to 10 ft
2x10 (joists/beams)1.5" x 9.25"8, 10, 12, 16 ftN/A (joist)Joists spanning up to 14 ft, beams

Deck Cost Estimates by Size

The total cost of a deck project includes materials (decking, framing lumber, fasteners, railings), footings, and labor if you hire a contractor. Below are realistic total project costs for common deck sizes, including structural framing, footings, and railings. These estimates assume professional installation in a standard market.

Deck SizeArea (ft²)Pressure-TreatedCedarCompositePVC
10 x 10100$1,500 - $2,500$2,000 - $3,500$2,500 - $4,500$3,000 - $5,000
12 x 16192$2,900 - $4,800$3,800 - $6,700$4,800 - $8,600$5,800 - $9,600
14 x 20280$4,200 - $7,000$5,600 - $9,800$7,000 - $12,600$8,400 - $14,000
16 x 24384$5,800 - $9,600$7,700 - $13,400$9,600 - $17,300$11,500 - $19,200
20 x 20 (multi-level)400$7,000 - $12,000$9,000 - $16,000$12,000 - $22,000$14,000 - $25,000

Joist Spacing and Structural Requirements

The structural frame of your deck consists of footings, posts, beams, joists, and a ledger board (if attached to the house). Getting the spacing and sizing right is critical for safety and code compliance. Using undersized framing or excessive spans can result in a bouncy, unsafe deck that fails inspection.

Joist Sizing and Span

Joist size determines how far the joist can span between supports (beams or ledger). A 2x6 joist can span up to 8 feet at 16 inches on center. A 2x8 joist can span up to 10 feet at 16 inches on center. A 2x10 can span up to 14 feet at 16 inches on center. These are general guidelines for standard residential loads of 40 psf live load and 10 psf dead load. Always check your local building code, as requirements vary by jurisdiction and may be more restrictive.

Beam and Post Requirements

Beams support the joists and transfer the load to the posts. Most residential decks use doubled 2x8, 2x10, or 2x12 beams, depending on the span between posts. A doubled 2x8 beam can span up to 6 feet between posts, while a doubled 2x10 can span up to 8 feet. Posts should be 4x4 minimum for decks under 6 feet tall, and 6x6 for taller decks or decks supporting heavy loads. Posts must be plumb and connected to the beam and footing with approved hardware, never notched more than 50% of their depth.

Footings and Foundations

Every deck post must rest on a concrete footing that extends below the local frost line to prevent heaving. Frost line depths range from 12 inches in southern states to 48 inches or deeper in northern climates. The footing must be at least 12 inches in diameter for posts supporting up to 4,000 pounds. Common footing methods include poured concrete in a cardboard tube form (Sonotube), precast concrete deck blocks, or helical piles. Use our concrete calculator to estimate the concrete needed for your footings.

Permits and Building Codes

Building a deck without the required permits is one of the most costly mistakes a homeowner can make. Unpermitted decks can result in fines, forced demolition, insurance claim denials, and complications when selling your home. Understanding your local permit requirements before you start saves headaches and money down the road.

When a Permit Is Required

Most jurisdictions require a building permit for any deck that is attached to the house, more than 30 inches above grade at any point, or larger than 200 square feet. Some areas require permits for any deck regardless of size or height. The permit process typically involves submitting a site plan and structural drawings, paying a fee ($100 to $500 in most areas), and scheduling inspections during construction (typically at the footing stage and after completion). The permit fee is a small fraction of the total project cost and provides legal protection.

Common Code Requirements

Most residential building codes based on the International Residential Code (IRC) require: railings on any deck surface more than 30 inches above grade, with balusters spaced no more than 4 inches apart and a rail height of at least 36 inches (42 inches in some areas). Stairs must be at least 36 inches wide with a maximum riser height of 7.75 inches and a minimum tread depth of 10 inches. Ledger boards attached to the house must use lag screws or through-bolts, never nails, and proper flashing must prevent water intrusion at the house connection.

Setback and Property Line Rules

Decks must comply with local zoning setback requirements, which dictate the minimum distance from property lines, easements, and other structures. Typical setbacks are 5 to 15 feet from side property lines and 10 to 25 feet from rear property lines, but these vary significantly by municipality. A deck that encroaches on setbacks can be ordered to be torn down, even after it is built. Check your property survey and local zoning ordinances before finalizing your deck placement.

Deck Maintenance: Wood vs. Composite Costs Over Time

The initial purchase price of decking materials tells only part of the cost story. Wood decks require annual maintenance that adds up significantly over the life of the deck. Composite and PVC decks have higher upfront costs but dramatically lower ongoing expenses. The table below compares the true 20-year cost of ownership for a typical 300 square foot deck.

ExpensePressure-TreatedCedarCompositePVC
Initial materials$600 - $1,500$1,200 - $2,400$1,800 - $4,200$2,400 - $4,800
Annual stain/seal (20 yrs)$3,000 - $5,000$3,500 - $6,000$0$0
Board replacements$200 - $500$300 - $600$0 - $100$0
Power washing (yearly)$2,000 - $3,000$2,000 - $3,000$1,000 - $2,000$1,000 - $2,000
20-Year Total$5,800 - $10,000$7,000 - $12,000$2,800 - $6,300$3,400 - $6,800

Common Deck Building Mistakes to Avoid

Deck construction mistakes can be expensive to fix and potentially dangerous. Understanding the most common errors helps you avoid them whether you are building yourself or supervising a contractor.

Improper Ledger Board Attachment

The ledger board connects the deck to the house and bears approximately half the deck's total load. Using nails instead of lag screws or through-bolts is the leading cause of deck collapses in the United States. The ledger must be attached to the house's rim joist or band board with 1/2-inch lag screws or through-bolts in a staggered pattern. Proper flashing above the ledger is equally critical to prevent water from entering the house and causing rot behind the ledger.

Footings Above the Frost Line

Footings that do not extend below the frost line will heave upward when the ground freezes, lifting the deck unevenly and potentially pulling it away from the house. In cold climates, this can cause significant structural damage within the first winter. Check your local frost line depth with the building department and dig footings at least 6 inches deeper than the frost line for safety.

Insufficient Ventilation Under the Deck

Deck boards need airflow on all sides to dry properly and prevent rot and mold growth. Decks built too close to the ground (less than 18-24 inches of clearance) trap moisture underneath, accelerating the decay of both the decking and the structural framing. If your deck is low to the ground, use ground-contact rated lumber for all framing and ensure the ground underneath slopes away from the house for drainage. Consider laying landscape fabric and gravel underneath to suppress weeds and improve drainage.

Not Allowing for Board Expansion

All decking materials expand and contract with temperature and moisture changes. Wood expands when wet and contracts when dry. Composite and PVC expand significantly with heat and contract in cold. Failing to leave adequate gaps between boards (typically 1/8 to 1/4 inch) results in buckling, cupping, and pushing boards off their fasteners. Follow the manufacturer's recommended gap spacing for your specific product and the expected temperature range at installation.

Planning Your Deck Project

A successful deck project starts with careful planning. Begin by determining your budget, desired size, and material preference. Then check with your local building department about permit requirements, setbacks, and code specifications. Create a detailed material list using the calculator above, and add 10% extra for waste from cuts. If your deck includes stairs, calculate the number of risers and treads based on the height change and code requirements. For complex or elevated designs, consider hiring a structural engineer to review your plans.

Remember that a deck is a system of interconnected components. The surface boards are only part of the project. You will also need framing lumber for joists and beams (estimate with our lumber calculator), concrete for footings (use our concrete calculator), and potentially a stair calculator for any steps. If you are adding a railing or perimeter fence, our fence calculator can help estimate posts and rail materials. Plan all material quantities at once to minimize waste and coordinate deliveries.

Deck Building Statistics 2026

4M+

new decks built or replaced annually in the U.S. — decking is the second most popular outdoor home improvement project after landscaping (NAHB, 2025)

65–75%

average ROI on a new wood deck addition at resale — composite decks return 60-70% but have lower lifetime maintenance costs (Remodeling Magazine, 2025)

$15,000

average cost of a professionally built 16x20 ft deck with railing — DIY builders save 40-60% by doing the labor themselves (HomeAdvisor, 2025)

A well-built deck adds an average of $10,000 to $20,000 in home value and is consistently ranked among the top 5 home improvement projects for return on investment by the National Association of Realtors. Composite decking now accounts for over 40% of the residential decking market (up from 22% in 2015), driven by its 25-50 year lifespan and zero-staining maintenance profile (Freedonia Group, 2025). Accurate material estimation is critical because decking boards, fasteners, and structural lumber represent 60-70% of total project cost. For complementary estimates, use our concrete calculator for post footings, our fence calculator for railing materials, or our stair calculator for deck stairs. To budget your deck project financing, visit Amortio for home improvement loan calculators.

Frequently Asked Questions

Related Calculators