How the deck calculator works
Rows of boards = the deck width in inches (12 inches in a foot) [2] / (board width + gap), rounded up. Linear feet = rows x deck length. Boards = linear feet x (1 + extra) / the length of one board, rounded up. Joists = the deck length in inches / the joist spacing, rounded up, plus one so that both ends have a joist (our counting rule), and they run along the width. Screws are two for every row of boards at every joist, which is our own assumption, not from a source, and information only. Use the width a board is dressed to: a nominal 6 inch board is dressed to at least 5 1/2 inches when dry. [1]
Worked example
A 12 ft x 16 ft deck, with the boards running along the 16 ft length. Rows of boards = 12 x 12 / (5.5 + 0.125) = 25.60, rounded up to 26 rows. Linear feet = 26 x 16 = 416. With 10% extra and 16 ft boards, 416 x 1.1 / 16 = 28.60, rounded up to 29 boards. Joists 16 in apart along the 16 ft side: 16 x 12 / 16 + 1 = 13 joists.
How many deck boards do I need?
Enter the deck length and width, the length of the board you will buy, and the extra for cuts. The boards are the linear feet of decking divided by one board's length, rounded up. A deck longer than one board needs boards joined end to end. We found no source for where the end joints go, so follow the decking maker's instructions. For composite boards, enter the width and gap the maker gives under Assumptions and constants.
How far apart should deck posts be?
This calculator does not size posts. The American Wood Council's deck guide (the 2018 edition, based on the 2015 IRC) gives no single spacing for posts. It limits the beam span, which it measures from post centerline to post centerline when there are overhangs, by the size and species of the beam and the span of the joists. For Southern Pine (its Table 3A), a beam of two 2x6 under joists spanning up to 6 ft may span 6 ft 8 in, and a beam of three 2x12 may span 15 ft 0 in. The table assumes a 40 psf live load, a 10 psf dead load, No. 2 grade and wet service conditions, and the guide applies to single level decks attached to the house. Its posts are at least 6x6 nominal. [3]
That is one guide, and we found no second source for these limits. Your local code applies: ask your local building authority, and follow the plan or deck guide it accepts.
Spans and loads: this is not a structural design tool
The calculator counts boards and joists from the deck size. It does not choose joist sizes, beams, posts or footings, and it does not say how far a deck can span or how much weight it can hold. Ask your local building authority about those. The joist spacing under Assumptions and constants only sets how many joists are counted.
Common deck sizes
Example deck sizes, with the boards and joists the calculator gives. The sizes are examples to show the sum.
| Deck | Area (ft²) | Rows | Boards | Joists |
|---|---|---|---|---|
| Small deck, 8 x 8 ft | 64 | 18 | 10 | 7 |
| Deck, 10 x 10 ft | 100 | 22 | 16 | 9 |
| Deck, 12 x 12 ft | 144 | 26 | 22 | 10 |
| Deck, 12 x 16 ft | 192 | 26 | 29 | 13 |
| Large deck, 14 x 20 ft | 280 | 30 | 42 | 16 |
Nominal and dressed lumber sizes
The nominal size is the name on the label and is larger than the dressed size. A dry 2 by 4 is dressed to at least 1 1/2 by 3 1/2 inches. [1]
| Nominal size | Minimum dry dressed size (in) |
|---|---|
| 2 x 4 | 1 1/2 x 3 1/2 |
| 2 x 6 | 1 1/2 x 5 1/2 |
| 2 x 8 | 1 1/2 x 7 1/4 |
| 2 x 10 | 1 1/2 x 9 1/4 |
| 5/4 x 6 (board) | 1 x 5 1/2 |
Source: the American Softwood Lumber Standard. [1]
Boards laid on a diagonal
We found no source for how much extra a diagonal layout needs, so ask your supplier before you change the Extra for cuts.
How much deck stain do I need?
The area to coat is the deck length times its width, for the top. Add the railings, steps and sides if you will coat them. Divide by the coverage printed on the product label. We state no coverage figure.
How much does a deck cost?
We state no price. Ask local suppliers for a price per board, and multiply it by the boards above.
Common mistakes and limits
- Using the nominal board width. A nominal 6 inch board is dressed to at least 5 1/2 inches when dry. [1] Use the dressed width.
- Forgetting the gap. Gaps between boards add rows.
- Ignoring joints. Boards shorter than the deck need end joints, so ask the decking maker where they go.
- Treating the joist count as a design. It only counts joists at the spacing you enter.
- What this tool does not cover: posts, beams, footings, railings, stairs, ledger attachment and permits.
Frequently asked questions
How many deck boards do I need?
Divide the deck width in inches by the board width plus the gap to get the rows, multiply by the deck length, add the extra, and divide by the length of one board. A 12 ft x 16 ft deck with 5 1/2 inch boards and 1/8 inch gaps has 26 rows and 416 linear feet. With 10 percent extra and 16 ft boards, order 29 boards. [1]
How many deck screws do I need?
The calculator shows two screws for each row of boards at every joist, which is 676 for the example deck (26 rows x 13 joists x 2). That is our own assumption, not from a source, and information only. Follow the decking maker's instructions for the fastener type and spacing.
How many deck posts do I need?
This calculator does not size posts. We found no source we can cite for a post count, so ask your local building authority.
How many deck blocks do I need?
This calculator does not size footings or deck blocks, so ask your local building authority.
Sources and references
- National Institute of Standards and Technology (NIST). Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (PS 20-25, accessed November 2026). Used for: Nominal and minimum dry dressed lumber sizes, for example a dry 2 by 4 is dressed to at least 1 1/2 by 3 1/2 inches.
- National Institute of Standards and Technology (NIST). NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically (SP 811, accessed November 2026). Used for: the inch and foot relationship (12 inches in a foot).
- American Wood Council (AWC). Prescriptive Residential Wood Deck Construction Guide (DCA 6, copyright 2018, based on the 2015 International Residential Code, accessed November 2026). Used for: how the distance between posts is limited by the beam span, and the smallest post size.
How we use sources: methodology.
Estimates only. Confirm quantities with your supplier. See the disclaimer. Found a wrong result? Report an error.