Construction calculator

Free decking calculator

Tell the decking calculator your deck size, board width and gap, and it counts the rows of boards across the deck, the linear feet of decking, how many full-length boards to buy and the hidden fasteners to go with them — updated live, as you type.

InputsLive
Board
Units
Deck length
ft
Deck width
ft
Board length
Waste factorrecommended 10%
%
How the result is calculated
Boards run along the deck length, so the calculator counts how many rows it takes to cross the width:rows = ceil(deck width in inches ÷ (board width + gap))
  • board width + gap — the effective width each board occupies (5.5 + 0.125 = 5.625 in for composite)
  • linear feet — rows × deck length
  • boards — linear feet × (1 + waste), divided by board length, rounded up
Hidden fasteners are estimated at about 1.8 clips per square foot of deck.
Check our examples
20 ft × 12 ft → composite deck16 ft × 12 ft → small deck24 ft × 20 ft → large deck
Result
Deck boards needed
36 boards
That's 572 linear ft of Composite 5.5″ (16 ft boards) for a 20 ft × 12 ft deck, with a 10% waste margin.
Deck area240 ft²
Rows across26
Linear ft (no waste)520 ft
Hidden fasteners432
Estimated material cost
ItemQuantityEst. cost
Deck boards36 × 16 ft$1,440
Hidden fasteners432 clips$238

Prices are regional estimates: composite board ≈ $40/16 ft, hidden clips ≈ $0.55 each. Wood decking and screws cost less; confirm pricing and board dimensions with your supplier.

Board dimensions, gaps and prices vary by product. How accurate is this?

Results are estimates. Consult a professional.

How it's calculated

How the decking calculator works

Deck boards are sold one board at a time, but a deck is a surface — so the job is to work out how many boards it takes to cover that surface once you allow for the gap between every board. The calculator runs the boards along the length of the deck, then counts how many rows it takes to march across the width. Each row eats up its own face width plus the gap you leave for drainage and expansion. From the rows it gets the total linear feet of decking, adds a waste margin, and divides by the length of the boards you are buying to tell you how many to put in the cart.

rows across = ceil( deck width(in) ÷ (board width(in) + gap(in)) )
linear feet = rows × deck length(ft)
boards to buy = ceil( linear feet × (1 + waste) ÷ board length(ft) )
Board geometry follows the Decks.com decking calculator method (deck width ÷ effective board width). Fastener counts use the hidden-clip rule of thumb of ~90 clips per 50 ft² (≈ 1.8 per ft²).Composite board dimensions are Trex published specs: a 5.5 in finished face width in 12, 16 and 20 ft lengths, installed with a 1/8 in end gap above 40°F (and a 3/16 in side-to-side gap), per the Trex decking installation guidance.

What the result tells you

Two numbers carry the order. The board count is how many full-length boards you buy and carry home. The linear-feet figure is the same deck expressed as a running total — useful when a supplier prices by the foot or when you are mixing board lengths to cut down on seams. The calculator also estimates hidden fasteners, because on a composite deck the clips are a real line on the receipt, not an afterthought.

Component breakdown

What goes into your decking estimate

A decking estimate is built from a handful of measurements and one habit of thumb. Get the board width and gap right and the row count is right; get the row count right and everything downstream — linear feet, boards, fasteners — falls into place.

Deck length and width — the surface

Length times width is the floor area, but the two are not interchangeable here. Length is the direction the boards run, so it sets how long each row is. Width is the direction the rows stack, so it sets how many rows you need. Swapping them changes how many board ends you cut and how much you waste, even though the area is identical.

Board width and gap — the effective width

The number that drives the row count is not the board's face width on its own, but the face width plus the gap. A 5.5-inch composite board with a 1/8-inch gap effectively occupies 5.625 inches of deck. Always use the actual face width, not the nominal name: a "2×6" measures 5.5 inches, and a 5/4×6 composite is 5.5 inches too — the names round up, the boards do not.

Board length — how you buy them

Decking comes in fixed lengths, commonly 12, 16 and 20 feet. Picking a length that divides cleanly into your deck's run leaves less off-cut at the end of each row. A 20-foot deck run filled with 16-foot boards leaves a 4-foot gap every row that has to be pieced — which is exactly the off-cut your waste factor is there to absorb.

