Calculate the Cost to Build a Deck

Simply enter the desired width and depth for your deck below. Your results will show you the estimated cost for materials, allow you to compare pricing based on your preferred species of wood or composite, and give you options to download our free design plans that you can use to build your own deck. Let’s get started!

This calculator will tell you:

  • Estimated Material Costs for your deck
  • Comparison Costs for building materials
  • Deck Plans that match your desired dimensions
  • Estimated Material Costs for your deck
  • Comparison Costs for building materials
  • Deck Plans that match your desired dimensions

Deck Width

Estimate the width of your deck using either the ledger length or total deck width
Deck Width:
Deck Width Diagram

Deck Depth

Deck Depth:
Deck Depth Diagram

Your Deck Cost Calculator Results


  • Placeholder
    Square Feet: {{ item.SquareFeet }}
    Width: {{ item.WidthInchesFootString }}
    Depth: {{ item.DepthInchesFootString }}
    Height: {{ item.HeightInchesFootString }}
    Material: Estimated Cost:
    {{ materialCost.MaterialType }} {{ materialCost.EstimatedCostString }}
Up Close Image Of Deck Boards Desktop

Take the Next Step: Explore Decking Samples

  • Color Palette Icon Desktop

    Find Your Perfect Match

    Have fun discovering what works best with your home.

  • Free Shipping Icon Desktop

    Free Shipping

    All Trex samples conveniently shipped for free.

  • Deck Board Icon Desktop

    Feel the Texture

    Choose from an extensive collection of colors and grain patterns and feel the difference.

Get Deck Board Samples
Deck Samples Image Desktop
Deck Plans Cta Background Image Desktop
List Of Deck Plans Displayed On Tablet And Phone Desktop
Deck Plans Icon Desktop

Explore More Deck Plans

Choose from hundreds of free downloadable deck plans based on the International Residential Code

Browse Deck Plans

How Much Does it Cost to Build a Deck?

The costs to build a deck can vary based on the type of material you use, as well as the square footage of the deck with those materials. For instance, pressure-treated pine is the least expensive option among your choices for natural wood decking, with a cost of approximately $3 to $6 per square foot. More exotic hardwoods – such as Redwood or Ipe can range between $7 to $15 per square foot. Composite decking, such as Trex, can cost between $5 to $13 per square foot, however, it requires less upkeep than most types of natural wood.

Decking MaterialLow-End Cost (per square foot)High-End Cost (per square foot)
Pressure-treated wood$3$6
Exotic hardwoods$7$15
Composite decking$5$13

Cost to Build a Deck by Size

Costs for materials for a deck range according to a number of factors, including:

  • Square footage of your deck plan
  • Height, width, and depth of your planned structure
  • How elaborate your design is (for example, is there enough room in the budget for a shed roof?)
  • The type of materials you plan to use and how much they cost within your particular region of the country

Whether you’re wondering how much does a 14x20 deck costs, or if you want a smaller deck, such as a 10x10 deck, below are the average costs of materials to build a deck, depending on the square footage and type of material you plan to use. Please keep in mind that this does not include labor cost to build a deck and only takes into consideration the cost of materials, without railing.

SizePressure-treated wood
Average cost
Exotic hardwoods
Average cost
Composite decking
Average cost

Please keep in mind that these costs can vary according to a number of the factors we’ve mentioned before, as well as whether you plan to use those materials to build the deck yourself, or if you prefer to hire a contractor.

Use Our Free Deck Design Software

Design the deck of your dreams with our new deck design software. Drop-in octagons, make a multi-level deck, add a staircase and or wrap around stairs, and get a plan to submit for permits. See your deck in 3D then get a plan and suggested material list for your project.

You will be designing in no time. Don’t be intimidated. This is a simple and fun experience designing a new deck.


  • Ad Zone: Calculator Feature Page
  • Instances Rendered: 3

Need professional help to build your deck?

Find the best deck builders near you and get a quote

By clicking FIND A BUILDER, you acknowledge that you have read Trex's Privacy Policy.