The math behind DeckCalculator.
DeckCalculator uses deterministic calculations in your browser. The same inputs produce the same result. AI is not used to invent board quantities, dimensions, costs or structural requirements.
1. Board rows
The engine converts the deck cover dimension, board width and gap to the same unit, then rounds up to a whole number of rows. Board direction determines which deck dimension is the cover width and which is the run length.
2. Practical row pieces
When a run is longer than the usable stock board length, the engine creates multiple pieces. If the final remainder would be extremely short, the last span is rebalanced into longer pieces instead of recommending a tiny patch.
Our current guardrail requires a seam piece to span at least three joist lines. That is a conservative planning assumption, not a universal building-code or manufacturer rule. Product-specific installation instructions take priority.
3. Kerf, trim and offcut reuse
Saw kerf is included when repeat cuts are packed into stock boards. Optional trim reduces the usable length of each stock board. Repeat pieces are packed across rows so reusable offcuts can reduce the purchase count.
4. Contingency
Your selected contingency percentage is applied after the calculated layout quantity. This keeps planned extra material separate from the cut-layout math.
5. Cost comparison
For each enabled stock length, purchase quantity is multiplied by the price you enter. The lowest-cost practical option is recommended, with overage used as a tie-breaker.
6. Fastener estimate
The current fastener result is a face-screw planning estimate based on board rows, joist crossings and butt seams. Hidden-fastener systems are deliberately not presented as a universal number because systems differ by manufacturer.
What DeckCalculator does not do
It does not size structural joists, beams, posts or footings. It does not certify code compliance, permits or engineering adequacy. Always verify structural requirements, product installation instructions and local building rules before construction.