Build Plan Lab Planning tools

Exterior Projects

Deck Calculator

Plan the decking surface before you buy boards. Enter the deck size, board direction, actual board width, gap and stock length to estimate board courses, stock-board quantity, linear footage and material cost.

Saved projects

Live preview

Deck board layout

Boards along length
16 ft 12 ft
Deck area192 sq ft
Courses26
Run length16 ft
Last course3.375 in

Structural planning

Deck surface quantity is not structural design

This calculator intentionally does not choose joist spans, beams, posts, footings, loads or code requirements. Those depend on structural design, local rules, materials and site conditions.

Planning guide

How to use the deck calculator

Measure the finished deck surface, choose the direction the decking boards will run, then enter actual board dimensions and your selected gap. The calculator builds the course layout and converts it into stock-board quantities.

  1. 1

    Enter deck dimensions

    Use the finished surface length and width that will actually receive decking boards.

  2. 2

    Choose board direction

    Boards can run along the deck length or width. Direction changes the run length, course count and stock-board cuts.

  3. 3

    Use actual board width and gap

    Enter the real installed board width, not only a nominal lumber name, and use the gap required by your product or installation plan.

  4. 4

    Set stock length and waste

    Choose the board length you plan to buy, add your own waste allowance and optionally enter a price per stock board.

Method

How deck board quantity is calculated

The calculator first determines how many board courses span the dimension perpendicular to the board direction. It then splits each course run into pieces that fit the selected stock length and reuses compatible offcuts before applying waste.

Courses = ceil((cross-deck dimension + gap) ÷ (actual board width + gap))
Net linear length = board courses × course run length

Stock optimization is a material-quantity estimate. It does not design butt-joint staggering, joists, beams, footings, loads or code-compliant structural framing.

Board inputs

Board width, gap and stock length

These values have different jobs in the calculation. Keeping them separate prevents nominal-size assumptions from changing the board count.

InputMeaningEffect
Actual board width Installed face width of one decking board Controls course count across the deck
Board gap Clear spacing between neighboring courses Changes total pitch and the final course width
Stock length Length of each board you plan to purchase Controls how course runs are split and packed
Waste allowance User-selected reserve above optimized cut length Adds purchase boards after the base cut plan

Before ordering

Common deck material planning mistakes

  • Using nominal lumber size instead of the actual installed board width.
  • Ignoring the board gap when calculating how many courses fit across the deck.
  • Changing board direction without recalculating run lengths and stock-board cuts.
  • Assuming every offcut can be reused exactly where a real installation needs a staggered or supported butt joint.
  • Treating a decking quantity estimate as a structural joist, beam, footing or code-compliance design.

FAQ

Deck calculator questions

How many deck boards do I need?
Enter your deck size, actual board width, gap, board direction and stock length. The calculator determines board courses, optimizes the required cuts and adds the waste percentage you select.
Does deck board spacing affect how many boards I need?
Yes. The course pitch is the actual board width plus the gap. A different gap can change the number of courses needed across the deck.
Why does board direction change the result?
Changing direction swaps which deck dimension becomes the board run and which dimension must be covered by repeated courses. That can change both course count and stock-board usage.
Does the calculator reuse deck board offcuts?
It reuses compatible cut lengths in the quantity estimate using stock optimization. Real installations still need an appropriate joint layout and support, so the result is not a butt-joint placement plan.
Does this calculate deck joists or footings?
No. This page estimates decking surface boards only. Joist spans, beams, footings, loads and code requirements are structural decisions and are intentionally outside this calculator.