About the Deck Cost Calculator
This tool estimates what it will cost to build a new deck from the ground up, or what kind of return you can expect on that investment when you eventually sell your home. The calculator covers the two questions homeowners ask most: what will this cost me now? and will it add more value than it costs? Both answers depend heavily on material choice, and the difference between a pressure-treated wood deck and a composite deck spans thousands of dollars in upfront cost and tens of thousands over a 20-year lifespan.
Decking materials: real costs over 20 years
Pressure-treated wood
Pressure-treated (PT) pine or fir is the dominant choice for decks in the United States, and the reason is simple: it is the cheapest installed option at roughly $15–$25 per square foot. The lumber is chemically impregnated to resist rot and insects, so it holds up in contact with the ground and in wet climates. The low upfront cost is real, but it comes with an ongoing time cost. PT wood checks and splinters as it dries out, it grays if left unfinished, and it needs to be cleaned, sanded, stained, or sealed every two to three years to maintain both appearance and structural longevity. A gallon of quality deck stain runs $30–$60 and covers about 150 square feet per coat; a 200-sqft deck needs two gallons and four to six hours of prep and application time, every few years. Over 20 years those maintenance costs add up to $1,500–$3,000 in materials alone, not counting the weekend labor. Still, for homeowners on a tight budget, PT wood remains the most practical starting point.
Cedar and redwood
Cedar and redwood cost more than PT at $20–$35 per square foot installed, but they resist rot and insects naturally through their own oils and chemical structure — without the copper-based treatments in PT lumber. Cedar weathers to an attractive silvery gray if left unfinished, or can be stained to maintain a warm reddish-brown tone. Maintenance is similar to PT wood in frequency, but somewhat less intensive because the wood is dimensionally more stable and less prone to checking. Western red cedar is the most widely available species; redwood is predominately grown in California and commands a slight premium in other regions. Both have a natural lifespan in the 20–25 year range with reasonable maintenance.
Composite decking: Trex, TimberTech, and Fiberon
Composite decking was introduced in the 1990s and has taken a steadily growing share of the market. The core product — a blend of wood fiber and recycled plastics — resists moisture, insects, UV fading, and staining better than any natural wood, and it requires no staining or sealing. Washing twice a year with soap and water is the full maintenance protocol for most brands. The upfront cost of $25–$45 per square foot installed is significantly higher than PT wood, but the 20-year total cost of ownership often comes close because maintenance costs are near zero.
The three dominant brands differ in meaningful ways. Trex (the original composite brand and market leader) offers a capped composite line with a 25-year fade and stain warranty. TimberTech is known for more realistic wood-grain textures and offers both composite and full-PVC lines. Fiberon positions as a mid-market option and has competitive pricing. All three sell through big-box stores and specialty lumber yards. When comparing quotes, make sure the contractor is quoting the same product tier — Trex Transcend is a premium line that costs more than Trex Enhance.
PVC decking
Full PVC (polyvinyl chloride) decking contains no wood fiber at all and is the most moisture-resistant option available. It will not rot, swell, or support mold growth, making it an ideal choice for pool surrounds and coastal locations. Installed cost runs $30–$50 per square foot. PVC can feel slightly hollow or plasticky underfoot compared to wood or composite, and it expands and contracts more with temperature, requiring careful installation with appropriate gaps.
Ipe and tropical hardwoods
Ipe (pronounced "ee-pay") is a Brazilian hardwood so dense that it is naturally fire-resistant and will sink in water. It has a Class A fire rating without any treatment, a Janka hardness of 3,680 (more than three times that of red oak), and a lifespan of 40–75 years. The installed cost of $35–$60 per square foot is the highest in the category, and the wood requires annual oiling with a penetrating hardwood oil to prevent drying and graying. Installation requires pre-drilling for every fastener — driving screws directly will split the boards. For buyers who want the most durable and prestigious-looking deck money can buy, ipe delivers; for buyers who want low maintenance, composite is a better fit.
Aluminum decking
Aluminum decking is a niche but genuinely excellent product at $30–$55 per square foot installed. It never rots, fades, or burns, and it is by far the lightest structural decking option. The primary use case is rooftop decks, elevated structures, and situations where minimizing structural load matters. It is also the only common decking material that is fully waterproof beneath the deck surface, making it useful when the underside of an elevated deck needs to stay dry. Appearance is more industrial than wood; most aluminum decking is powder-coated and available in a range of colors.
The true cost of ownership comparison
Over 20 years, a 200-sqft PT wood deck and a 200-sqft composite deck often cost similar total amounts. Consider: PT wood at $20/sqft installed costs $4,000 upfront plus roughly $200–$400 every three years in stain and supplies — about $1,400–$2,800 over 20 years — plus likely a partial rebuild of the decking boards (not the framing) at 12–15 years for another $1,500–$2,000. Total 20-year cost: $7,000–$9,000. A composite deck at $35/sqft costs $7,000 upfront plus perhaps $100/year in cleaning supplies — $2,000 over 20 years — and no rebuild. Total 20-year cost: $9,000. The gap is smaller than it appears from the upfront price tags, and that calculation does not include the time cost of maintenance that many homeowners value highly.
Deck design considerations
The most important design decision is size relative to the home. A common rule of thumb is that the deck should not exceed 20% of the home's total square footage. A large deck on a small house looks out of proportion and may actually detract from resale value. For a 1,800 sqft house, 300–360 sqft is a reasonable upper limit. The 16×12 (192 sqft) default in this calculator is the most common residential deck size for good reason: it fits a standard outdoor dining set and a small seating area without overwhelming the yard.
Attached decks (those fastened to the house ledger board) are structurally simpler and less expensive than freestanding decks for most applications because they share the house's foundation for one side. Freestanding decks require footings on all four sides and additional perimeter framing, adding 15–25% to the cost. Multi-level decks are visually impressive but expensive — each level transition requires additional framing, stairs, and often railings. Wraparound decks follow the perimeter of the house — often completed with a perimeter fence for a fully enclosed outdoor space — and can add dramatic curb appeal, but the linear footage involved drives costs quickly into the $30,000–$60,000 range for larger homes.
Permit requirements and safety
Most jurisdictions require a building permit for any deck more than 30 inches above grade, any deck attached to a house, or any deck exceeding a certain square footage (commonly 200 sqft). Permits typically cost $200–$500 and require submission of a simple plan or diagram. The permit process is not purely administrative: a structural inspection catches installation errors before they become dangerous. Deck collapses kill and injure people every year, and the majority involve unpermitted construction or ledger connections that were not properly flashed and fastened.
The ledger board — the horizontal board that connects the deck frame to the house — is the single most critical structural element and the most common failure point. Proper ledger attachment requires lag screws or through-bolts into structural lumber (not siding), a continuous flashing membrane behind and above the ledger to direct water away from the house, and adequate spacing between the ledger and the house face for drainage. Skipping the flashing is extremely common in DIY and even contractor-built decks, and it causes slow rot in the house's rim joist that can compromise structural integrity and reduce your home's wall insulation performance within 5–10 years.
Footings and structural requirements
Deck footings must extend below the frost line in cold climates — this ranges from 12 inches in the deep South to 48 inches or more in northern states and Canada. Footings that sit above the frost line can heave when the ground freezes and thaws, causing the deck to rack and crack. Standard residential footings are concrete tube forms (Sonotube) poured in place; diameter typically 12–16 inches for a residential deck post. Helical piers (steel screw piles driven mechanically into the ground) are faster to install and avoid the need for excavation, but add $300–$500 per pier compared to poured concrete. For ground-level decks on stable, non-frost-prone soil, surface-mounted post bases anchored to concrete pads are sometimes acceptable under local code — always verify.
Joist spacing and structural requirements
Standard deck joist spacing is 16 inches on center for most decking materials, including most pressure-treated lumber, cedar, and composite. Some composite brands and nearly all ipe and tropical hardwoods require 12-inch joist spacing because of the material's stiffness or the brand's warranty requirements. Closer joist spacing increases framing lumber costs by roughly 25%. Beam spans, post sizes, and joist sizes are all dictated by span tables in the building code; your permit inspector will check these. A common shortcut — using smaller lumber than code requires — leads to bounciness and long-term deflection even if the deck holds structurally.
DIY vs. contractor
A capable DIYer can build a ground-level, freestanding deck with standard PT lumber and save $3,000–$8,000 in labor on a typical project. The savings are real, but so are the risks. The ledger connection to the house requires a good understanding of flashing techniques and structural fastening — mistakes here cause the most serious deck failures. Elevated decks with complex framing, electrical for lighting, or attachment to complex house geometry are best left to licensed contractors. The sweet spot for DIY is a simple, ground-level or low-elevated deck with straightforward framing and no electrical work. If you are unsure about any structural element, pay a contractor for a consultation or inspection even if you do the rest yourself.
When hiring a deck contractor, get at least three quotes. Ask each contractor specifically how they plan to attach the ledger board to the house, what flashing system they use, whether they pull permits, and whether they carry general liability and workers' compensation insurance. A contractor who hesitates to answer the ledger question or says they do not pull permits is a red flag. The difference between a $12,000 and an $18,000 quote often comes down to framing lumber grade, decking brand, and footing method — get itemized quotes so you can compare apples to apples.
Deck maintenance by material
Pressure-treated wood should be allowed to dry out for 60–90 days after installation before applying a stain or sealer — applying too soon traps moisture and causes the product to peel. After that initial cure, clean with a deck cleaner, let dry, and apply a penetrating stain or sealer every 2–3 years. Look for products labeled for use on pressure-treated lumber. Cedar and redwood can be finished with the same products; they take stain more evenly than PT because of their finer grain. Composite decking requires only rinsing with a garden hose or washing with mild soap and water; avoid pressure washing at close range, which can damage the protective cap layer. Ipe requires annual application of a penetrating teak or ipe oil; skip it and the wood will gray, though the underlying wood remains structurally sound. Aluminum requires only periodic cleaning with soap and water.
HOA considerations
If your home is in a homeowners association, your deck design may be subject to HOA architectural review before you begin construction. Common HOA restrictions include maximum deck height, required decking color or material type (some HOAs prohibit composite decking of certain colors), maximum square footage, setback requirements from property lines, and restrictions on pergolas and shade structures. HOA approval is separate from a municipal building permit — you typically need both. Submit your HOA application before pulling a permit, since HOAs sometimes require modifications that would require a new permit submittal.
Deck lighting and electrical
Adding electrical lighting to a deck requires a permit in virtually every jurisdiction — both for the electrical work and often for the structural elements that support conduit. Low-voltage LED deck lighting (post cap lights, step lights, under-railing strips) is the most popular choice because it can be installed by a homeowner, does not require an electrician, and runs on a 12V transformer plugged into a standard outlet. A basic low-voltage system with post cap lights and step lights runs $200–$500 in materials and can be installed in a few hours. Line-voltage (120V) lighting, ceiling fans, and outdoor outlets require a licensed electrician and typically add $500–$2,000 depending on the existing panel capacity and the distance from the panel.
Decks and resale value
The 2024 Remodeling Magazine Cost vs. Value Report — the most widely cited source on home improvement ROI — shows a wood deck addition recouping approximately 61.7% of its cost at resale (recouping about $10,355 on a $16,766 project on average). A composite deck addition recouped approximately 49.7% ($11,372 on a $22,893 project). These national averages vary by region; the Northeast and West Coast generally see higher returns on outdoor living improvements than the Midwest and South. The ROI figures are averages across a range of home values and neighborhoods — a premium deck on an entry-level home may not recoup as well as the same deck on a move-up home where buyers expect higher-end outdoor spaces.
Beyond the direct dollar recoupment, a well-built deck — like interior upgrades such as new carpet and flooring — increases buyer appeal, can accelerate the time to sale, and expands the home's effective living square footage — particularly valuable in climates where outdoor living is possible for most of the year. In competitive markets, a new deck may be the deciding factor for buyers choosing between otherwise similar properties. Homeowners planning a full outdoor entertainment space often combine a deck with an in-ground pool; use the pool cost calculator to estimate installation and annual operating costs before committing to both projects.
Reference tables
Decking material comparison
| Material | Installed cost/sqft | Lifespan | Maintenance | 20-yr total cost (200 sqft) |
|---|---|---|---|---|
| Pressure-treated wood | $15–$25 | 15–25 yrs | Stain/seal every 2–3 yrs | $6,500–$10,000 |
| Cedar / redwood | $20–$35 | 20–25 yrs | Stain/seal every 2–3 yrs | $7,500–$12,000 |
| Composite (Trex, Fiberon) | $25–$45 | 25–50 yrs | Wash twice/year | $7,000–$11,000 |
| PVC decking | $30–$50 | 30–50 yrs | Wash occasionally | $7,200–$12,000 |
| Ipe / tropical hardwood | $35–$60 | 40–75 yrs | Oil annually | $9,000–$14,000 |
| Aluminum decking | $30–$55 | 40+ yrs | Wash occasionally | $7,000–$13,000 |
Deck size vs. estimated cost
| Deck size | Sqft | Est. cost — PT wood | Est. cost — Composite |
|---|---|---|---|
| 10 × 10 ft (small) | 100 sqft | $2,000–$3,500 | $3,500–$6,000 |
| 12 × 12 ft | 144 sqft | $2,900–$4,600 | $4,600–$8,000 |
| 16 × 12 ft (typical) | 192 sqft | $3,200–$5,200 | $5,500–$10,000 |
| 20 × 16 ft (large) | 320 sqft | $5,200–$8,500 | $9,000–$16,000 |
| 24 × 20 ft (XL) | 480 sqft | $7,500–$13,000 | $13,000–$23,000 |
| 30 × 20 ft (premium) | 600 sqft | $9,500–$16,500 | $17,000–$30,000 |
Add-on features
| Add-on feature | Typical cost | Value add | Notes |
|---|---|---|---|
| Railing (aluminum, wood, or cable) | $40–$75/linear ft | Required for safety + required by code above 30" | Cable railing preserves views; costs $80–$120/lf |
| Stairs (per step, installed) | $50–$200/step | Required for access; increases usability | Concrete pad at bottom adds $200–$400 |
| Built-in bench seating | $200–$600/8 ft section | Reduces need for outdoor furniture | PT or composite; matches deck material |
| Pergola / shade structure | $2,500–$8,000 | High — creates year-round use zone | Wood or aluminum; HOA approval often needed |
| Low-voltage deck lighting | $200–$500 | Moderate — extends evening use | DIY-friendly; no electrician needed for 12V |
| Built-in planter boxes | $100–$300 each | Aesthetic; curb appeal | Add drainage holes; use cedar or composite |
| Outdoor kitchen rough-in | $1,500–$5,000 | High in warm climates | Requires gas/electric permit; plan before framing |
| Privacy screen / lattice | $500–$2,500 | Moderate — neighborhood dependent | Affects HOA and permit in some areas |