Waste factor — the safety margin

Boards split, ends get trimmed square, and the leftover at the end of one row is rarely long enough to start the next. A 10% margin covers a straight, parallel layout. The calculator adds 10% by default and lets you raise it for diagonal or picture-frame patterns, which cut far more.

Use the actual face width, not the nominal name
The single most common decking mistake is typing 6 inches for a "2×6" board. The real face is 5.5 inches, so the deck needs more rows than the name implies. Measure a board or check the spec sheet before you order.
Example

A worked example using the decking calculator

Example: a 20 ft × 12 ft composite deck

Maria is building a 20 ft × 12 ft deck with 5.5-inch composite boards, a 1/8-inch gap, and 16-foot boards running the 20-foot length. She wants the board count, the linear feet, and a 10% waste margin.

Step 1 — Count the rows across the width

Effective board width = 5.5 + 0.125 = 5.625 in. The deck is 12 ft = 144 in wide, so 144 ÷ 5.625 = 25.6, rounded up to 26 rows.

Step 2 — Find the linear feet of decking

Each row spans the 20-foot length, so 26 × 20 = 520 linear feet of decking before any waste.

Step 3 — Add the waste margin

With 10% added, 520 × 1.10 = 572 linear feet to buy.

Step 4 — Convert to whole boards

At 16 feet per board, 572 ÷ 16 = 35.75, rounded up to 36 boards. The area cross-check (240 ft² ÷ 7.5 ft² per board, plus waste) lands on the same 36, and the deck needs about 432 hidden clips at 1.8 per ft².

36 boards — about 432 hidden clips
Thirty-six 16-foot boards cover the 240 ft² deck with the off-cuts the waste factor pays for. If Maria switched to 20-foot boards she would buy fewer, longer boards and leave no end-seam in a 20-foot run — at a higher per-board price.
Quick reference

How many deck boards do I need?

For a ballpark before you measure, this table gives the linear feet and 16-foot board count for common deck sizes, using 5.5-inch boards with a 1/8-inch gap and a 10% waste margin. Boards run along the longer (length) dimension.

Deck size (L × W)Area (ft²)RowsLinear ft (+10%)16 ft boards
10 ft × 10 ft1002224216
12 ft × 12 ft1442634322
16 ft × 12 ft1922645829
20 ft × 12 ft2402657236
20 ft × 16 ft3203577049
24 ft × 20 ft480431,13571

Assumes 5.5 in boards, 1/8 in gap, boards run the length, 10% waste. Rows = ceil(width in inches ÷ 5.625). Diagonal or picture-frame layouts need more — raise the waste factor.

When to use

When to use this decking calculator

Reach for it whenever a deck surface turns on how many boards to buy — which is every build, because decking is one of the priciest line items and both over- and under-ordering hurt.

  • Building a new deck — to size the decking order from your framed footprint.
  • Resurfacing an old deck — reusing the joists but replacing the boards on top.
  • Comparing board lengths — to see whether 12, 16 or 20 ft boards leave the least off-cut for your run.
  • Pricing composite vs. wood — same board count, sharply different per-board cost, plus the hidden-clip line for composite.
Board types

Common deck board sizes and gaps

The row math is the same for every board, but the face width and recommended gap change with the material. Use the actual face width — the nominal name always rounds up.

BoardActual face widthTypical gapNote
Composite (Trex etc.)5.5 in1/8–1/4 inHidden clips set a consistent gap; 1/8 in above 40°F
5/4×6 wood (radius-edge)5.5 in1/8 inThe classic pressure-treated decking board
2×6 lumber5.5 in1/8 inThicker; used for docks and heavier spans
5/4×4 / 2×43.5 in1/8 inNarrow boards — more rows, more fasteners per ft²

Face widths follow standard lumber dressing and Trex published dimensions. Composite gap and end-gap recommendations follow Trex installation guidance (1/8 in above 40°F, wider below).

Composite is dimensionally stable and installs with hidden fasteners that hold the gap for you; wood needs you to set the gap by eye or with a spacer, and saturated treated lumber is laid tight because it shrinks as it dries.

True cost

Waste factor: how many extra boards to order

