Deck Calculator

Work out the deck boards, joists and screws for a new deck.

Last updated 2026-11-28 · How we calculate this

Enter the Deck

Currency labels your figures; it does not convert exchange rates.

Measurement system
Measured along the boards, from one end of the deck to the other.
Measured across the boards, for example from the house out.
The actual width, not the name: a 2×6 or 5/4×6 board is 5.5 in (140 mm) wide.
From the board maker's instructions: 1/8 in is 0.125 in (about 3 mm). Enter 0 for no gap.
The length the boards are sold in, such as 12 ft or 3.6 m.
From the middle of one joist to the middle of the next, usually 16 in (400 mm).
%
Extra for offcuts, staggered joints and defects. 10% suits a straight deck. Leave blank for none.
$
Leave blank to skip the cost.

Decking Needed

Enter the deck size and the boards to see the decking.

This is a planning estimate for a rectangular deck with boards laid straight, at right angles to the joists. It does not design the frame: beam sizes, joist sizes, posts, footings, ledger fixings, stairs and railings depend on the span, the load and local building codes. Diagonal or patterned boards need closer joists and more waste. Follow the board maker's instructions for gaps, fixings and joist spacing.

Quick Answer

Divide the deck width by the board width plus the gap to get the rows of boards, multiply by the deck length to get the length of decking, and divide by the board length. A 16 ft × 12 ft deck with 5.5 in boards and 1/8 in gaps needs 144 ÷ 5.625 = 25.6, so 26 rows; 26 × 16 = 416 ft of board, which is 34.67 boards of 12 ft, or 39 with 10% waste.

How to Use This Calculator

Enter the length of the deck in the direction the boards will run and its width across the boards. Then enter the real width of your boards, the gap you will leave between them, the length the boards are sold in and the spacing of the joists underneath. The calculator counts the rows of boards, the total length of decking and the boards to buy with a waste allowance. It also counts the joists and the face screws to fix the boards down, and adds a cost if you enter a price per board.

  1. Enter the deck length (the way the boards run) and the deck width.
  2. Enter the board width, the gap between boards and the board length.
  3. Enter the joist spacing and a waste allowance.
  4. Read the boards, joists and screws, and add a price per board for the cost.

The Formula

Rows = deck width ÷ (board width + gap), rounded up; Boards = rows × deck length ÷ board length × (1 + waste % ÷ 100), rounded up; Joists = deck length ÷ spacing, rounded up, + 1; Screws = joists × rows × 2

Each row of boards takes up one board width plus one gap, so the deck width divided by that figure gives the rows, rounded up because a part row still needs a board. Every row runs the full deck length, so rows × length is the total length of decking. Dividing by the board length gives the boards; offcuts from one row are used to start the next, which staggers the joints, and the waste allowance covers what is left. Joists are spaced along the length with one at each end, and each board is held by two screws at every joist.

Worked Example

A deck 16 ft long and 12 ft wide with 5.5 in boards and 1/8 in gaps: 144 in ÷ 5.625 in = 25.6, so 26 rows. 26 × 16 ft = 416 ft of decking, and 416 ÷ 12 ft = 34.67 boards, or 39 with a 10% allowance ($780.00 at $20 a board). Joists every 16 in: 192 in ÷ 16 = 12 spaces, so 13 joists of 12 ft (156 ft in all), and 13 × 26 × 2 = 676 screws.

The same deck with 16 ft boards needs 416 ÷ 16 = 26 boards, or 29 with 10% waste, and every row is one whole board with no joints.

UK: a deck 4.8 m × 3.6 m with 144 mm boards and 5 mm gaps has 3.6 ÷ 0.149 = 24.16, so 25 rows and 120 m of decking. In 3.6 m boards that is 33.33, or 37 with 10% waste. Joists every 400 mm: 13 joists of 3.6 m, and 650 screws.

Frequently Asked Questions

How far apart should deck joists be?

For boards laid straight across the joists, 16 in (400 mm) on center is the usual spacing for homes, and it is what Trex and most composite makers ask for. Boards laid at an angle need closer joists, often 12 in (300 mm). Some thick wood boards can span 24 in, but check the board maker's span table and your local code.

How big a gap should I leave between deck boards?

Wood boards are often laid about 1/8 in (3 mm) apart, so water drains and the boards can swell. Very wet treated boards are sometimes laid tight, because they open up as they dry. Composite boards expand with heat, and makers give their own gaps: Trex, for example, allows 3/16 in to 3/8 in side to side. Follow the instructions for your boards.

Which way should deck boards run?

Boards run at right angles to the joists, so the joists hold every board at regular points. On a deck attached to a house, the joists usually run out from the house and the boards run parallel to the wall. Enter the deck length in the direction the boards run so the rows and joists are counted the right way.

Why add waste, and what are staggered joints?

When a deck is longer than one board, the board ends meet over a joist. Staggering those joints, so they do not line up across the deck, looks better and spreads the load, and offcuts from one row can start the next. Some pieces are still too short or damaged to use, so a 10% allowance is common, with 15% or more for diagonal patterns.

Why is a 2×6 or 5/4×6 board only 5.5 in wide?

Lumber is named by its rough sawn size before drying and planing. A 2×6 ends up about 1.5 in × 5.5 in, and a 5/4×6 deck board about 1 in × 5.5 in. Composite boards are usually close to 5.5 in wide too. Always enter the real width, because using the name would count too few rows.

Should I use hidden clips instead of screws?

Many grooved composite boards are fixed with hidden clips that sit between boards, usually one clip at each joist instead of two face screws, and they set the gap for you. The screw count here is for face screwing; with clips, use the maker's count and keep screws for the first and last boards and the ends.

Sources: Trex, How to install deck joists (joist spacing for straight and diagonal boards); Trex, How to space deck boards (gaps and hidden fasteners); NIST Guide to SI, Appendix B (conversion factors)