Decking & Lumber Calculators
Decking and lumber calculators figure board counts, joist spacing, and board feet for deck and framing projects.
What decking and lumber cover
Picture a deck as a stack of layers. Boards sit on top. Joists sit under the boards. Beams sit under the joists. Posts hold up the beams. Each layer needs its own count.
Lumber yards price wood in board feet. One board foot is a block 12 inches long, 12 inches wide, and 1 inch thick. The calculators here turn your plan into counts of boards, joists, and feet.
Which calculator to use
Start with the layer you are buying.
- Whole deck: the Deck Calculator gives a full materials list.
- Deck boards: the Decking Board Calculator. For plastic-based boards, use the Composite Decking Calculator.
- Joists: the Deck Joist Calculator and the Joist Spacing Calculator.
- Stairs: the Stair Stringer Calculator and the Stair Calculator.
- Lumber by volume: the Board Foot Calculator.
- Loads on the frame: the Deck Load Calculator and the Beam Load Calculator.
- Wall and roof framing: the Framing Calculator, the Stud Calculator, and the Rafter Calculator.
- Finish: the Deck Stain Calculator.
The shared method: length, width, and waste
Start with the deck area. Multiply length by width in feet. A 12 by 16 foot deck is 192 square feet.
Count boards by rows. Divide the deck width in inches by one board's face width plus the gap. A 5.5-inch board with a 0.25-inch gap covers 5.75 inches. Across 12 feet, that is 144 divided by 5.75, about 25 rows. Round up to 26.
Board feet use this formula: thickness times width times length in feet, divided by 12. A 2 by 10 at 12 feet is 2 times 10 times 12, which is 240, divided by 12. That gives 20 board feet.
Add about 10 percent for waste. Diagonal layouts waste more, because each angled cut leaves an offcut.
Write each layer count on paper before you shop. Boards, joists, and beams depend on each other. A wider deck changes the joist count, and the joist count changes the beam count. Recount after any change to the size.
Common mistakes
These errors cause a second trip to the lumber yard.
- Mixing nominal and actual sizes. A 2x4 measures 1.5 by 3.5 inches. The 2x4 guide lists real sizes. Count from the real size.
- Ignoring the gap. Each gap adds one more row. Leave it out of the math and you run short by a row every few boards.
- Counting only square feet. Stairs, rails, and fascia need extra pieces that a square foot count misses.
- Skipping the permit check. Read the permit guide before you order lumber.
How to buy lumber and decking
Lumber comes in standard lengths, often 8, 10, 12, and 16 feet. Pick the length that gives the fewest joints in each run. A 16-foot run needs one 16-foot board, or two 12-foot boards with an 8-foot offcut.
Stack boards flat and off the ground, with air between them, until you fasten them. Warped boards waste the most wood at the cut line.
Firewood is a different unit. A full cord is 4 feet by 4 feet by 8 feet, which is 128 cubic feet. Use the Cord of Wood Calculator to check a delivery.
Composite and wood decks cost different amounts. Compare them in the composite vs wood guide. For a full budget, read how much a deck costs.
Frequently asked questions
How many deck boards cover one square foot?
A standard 5.5-inch-wide board covers 0.458 sq ft per linear foot, so a 12-ft board covers 5.5 sq ft. Our decking calculator uses that figure; adjust if your boards are a different width or length.
What joist spacing does composite decking need?
Most composite brands require 16-inch on-center joists for perpendicular installs and 12-inch for diagonal patterns, tighter than the 24-inch spacing some wood decks use. Check your specific product before framing.
Should deck boards run parallel or diagonal to the house?
Perpendicular to the joists is structural; the visual direction is your choice. Diagonal layouts look sharp but add 10-15% cutting waste and require tighter joist spacing, budget for both.
How many deck boards do I need for a 12 by 16 foot deck?
With 5.5-inch boards and a 0.25-inch gap, the deck needs about 26 rows across 12 feet. If you use 16-foot boards, each row takes one board. That is 26 boards. Add 10 percent for waste, which gives 28.6, so buy 29 boards.
How many board feet do I need for a deck?
Multiply thickness by width by length in feet, then divide by 12. Do this for every board and add them up. A 2 by 10 at 12 feet is 20 board feet. A 1 by 6 at 12 feet is 6 board feet. Add 10 percent for waste on the total.
How many joists do I need for a 16-foot deck?
Measure the span in inches. For a 16-foot span, that is 192 inches. With joists 16 inches apart, there are 12 gaps. Count one joist at the start, plus one at the end of each gap. That gives 13 joists. Check the spacing your board maker specifies.
Do I need a permit to build a deck?
Rules vary by city and county, so there is no single answer. Call your local building office before you order lumber. Ask about deck height, how the deck attaches to the house, and how the footings are set. Their answer decides your materials list.