# Deck Calculator

Free deck board calculator: enter the deck size, the actual board width and gap, and the board length to see how many decking boards to buy.

Calculator page: <https://www.howmanyyardsdoineed.com/deck-calculator/> (updated 2026-10-06). This Markdown version shows the default example; enter your own dimensions on the page.

**Answer:** A 16 × 12 ft deck with 5-1/2 in boards and 3/16 in gaps needs 26 rows of boards (416 linear ft), so buy 29 boards 16 ft long, with 10% extra.

## How to use this deck calculator

1. Enter the deck's length and width, and the **length of the boards** you plan to buy.
2. Under **More options**, choose which direction the boards run and enter the **real board width**, measured with a tape. Nominal sizes are larger than real ones: the softwood lumber standard lists a nominal 6 in width at 5-1/2 in dressed.
3. Enter the **gap** between boards from the board manufacturer's installation instructions.
4. Set a waste allowance for end trims, cuts, and boards you reject.

## How to calculate deck boards: the formula, shown

Decking is laid in rows. Each row is one board wide plus one gap, except the last row, which has no gap after it. The number of rows is the smallest whole number _n_ where n × board width + (n − 1) × gap covers the deck. Each row is as long as the deck dimension the boards run along. The total length of all rows, plus an allowance, divided by the board length gives the boards to buy.

**Default example.** A 16 ft × 12 ft deck with boards running the 16 ft length, 5-1/2 in boards, 3/16 in gaps, 16 ft boards, and a 10% allowance. Trex lists its square-edge boards at 5.5 in wide with a minimum 3/16 in side-to-side gap. Your boards and gap may differ.

**Default example arithmetic**

```text
Across      = 12 ft × 12 = 144 in
Rows        = (144 + 0.1875) ÷ (5.5 + 0.1875) = 25.3516 → 26 rows
Last row    = 144 − 25 × 5.6875 = 1.8125 in wide (ripped)
Linear feet = 26 rows × 16 ft = 416 ft
Allowance   = 416 × (1 + 10/100) = 457.6 ft
Boards      = 457.6 ft ÷ 16 ft = 28.6 → 29 boards
```

In this example the last row is only 1.81 in wide. A small change to the gap or to the overhang at each edge, or ripping the first and last boards to similar widths, gives a neater finish.

