Home Calculators ConstructionDecking Calculator

Decking Calculator

Calculate decking boards, joists, posts, fasteners, and total material cost — with a live deck layout preview and full itemized bill of materials.

Add 10–15% waste factor for cuts  ·  Joist spacing: 12″, 16″ or 24″ o.c.

Deck Dimensions

Enter deck size, board specs, and spacing

Framing & Structure

Joist spacing, beam spans, and post layout

Material & Cost

Set prices and material type for full cost estimate

Summary

Total Material Cost
Total
Boards
Framing
Posts
Hardware
Deck Area
Deck Boards
Board Linear Ft
Joists
Posts

Cost Items

Decking boards
Framing
Posts
Hardware

Material

Guide Articles

Learn more about this calculator and how to use it

Decking Calculator: Calculate Materials, Cost & Board Count Instantly

Planning a new deck and not sure how many boards to buy? Enter your deck dimensions below and get an instant, accurate materials count  including a built-in waste factor so you never run short.

[CALCULATOR WIDGET GOES HERE  Inputs: Deck Length, Deck Width, Board Width, Board Length, Gap Size, Waste Factor | Outputs: Number of Boards, Total Sq Ft, Linear Feet] 

What Is a Decking Calculator?

A decking calculator is a digital tool that takes your deck’s measurements and automatically calculates how many decking boards you need to complete the project. Instead of doing the math by hand  and potentially buying too little or wasting money on excess materials  the calculator handles all the geometry in seconds.

At its core, a decking calculator answers the most common question homeowners face before starting a deck project: how much decking do I need? It factors in deck size, board dimensions, installation pattern, gap spacing between boards, and a waste allowance for cuts and errors.

According to the National Association of Home Builders (NAHB), decks are one of the most popular home improvement projects in the United States, with approximately 46 million decks being repaired or replaced every year as of 2023. Getting your material estimate right from the start saves time, money, and unnecessary trips to the lumber yard.

The Decking Formula: How Board Count Is Calculated

The standard formula for calculating decking boards: Number of Boards = Deck Area ÷ (Board Width + Gap) ÷ Board Length. Then multiply the result by your waste factor (typically 1.10 for a standard layout or 1.15 for a diagonal pattern).

Here is the full formula broken down:

       Deck Area (sq ft) = Deck Length (ft) × Deck Width (ft)

       Effective Board Width = Board Width (inches + Gap in inches) ÷ 12 (to convert to feet)

       Boards Per Row = Deck Width ÷ Effective Board Width

       Total Boards = Boards Per Row × (Deck Length ÷ Board Length)

       With Waste: Total Boards × 1.10 (standard) or × 1.15 (diagonal/complex)

Most standard deck boards are sold in 2×6 or 5/4×6 profiles, with an actual width of approximately 5.5 inches. A typical board gap of 1/8 inch is recommended for wood decking to allow for natural expansion and drainage.

Step-by-Step Calculation Example

Let’s say you are building a 12 ft × 16 ft deck using standard 5/4×6 pressure-treated boards that are 12 feet long, with a 1/8-inch gap between boards.

       Step 1  Deck Area: 12 ft × 16 ft = 192 square feet

       Step 2  Effective Board Width: (5.5 inches + 0.125 inches) ÷ 12 = 0.469 ft

       Step 3  Number of Rows: 16 ft ÷ 0.469 ft = approx. 34 rows

       Step 4  Total Boards: 34 rows × (12 ft ÷ 12 ft board length) = 34 boards

       Step 5  Add Waste (10%): 34 × 1.10 = 38 boards

So for a 12×16 deck with standard boards, you would need approximately 38 boards. This is exactly the kind of calculation our decking calculator handles instantly for any deck size.

How to Use This Decking Calculator

Using the decking calculator above is straightforward. You do not need any construction experience to get an accurate result. Simply fill in your deck’s measurements and the calculator does the rest.

Input Fields Explained

       Deck Length (ft): The longest dimension of your deck, measured in feet.

       Deck Width (ft): The shorter dimension, also in feet. For irregular shapes, calculate each rectangular section separately and add the board counts together.

       Board Width (inches): The actual width of your decking board, not the nominal width. A 2×6 board has an actual width of 5.5 inches; a composite board may vary between 5.4–6 inches.

       Board Length (ft): Standard lengths are 8 ft, 10 ft, 12 ft, and 16 ft. Choose the length closest to  or longer than  your deck’s longest dimension to minimize end joints.

       Gap Size (inches): The spacing between boards. 1/8 inch is standard for wood; 3/16 inch or per manufacturer spec for most composite decking brands.

       Waste Factor (%): Add 10% for a straight-pattern layout. Add 15% for diagonal or herringbone patterns. Add up to 20% for complex decks with multiple angles or cutouts.

 

How to Read and Interpret Your Results

