Deck Calculator – Deck Boards, Joists, and Screws
Our free deck calculator tells you how many deck boards you need for a rectangular deck, based on the board width, the gap, and the board length you buy. It also gives a rough count of joists, joist hangers, posts, and deck screws or hidden clips, and the cost of the decking, so you can plan the whole lumber order before you go to the yard.
How to Use the Deck Calculator
- Enter the deck size. The deck length runs in the direction of the boards, usually along the house. The deck depth runs in the direction of the joists, away from the house.
- Set the board width and gap. 2×6 and 5/4×6 boards are 5 1/2 inches wide in reality. A gap of 1/8 to 1/4 inch lets water drain. Use the gap your board maker recommends.
- Pick the board length. Choose a length that covers the deck in one piece if you can. On longer decks, the calculator counts the pieces per row.
- Set the joist spacing. 16 inches on center is standard for wood boards laid straight. Many composite boards need 12 inches.
- Choose the fasteners. Two face screws per joist, or one hidden clip per joist.
- Add the extra and a price. 10% covers cuts and boards with defects. Add the price per board for the cost.
- Copy or print. Take the full list to the lumberyard.
How to Calculate Deck Boards
The calculator counts rows of boards across the depth of the deck:
- Rows = (deck depth + one gap) ÷ (board width + gap), rounded up
- Pieces per row = deck length ÷ board length, rounded up
- Boards = rows × pieces per row × (1 + extra), rounded up
- Linear feet = rows × deck length
Example: a 16 × 12 Deck
A deck of 16 feet along the house and 12 feet deep, with 5 1/2 inch boards and a 3/16 inch gap, needs (144 + 0.1875) ÷ 5.6875 = 25.35, so 26 rows. With 16 foot boards, each row is one board. With 10% extra, you buy 29 boards. The decking is 26 × 16 = 416 linear feet. With joists 16 inches on center, there are 13 joists, and at two screws per crossing, about 710 deck screws including 5% spare.
Example: a 20 × 10 Deck With 12 Foot Boards
The same boards on a deck of 20 × 10 feet need (120 + 0.1875) ÷ 5.6875 = 21.1, so 22 rows. A 12 foot board does not cover 20 feet, so each row takes 2 pieces, joined over a joist. That is 44 pieces, or 49 boards with 10% extra. At $18 per board, the decking costs $882. Two 10 foot boards per row would waste less, and one 20 foot board per row would avoid the joint, so it pays to compare lengths.
Deck Board Sizes
Lumber is named by its nominal size, but the real size is smaller. The American Softwood Lumber Standard (PS 20) sets these dressed sizes:
| Board | Actual size | Typical use |
|---|---|---|
| 5/4 × 6 (radius edge) | 1 × 5 1/2 inches | Most common wood decking |
| 2 × 6 | 1 1/2 × 5 1/2 inches | Stiffer decking, wider joist spacing possible |
| 2 × 4 | 1 1/2 × 3 1/2 inches | Narrow boards for a different look |
| Composite | usually about 1 × 5 1/2 inches | Grooved boards for hidden clips |
Common lengths are 8, 10, 12, 16, and 20 feet. Composite and PVC boards come in their own lengths, and their installation guides set the gap and the joist spacing.
Joists, Beams, and Posts
The framing numbers in the calculator are a rough guide for a simple rectangular deck attached to the house with a ledger board. They help with the shopping list, not with the design.
- Joists run from the ledger at the house to the beam. The count is the deck length divided by the spacing, plus one.
- Joist hangers hold each joist on the ledger. Hangers at a flush beam or at the rim are extra.
- Ledger and rim are each as long as the deck.
- Posts are counted about 8 feet apart under one beam. The real spacing depends on the beam size, the lumber, and the load.
Joist size and span, beam size, footing size, and the ledger connection to the house all depend on the lumber species, the load, the snow in your area, and the local code. The American Wood Council deck guide DCA 6 has span tables for typical decks, and most towns require a permit for decks attached to a house. For the concrete footings, measure the holes and use a concrete calculator for slabs and post holes.
Screws or Hidden Fasteners?
- Face screws: two per board at every joist. Use coated deck screws or stainless steel, especially with pressure-treated lumber, which corrodes plain steel. 2 1/2 inch screws are typical for 5/4 boards, and 3 inch screws for 2×6.
- Hidden clips: one per board at every joist, plus starter and end clips. They need grooved boards and leave a clean surface without screw heads.
- Spare fasteners: the calculator adds 5% for screws that fall through the gaps.
Tips for Planning a Deck
- Choose board lengths that avoid joints. If you must join boards, make the joints land on a joist and stagger them from row to row.
- Check the gap when the wood is wet. Pressure-treated boards often arrive wet and shrink as they dry. Many builders lay them tight and let the gaps open up.
- Use ground-contact lumber for posts and anything close to the soil. Our guide on how to treat wood for ground contact explains the ratings.
- Plan the finish. Wood decks last longer with a finish. Compare the best deck sealer and the best deck paint, and read can you paint pressure-treated wood before you start.
- Maintain it. Our guides on how to sand a deck and how to clean composite decking keep the surface in good shape.
Privacy and Honest Limits
The deck calculator runs entirely in your browser. There is no sign-up, and nothing you enter is sent anywhere. It covers simple rectangular decks with boards laid straight. Diagonal decking, picture frame borders, stairs, and railings need extra boards. The framing figures are a rough shopping guide, not a structural design, and the local building code always comes first.
More Free DIY Tools
All our tools are free, run in your browser, and need no account.
- Concrete Calculator: work out cubic yards and bags of concrete for slabs, footings, and posts.
- Board Foot Calculator: turn your cut list into board feet and lumber cost.
- Paint Calculator: find out how many gallons of paint your room needs.
- Tile Calculator: count the tiles, boxes, and grout for your floor or wall.
- Wallpaper Calculator: see how many rolls of wallpaper you need.
- Square Footage Calculator: add up rooms and odd shapes in square feet and square yards.
- Gravel Calculator: find the cubic yards, tons, and bags of gravel for your project.
- Mulch Calculator: work out how many bags or yards of mulch your beds need.
- Stair Calculator: plan risers, treads, and stringers for your stairs.
- Drywall Calculator: count the drywall sheets, screws, and joint compound for a room.
Frequently Asked Questions
How Do I Calculate How Many Deck Boards I Need?
Divide the deck depth in inches (plus one gap) by the board width plus the gap, and round up to get the rows. Multiply by the pieces per row and add about 10% extra.
How Many Deck Boards for a 16 × 12 Deck?
With 5 1/2 inch boards and a 3/16 inch gap, you need 26 rows. With 16 foot boards, that is 26 boards, or 29 with 10% extra.
How Many Joists Do I Need for a Deck?
Divide the deck length in inches by the joist spacing and add one. A 16 foot deck with joists 16 inches on center needs 13 joists.
How Far Apart Should Deck Joists Be?
16 inches on center is standard for wood decking laid straight. Composite boards and diagonal decking often need 12 inches. Check the board maker’s instructions.
How Many Screws Do I Need for a Deck?
Plan two screws per board at every joist. A 16 × 12 deck with 26 rows and 13 joists needs about 680 screws, or around 710 with some spare.
What Size Gap Should Be Between Deck Boards?
Most decks use 1/8 to 1/4 inch. Wet pressure-treated boards are often laid tight because they shrink as they dry. Composite boards follow the maker’s gap chart.
Is the Deck Calculator Free?
Yes. It is free, needs no account, works in feet or meters, and lets you copy or print the result.