![Top view of a 16 × 12 ft deck showing its 26 rows of decking boards and the gaps between them drawn to scale](https://www.howmanyyardsdoineed.com/images/deck-calculator/deck-board-layout-diagram.png)

The default example deck from above, with the board rows and gaps drawn to scale.

## Deck boards for common deck sizes

Decking for common deck sizes, computed with the same formula as the calculator. Boards run along the first dimension, 5-1/2 in actual board width, 3/16 in gaps, 16 ft boards, and a 10% allowance. Different boards or gaps change the counts.

**Deck boards for common deck sizes**

| Deck | Rows | Linear feet | 16 ft boards | No offcut reuse |
| --- | --- | --- | --- | --- |
| 10 × 10 ft | 22 | 220 | 16 | 22 |
| 12 × 12 ft | 26 | 312 | 22 | 26 |
| 16 × 12 ft | 26 | 416 | 29 | 26 |
| 16 × 16 ft | 34 | 544 | 38 | 34 |
| 20 × 12 ft | 26 | 520 | 36 | 52 |
| 20 × 16 ft | 34 | 680 | 47 | 68 |
| 24 × 16 ft | 34 | 816 | 57 | 68 |

## Quick answers: how many deck boards for common decks

Each answer is computed with the same formula as the calculator, using its default settings unless the question says otherwise.

### How many 10 ft deck boards for a 10x10 deck?

A 10 × 10 ft deck with boards running lengthwise takes 22 rows of 5-1/2 in boards with 3/16 in gaps (220 linear ft), so buy 25 boards 10 ft long, including a 10% allowance.

### How many 12 ft deck boards for a 12x12 deck?

A 12 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (312 linear ft), so buy 29 boards 12 ft long, including a 10% allowance.

### How many 16 ft deck boards for a 16x20 deck?

A 16 × 20 ft deck with boards running lengthwise takes 43 rows of 5-1/2 in boards with 3/16 in gaps (688 linear ft), so buy 48 boards 16 ft long, including a 10% allowance.

### How many 20 ft deck boards for a 20x12 deck?

A 20 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (520 linear ft), so buy 29 boards 20 ft long, including a 10% allowance.

### How many 12 ft deck boards for a 24x12 deck?

A 24 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (624 linear ft), so buy 58 boards 12 ft long, including a 10% allowance.

### How many linear feet of decking for a 14x20 deck?

A 14 × 20 ft deck with 5-1/2 in boards running lengthwise and 3/16 in gaps needs 43 rows, or 602 linear ft of decking (662.2 with a 10% allowance), which is 42 boards 16 ft long.

### How many linear feet of decking for a 20x24 deck?

A 20 × 24 ft deck with 5-1/2 in boards running lengthwise and 3/16 in gaps needs 51 rows, or 1,020 linear ft of decking (1,122 with a 10% allowance), which is 71 boards 16 ft long.

### How many deck boards for a 16x14 deck with 1/4 inch gaps?

A 16 × 14 ft deck with boards running lengthwise takes 30 rows of 5-1/2 in boards with 1/4 in gaps (480 linear ft), so buy 33 boards 16 ft long, including a 10% allowance.

## How many deck boards do I need to order?

For the default deck, buy 29 boards of 16 ft. With no offcut reuse at all, the layout itself needs 26.

- **Cutting assumptions:** the board count is based on total linear feet plus your allowance. That assumes offcuts from one row can be used in another. If the deck is longer than your boards, each row needs a butt joint, and the “no offcuts reused” figure shows the count if every row uses fresh boards.
- **Choosing board length:** boards that match the run (or divide evenly into it) waste the least. Joints must land on framing, so plan them with your joist layout.
- **Not included:** joists, beams, posts, footings, fasteners, fascia, stairs, and railings. Framing sizes and spans depend on loads and local code, which need proper design inputs. This calculator doesn't estimate them; see [deck joist spacing and spans](https://www.howmanyyardsdoineed.com/guides/deck-joist-spacing-and-spans/) for the published spacing and span tables. For the screws and the drill to drive them, [DEWALT vs Milwaukee drill/driver kits compared](https://www.howmanyyardsdoineed.com/best/dewalt-vs-milwaukee-drill-driver-kits/) works out the screw count for this example deck.
- **Picture-frame borders and angled layouts** use more material. Raise the allowance, or calculate border boards separately.

## Tips for planning decking

- Measure several boards. Composite and wood boards can differ slightly from their listed width.
- Check the manufacturer's gap rules for both side-to-side and end-to-end gaps. Some depend on temperature at installation.
- Footings for a ground-level deck often use bagged concrete. Size them with the [concrete calculator](https://www.howmanyyardsdoineed.com/concrete-calculator/).
- For an L-shaped deck, split it into rectangles that share the same board direction and add the board counts.
- To cut boards to length and rip a narrow last row, compare saws in the [cordless circular saws for decking](https://www.howmanyyardsdoineed.com/best/cordless-circular-saws-for-decking/) buying guide.

## Deck calculator FAQ

### How many deck boards do I need?

Work out how many rows of boards cover the deck: divide the deck width plus one gap by the board width plus one gap, and round up. Multiply the rows by the deck length to get linear feet, add an allowance, and divide by the board length. Round up to whole boards.

### How many deck boards for a 12 x 16 deck?

With boards running the 16 ft length, 5.5 in boards, 3/16 in gaps, and 16 ft boards, the deck takes 26 rows and 416 linear feet. With a 10% allowance that is 29 boards. Different board widths or gaps change the count.

### Should I use the nominal or the actual board width?

Always the actual width. Nominal sizes are larger than the finished board. The American Softwood Lumber Standard lists a nominal 6 in width at 5-1/2 in dressed, and composite boards state their own actual dimensions.

### How big should the gap between deck boards be?

Follow the board manufacturer's instructions. For example, Trex states a minimum side-to-side gap of 3/16 in for its decking, and recommends more for docks and heavily wooded areas. Other products differ.

### How much extra decking should I buy?

It depends on the layout, the board lengths, and how many cuts you make. The calculator defaults to a 10% allowance as an adjustable example. Use more for diagonal layouts, borders, or when board length doesn't divide evenly into the deck.

### Why are there two board counts?

The main count assumes offcuts can be used in other rows, so it is based on total linear feet plus the allowance. The 'no offcuts reused' figure is rows × boards per row. It is the most you would need if every row started with fresh boards.

### Does the calculator include joists, beams, or footings?

No. Framing depends on spans, loads, wood species or product, and local code. Those need design inputs this calculator doesn't collect. Use your plans, a span table from an authoritative source, or a qualified professional.

### Can I use metric measurements?

Yes. Enter the deck and board length in meters, and the board width and gap in millimeters. The calculator converts everything to the same unit before working out rows.

## Related calculators and guides

### Calculators

- [Concrete Calculator](https://www.howmanyyardsdoineed.com/concrete-calculator/) — Slab volume in cubic feet, cubic yards, and cubic meters, with ready-mix order size and bag counts for documented products.
- [Paint Calculator](https://www.howmanyyardsdoineed.com/paint-calculator/) — Gallons or liters of paint for your walls and number of coats, using the coverage printed on your paint's label.
- [Roof Pitch Calculator](https://www.howmanyyardsdoineed.com/roof-pitch-calculator/) — Pitch as x/12, roof angle in degrees, slope percentage, and the sloped length for a given horizontal run.
- [Stair Calculator](https://www.howmanyyardsdoineed.com/stair-calculator/) — Number of risers and treads, exact riser height, total run, stair angle, and stringer length from floor-to-floor rise.
- [Board Foot Calculator](https://www.howmanyyardsdoineed.com/board-foot-calculator/) — Board feet per piece and in total from thickness, width, length, and quantity, with optional cost at your price per board foot.

### Guides

- [Deck board spacing and layout: gaps, direction, and joints](https://www.howmanyyardsdoineed.com/guides/deck-board-spacing-and-layout/) — Side and end gaps, board direction, joint placement, and last-board planning from Trex and American Wood Council guides.
- [Deck joist spacing and how far deck joists can span](https://www.howmanyyardsdoineed.com/guides/deck-joist-spacing-and-spans/) — Joist spacing from Trex, TimberTech, and Fiberon, DCA 6 Table 2 joist spans and overhangs, angled decking, blocking, and a joist lumber count.
- [Nominal vs. Actual Lumber Sizes](https://www.howmanyyardsdoineed.com/guides/nominal-vs-actual-lumber-sizes/) — A chart of real lumber dimensions from the national standard, dry versus green sizes, lengths, and board feet.
- [How to Measure an Irregular Area](https://www.howmanyyardsdoineed.com/guides/measuring-irregular-areas/) — Split odd shapes into rectangles, triangles, circles, and trapezoids, then average width and depth.
- [How to Plan a Bulk Material Delivery](https://www.howmanyyardsdoineed.com/guides/planning-material-delivery/) — Rounding to supplier increments, questions to ask, and a checklist before bulk material arrives.

### Buying guides

- [Best Cordless Circular Saws for Decking and Framing (2026)](https://www.howmanyyardsdoineed.com/best/cordless-circular-saws-for-decking/) — Six cordless circular saws ranked on published cut depth, bevel, brake and battery for cutting deck boards, joists, posts and stair stringers.
- [DEWALT vs Milwaukee Drill/Driver Kits Compared (2026)](https://www.howmanyyardsdoineed.com/best/dewalt-vs-milwaukee-drill-driver-kits/) — Seven 20V MAX and M18 drill/driver kits side by side on their makers' published specs, ranked for deck, drywall and fence work, with screw counts per job.

## Sources

- [Trex Decking Installation Guide (2024)](https://images.trex.com/is/content/trexcompany/2024_Trex_Decking_Installation_Guide(update)pdf) — Trex Company. Used for: Board width 5.5 in; minimum side-to-side gap 3/16 in. Checked 2026-10-03.
- [Voluntary Product Standard PS 20-25, American Softwood Lumber Standard](https://www.nist.gov/system/files/documents/2024/12/11/PS%2020-25%20Final.pdf) — National Institute of Standards and Technology. Used for: Nominal 6 in width = 5-1/2 in minimum dressed (dry). Checked 2026-10-03.
- [NIST Guide to the SI, Appendix B.9: Factors for units listed by kind of quantity](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b9) — National Institute of Standards and Technology. Used for: 1 ft = 0.3048 m (exact); 1 in = 2.54 cm (exact). Checked 2026-10-03.

**Estimate only.** Results are planning estimates computed from the numbers you enter. They are not engineering, structural, or code advice. Confirm quantities, product yields, and installation requirements with your supplier, the product label, and your local building authority before you order or build.
