A deck board calculator estimates how many straight decking rows and stock boards you need for a rectangular surface. Rows = round up [(usable width + side gap) ÷ (actual board width + side gap)]. Determine how many complete row lengths fit in one stock board, divide the rows by that yield and round up. Add your chosen extra stock allowance. This is a material estimate for unspliced rows, not a structural deck design.
Deck Board Calculator
Estimate straight unspliced deck rows and stock boards.
Straight rectangular unspliced rows only. Use usable dimensions after perimeter clearances and stock end trimming. Does not optimize diagonal cuts, framing, joint placement, fastening or structural safety. Reference / verification guidance.
Calculations run locally in your browser. Example values are illustrative.
Deck board calculator: formula and units
Let L be the usable deck dimension along each board and W the usable dimension across the boards. Let B be actual board face width and G the side gap between adjacent boards. Use inches or centimeters consistently. The number of rows N = ceiling((W + G) ÷ (B + G)). The extra G in the numerator accounts for the fact that N boards contain N − 1 internal gaps.
The last row face width R = W − (N − 1)(B + G). If R is smaller than B, the geometry assumes a longitudinal trim to that width. If the edge falls inside a gap, the calculation rejects the layout. Confirm that any narrow edge board is permitted by the manufacturer and supported by the framing before using it.
Let S be the usable stock board length after any end preparation, and K the saw kerf, the amount of material removed by a separating cut. The number of full row lengths obtainable from one stock board is Y = floor((S + K) ÷ (L + K)). The calculation assumes only Y − 1 separating kerfs are needed within the usable stock length. It does not allow spliced rows. The stock count before allowance = ceiling(N ÷ Y).
If extra stock allowance is A percent, purchase count = ceiling(stock count × (1 + A ÷ 100)). The Trex board-spacing guide discusses consistent gaps and installation considerations. The calculator uses the gap you enter, not a universal manufacturer recommendation.
How to use the calculator
Select Measurement unit: Inches or Centimeters. Enter Deck dimension along boards and Deck dimension across boards after subtracting any required perimeter clearances. Choose the intended orientation before measuring; turning the boards ninety degrees swaps the two dimensions.
Enter Actual board face width, Side gap between boards, Usable stock board length and Saw kerf per cut. Measure usable stock after accounting for any end trimming. The stock must be at least as long as one complete row.
Enter Extra stock allowance (%) and select Calculate. Review Stock boards to purchase, Board rows, Full-row cuts per stock board and Last row face width. Select Try an Example for a sample and Reset to clear the inputs. Confirm the edge layout, board profile and installation instructions before ordering.
Worked example: a 12-by-10-foot deck
Assume the usable dimensions are 144 inches along the boards and 120 inches across them. The actual board face is 5.5 inches and the confirmed side gap is 0.25 inch. Rows = ceiling((120 + 0.25) ÷ (5.5 + 0.25)) = ceiling(20.913…) = 21 rows.
The last row occupies 120 − 20 × 5.75 = 5 inches of face width. The total row length is 21 × 144 = 3,024 inches, or 252 linear feet. This measures the board runs, not the amount of stock purchased.
With 192 usable inches per stock board and a 0.125-inch kerf, the yield is floor((192 + 0.125) ÷ (144 + 0.125)) = 1. The project therefore requires 21 stock boards before extra allowance. A ten-percent extra allowance gives ceiling(21 × 1.10) = 24 stock boards.
If a different supplier offers a hypothetical 288.125-inch usable stock length, two 144-inch pieces plus one 0.125-inch separating cut fit exactly. That scenario uses ceiling(21 ÷ 2) = 11 stock boards, or ceiling(11 × 1.10) = 13 with allowance. Compare actual usable lengths and total prices rather than assuming the longer stock is always cheaper.
How to interpret the material estimate
The number of rows depends on the deck width and board spacing. Stock count also depends on the usable length and cutting yield, so dividing total linear footage by nominal stock length may underestimate the order. For a row that needs a single unspliced board, leftover short pieces may not help complete another row.
The Trex resurfacing guide illustrates measuring board width together with the installation gap and checking perimeter conditions. Specific products may require different gaps, fastening methods and end clearances. Use those instructions for your actual board system.
Use the last row width to identify an awkward edge before buying material. An installer may suggest a revised layout, approved spacing or border arrangement rather than ripping an unsuitable narrow board. If the deck has a picture-frame border, stairs, angled runs or a breaker board, calculate those components separately.
Common mistakes and safety limitations
Do not substitute nominal board dimensions for the actual face width or mix feet with inches. Do not count a side gap outside every row as though it were another board. Enter a positive length and width; a zero board face or stock length is invalid. Review the calculation at full precision rather than rounding down a purchase count.
The calculator assumes rectangular geometry, a consistent gap and one-piece rows. It does not estimate joists, beams, footings, fasteners, railings, stair treads or splice support. It also does not predict movement or expansion from temperature and moisture changes.
This educational estimate does not certify load capacity, safe construction or code compliance. Have the actual design, product-specific requirements, framing, edge support and fastening verified by a qualified professional before building or altering a deck.
Frequently asked questions
How many decking boards do I need for a rectangular deck?
Divide the usable deck width plus one internal gap by the actual board width plus that gap, and round upward to obtain rows. Calculate how many complete row lengths fit into each stock board. Round the stock count upward, then add a suitable purchasing allowance.
Do deck board gaps affect the number of rows?
Yes. Gaps occupy some of the space across a deck, so the number of boards depends on both the actual face width and the verified side gap. Do not select an arbitrary gap just to reduce material quantities. Follow the installation requirements for the actual product.
Can I calculate deck boards using square footage alone?
Square footage can provide a rough material comparison, but it does not determine the number of full rows or how stock lengths can be cut. A rectangular row model accounts for board direction, gap and cutting yield. Borders, joints and irregular shapes require a separate plan.
What happens when a stock board is shorter than a row?
This calculator rejects that situation because its cutting model assumes every row is unspliced. A shorter stock board requires a designed joint layout, appropriate framing and verified fastening details. Ask your installer to prepare a supported cutting plan instead of treating short offcuts as interchangeable pieces.
Does the extra board allowance include every deck component?
No. It adds a chosen percentage to the stock decking count only. Framing, stairs, borders, fasteners and railings are separate components. The amount of extra decking needed depends on the layout, available lengths, product condition and installation method. Review the actual cutting plan before ordering.
Related guides and next steps
Compare the fence post spacing calculator and stair stringer calculation guide for outdoor projects. For other surface material estimates, explore the wallpaper roll calculator and tile layout calculator. Browse the Everyday Projects hub.