Calcmeister

Deck board calculator

Measure your deck's length and width in feet, and note the width and length of the deck boards you plan to use (e.g., Trex boards are typically 5.5 inches wide and 16 feet long). Enter the gap between boards and a waste percentage for cuts.

ft

Length of deck area in feet

ft

Width of deck area in feet

in

Actual width of one deck board (e.g., 5.5 in for Trex)

ft

Length of each board you plan to order (common: 12, 16, 20 ft)

in

Gap between boards (typically 1/8 in for composite decking)

Select board orientation relative to joists

%

Waste factor for cuts and offcuts (10% for straight, 15% for diagonal recommended)

$

Cost per board (optional, for material cost estimate)

Total deck area
– ft²
Linear feet of decking (with waste)
– ft
Number of boards needed
– boards
Deck board material cost
– $

    How It Is Calculated

    The deck board calculator estimates the number of boards and material cost for a rectangular deck. The calculation proceeds step by step:

    1. Total deck area: Multiply deck length by deck width.
    2. Effective board width: Add the gap between boards to the board width. For diagonal orientation, multiply the board width by cos(45°) ≈ 0.7071 before adding the gap.
    3. Theoretical linear feet: Divide total deck area (in square feet) by the effective width (in inches) and multiply by 12 to convert to linear feet.
    4. Adjusted linear feet: Increase theoretical linear feet by the waste factor percentage.
    5. Number of boards: Divide adjusted linear feet by board length and round up to the nearest whole board.
    6. Total linear feet ordered: Multiply number of boards by board length.
    7. Material cost: Multiply number of boards by price per board.

    A = L × W

    E = B + G (straight) or E = B × 0.7071 + G (diagonal)

    T = A × 12 / E

    F = T × (1 + P / 100)

    N = ceil(F / C)

    D = N × C

    M = N × R

    Where: L = deck length (ft), W = deck width (ft), A = total deck area (ft²), B = board width (in), G = gap (in), E = effective board width (in), T = theoretical linear feet (ft), P = waste factor (%), F = adjusted linear feet (ft), C = board length (ft), N = number of boards, D = linear feet ordered (ft), R = price per board ($), M = material cost ($).

    Assumptions

    Worked Example

    Suppose you have a deck that is 12 ft long and 10 ft wide. You plan to use boards that are 5.5 in wide and 16 ft long, with a 0.125 in gap between boards, laid straight (orientation = 1). You allow 10% waste, and each board costs $7.50.

    1. Total deck area: 12 ft × 10 ft = 120 ft².
    2. Effective board width: 5.5 in + 0.125 in = 5.625 in.
    3. Theoretical linear feet: 120 ft² × 12 / 5.625 in = 256 ft.
    4. Adjusted linear feet: 256 ft × (1 + 10/100) = 281.6 ft.
    5. Number of boards: ceil(281.6 ft / 16 ft) = ceil(17.6) = 18 boards.
    6. Total linear feet ordered: 18 boards × 16 ft = 288 ft.
    7. Material cost: 18 boards × $7.50 = $135.00.

    The results match: Total deck area = 120 ft², Linear feet of decking (with waste) = 288 ft, Number of boards needed = 18 boards, Deck board material cost = $135.

    Practical Tips

    Questions and answers

    Why do I need to include a gap between boards?

    The gap allows for water drainage, air circulation, and natural expansion and contraction of the wood or composite material, preventing warping and rot.

    What is the difference between straight and diagonal orientation?

    Straight orientation lays boards perpendicular to the joists, which is simpler and uses less material. Diagonal orientation (45°) creates a more decorative pattern but requires more boards and a higher waste factor due to angled cuts.

    How do I measure my deck area if it is not a perfect rectangle?

    Break the deck into smaller rectangles, calculate each area separately, and add them together. For complex shapes, consider using a professional or a more advanced tool.

    Can I use this calculator for composite decking?

    Yes, the calculator works for any deck board material. Just enter the actual board width and the recommended gap (often 1/8 inch for composite) to get accurate results.

    Last reviewed: 2026-10-17. Results are estimates for planning. Check them before you rely on them for design, purchase or safety decisions.