After entering your measurements, the calculator returns three key numbers:

       Number of Boards: The total count of full-length boards to purchase, including your waste factor. Always round up to the nearest whole board.

       Total Square Footage: The actual surface area of your deck. This is useful when comparing decking product prices, which are often quoted per square foot.

       Linear Feet: The total running length of all boards combined. Some suppliers price composite decking by the linear foot rather than by the board.

 

Decking Material Types: What Changes the Calculation?

The type of decking material you choose affects more than just price  it changes the actual board dimensions you enter into the calculator. Here is what to know about the two most common options.

Pressure-Treated Wood Decking

Pressure-treated (PT) lumber is the most common and affordable decking material in the United States. Standard PT decking is sold as 5/4×6 boards (actual dimensions approximately 1 inch × 5.5 inches wide) or 2×6 boards.

PT wood naturally absorbs moisture and will expand and contract with seasonal changes. This is why a minimum 1/8-inch gap is recommended between boards. Over time, a properly gapped wood deck allows water to drain freely and reduces warping. As of 2024, pressure-treated lumber costs between and per linear foot depending on grade and region.

 

Composite Decking (Trex, TimberTech, Fiberon)

Composite decking boards sold by brands such as Trex, TimberTech, Fiberon, and Deckorators  have slightly different actual widths and require manufacturer-specific gap recommendations. For example, Trex recommends a 3/16-inch gap on boards installed in temperatures above 40°F.

Composite boards are typically sold in 12 ft, 16 ft, and 20 ft lengths. Because composite expands more than wood along its length, always follow the specific manufacturer’s installation guide when entering gap size into your calculation.

Composite decking costs significantly more upfront  typically to per linear foot for materials alone  but requires far less maintenance over its 25–30 year lifespan compared to wood.

Waste Factor: Why You Always Need Extra Decking

One of the most common  and costly  mistakes DIY deck builders make is forgetting to account for waste. Even a perfectly rectangular deck requires some boards to be cut to length, and every cut generates scrap. A diagonal layout can waste up to 15–20% of material.

Real-World Decking Examples by Deck Size

Here are pre-calculated estimates for the most commonly searched deck sizes, using standard 5/4×6 PT boards at 12-ft lengths with a 1/8-inch gap and 10% waste factor.

12×12 Deck: Materials Needed

A 12×12 deck has 144 square feet of surface area. With standard boards and a 10% waste factor, you need approximately 32 boards. At 2024 pricing, PT lumber for a 12×12 deck typically costs between 0 and 0 in materials, not including framing, hardware, or fasteners.

For a full cost breakdown including labor, see our dedicated Cost to Build a 12×12 Deck guide.

 

16×20 Deck: Materials Needed

A 16×20 deck covers 320 square feet more than double the surface area of a 12×12 deck. Expect to need approximately 70–75 boards with a 10% waste factor. Material costs for PT lumber run between 0 and ,600; composite decking for the same deck runs ,000 to ,500 in materials alone.

See our 16×20 Deck Cost Calculator for an itemized breakdown.

Common Decking Calculation Mistakes to Avoid

Even experienced builders make calculation errors that cost time and money. Here are the most common mistakes our decking calculator helps you avoid:

Using nominal board width instead of actual width: A ‘2×6’ board is not 6 inches wide. Its actual width is 5.5

       inches. Using 6 inches in your formula will leave you short by approximately 8% on boards.

       Forgetting the gap: Skipping the 1/8-inch gap in your calculation adds up across dozens of rows. On a 16-ft-wide deck with 34 rows, this error equals roughly 2.5 inches of unplanned overhang  or a board count that is off by one to two boards.

       No waste factor: Buying only what the raw calculation says guarantees a second trip to the lumber yard. Always add at least 10%.

       Choosing the wrong board length: Buying 8-ft boards for a 12-ft deck means every row has a joint. Buy boards at least as long as your deck’s longest dimension to minimize joints and improve structural appearance.

       Not accounting for fascia boards: Fascia boards wrap the perimeter of the deck and are not included in the surface board calculation. Add the perimeter linear footage separately.

Conclusion & Next Steps

Getting your decking material count right from the start saves money, reduces waste, and prevents costly mid-project delays. Use the decking calculator above to enter your exact measurements and get a board count in seconds   including a built-in waste factor that ensures you never come up short.

For your next steps, explore these related calculators to fully plan your deck project:

       Deck Cost Calculator  Estimate total project budget including labor

       Deck Railing Calculator Calculate posts, balusters, and linear railing footage

       Deck Joist & Framing Calculator  Plan your structural framing before you build

 

ADVERTISEMENT

Promote your business here.
Contact us for advertising.

SPONSORED

Promote your business here.
Contact us for advertising.

FEATURED

Promote your business here.
Contact us for advertising.

Frequently Asked Questions