Order exactly the calculated linear feet and you will come up short. The leftover at the end of one row rarely starts the next, ends get trimmed square, and the occasional board is cracked or bowed enough to set aside. A modest overage covers all of it.

10% for straight, more for angles

For boards laid straight and parallel to the deck edge, add 10%. A 45-degree diagonal layout wastes far more off-cut at the corners — figure 15%. Herringbone and picture-frame borders cut the most: 15–20%. The calculator defaults to 10% and adjusts up to 25%.

Why running short is its own problem

Leftover boards are wasted money, but running short means a second trip — and a real risk the store's next batch of composite is a slightly different color lot or shade, leaving a visible mismatch on a finished deck. The overage exists so the whole surface comes from one order.

Buy the boards together, from one lot
Composite color can vary subtly between production runs. Ordering all the boards — waste included — in one go keeps the deck a single, consistent shade.
Definitions

Decking definitions

The total running length of decking measured end to end, regardless of width. 520 linear feet of 5.5-inch board is what covers a 20 ft × 12 ft deck before waste.
The real measured width of a board's top face — what matters for spacing. A "2×6" or 5/4×6 board has a 5.5-inch actual face width, not 6 inches.
The deliberate space left between boards for drainage and expansion, typically 1/8 inch. Composite hidden fasteners set this gap automatically.
A small connector that grips the grooved edge of a composite board and screws to the joist, hiding the screw and setting the board gap. Counted separately at roughly 1.8 per square foot.
A border board run around the deck's perimeter, framing the field boards. It looks finished but increases mitre cuts and waste.
The extra percentage of decking ordered above the calculated amount to cover off-cuts, trimmed ends and defective boards — 10% for straight layouts, more for diagonals.
Accuracy

How accurate is this decking calculator?

The board geometry is exact. Deck width divided by the effective board width (face plus gap), rounded up, is the precise number of rows, and rows times length is the exact linear feet your boards must cover. If your measurements and your board's actual face width are right, the count is right.

The fastener estimate and the board count past the linear-feet stage are planning figures. Hidden-clip coverage shifts a little with joist spacing and board width — 1.8 per ft² assumes 16-inch on-center joists and 5.5-inch boards — so confirm the coverage on your specific fastener box. How many whole boards you buy also depends on how cleverly you nest the off-cuts; a careful layout can save a board or two, a careless one can cost extra. Treat the board and clip counts as a confident estimate. Confirm board dimensions against the manufacturer's spec sheet, and order to the high side: a color-lot mismatch from a second trip costs far more than a couple of spare boards.

Questions

Frequently asked questions about the free decking calculator

A decking calculator is a free online tool that helps you estimate how many deck boards, linear feet and hidden fasteners you need for a rectangular deck. Deck boards run along the deck's length, so the row count is set by the board's actual face width plus the gap left between boards. It runs entirely in your browser with instant results and no sign-up.
Always the actual face width. A 2×6 or 5/4×6 board is really 5.5 inches wide, not 6 — the nominal name rounds up. Using 6 inches undercounts the rows and leaves you short.
About 1/8 inch (0.125 in) for drainage and expansion above 40°F; wider in cold weather. Composite hidden fasteners set a consistent gap automatically — typically 3/16 to 1/4 inch depending on the clip.
10% for boards laid straight and parallel. Raise it to 15% for a 45-degree diagonal layout and 15-20% for herringbone or picture-frame borders, which waste far more off-cut at the corners.
Roughly 1.8 clips per square foot of deck — about 90 clips per 50 ft² at 16-inch on-center joists with 5.5-inch boards. Confirm the coverage printed on your fastener box, as it shifts with joist spacing.
Pick the length that divides your deck run most cleanly to leave the least off-cut. A 20-foot run filled with 16-foot boards leaves a 4-foot gap every row; 20-foot boards would leave no seam but cost more per board.
About

About this decking calculator

This decking calculator runs entirely in your browser — nothing you type is sent anywhere or stored. It turns your deck's length and width, your board's actual face width and gap, and a waste factor into a board count, linear feet of decking and a hidden-fastener estimate, recomputing instantly as you adjust any input.

It is one of the material estimators on our construction calculators shelf. For the concrete footings and piers underneath the deck try the concrete calculator, or browse every tool in the full calculator directory.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.