A deck calculator helps you to work out your materials list before you visit the lumber yard. Enter your deck's length and width, and the size of your boards, and this deck calculator tells you how many deck boards you need, how many linear feet that makes, and how many joists will support them. It includes an allowance for waste and, if you enter a price, an estimate of the cost of the boards. It uses feet and inches by default, with a metric option. Knowing the numbers early helps you to compare suppliers and avoid an extra trip.
How to use the deck calculator
- Choose your units.
- Enter the deck's length and width.
- Enter your board width and length.
- Adjust the gap, joist spacing and waste if you need to.
- Add a price per board for a cost estimate.
- Press Calculate.
The deck board formula
- Rows of boards = deck width ÷ (board width + gap), rounded up
- Decking length = rows × deck length
- Boards = decking length × (1 + waste) ÷ board length, rounded up
- Joists = deck length ÷ joist spacing, rounded up, plus 1
A worked example
Suppose that your deck is 16 feet long and 12 feet wide, an area of 192 square feet. Your boards are 5.5 inches wide with a 1/4-inch gap, so each row takes up 5.75 inches. The width of 144 inches divided by 5.75 comes to 25.04, which rounds up to 26 rows. Those rows add up to 416 feet of decking. With 10% waste, you need 457.6 feet, which is 29 boards at 16 feet long. Joists at 16 inches on center need 192 ÷ 16 = 12 spaces, plus one, making 13 joists. At $25 per board, the boards cost $725.
Board widths, gaps and lengths
Lumber is sold by nominal sizes, which are larger than the actual measurements. A board sold as a 5/4×6 or a 2×6 is usually about 5.5 inches wide, so use the actual width in the calculator. Gaps allow water to drain and let the wood move as it swells and shrinks, and the right gap depends on the material and on how dry the boards are when you install them. Check the manufacturer's instructions. If you can, buy boards as long as your deck, as that avoids butt joints, which can be unsightly and can collect water.
Joist spacing
Joists are the framing members that sit underneath and support the deck boards. A spacing of 16 inches on center is typical, and composite decking often needs closer joists, particularly when the boards run diagonally. Always follow the product's installation guide, as using a wider spacing than the manufacturer allows can result in bouncy or sagging boards and may void a warranty. The calculator counts a joist at each end of the run, but it doesn't include rim joists, beams, posts or footings.
How much waste should you allow?
Some material is lost through cutting, damaged boards and mistakes. A waste allowance of about 10% is a common starting point for a simple rectangular deck. Raise it for complex designs, diagonal patterns or picture-frame borders, as those involve more angled cuts. Buying a few extra boards costs less than returning for a single piece, and a slightly different batch may not match perfectly.
What else will you need?
- Posts, beams and footings to carry the weight.
- Joist hangers and connectors rated for outdoor use.
- Screws or hidden fasteners that suit your decking.
- Ledger board and flashing if the deck attaches to a house.
- Railings and stairs, where required.
- Stain or sealer for wood decks.
Permits and safety
Many areas require a building permit for a deck, particularly one that's attached to a house or raised above a certain height. Local rules control joist sizes, footings, railing heights and more. Check with your building department before you begin. A deck failure can be extremely dangerous, so ask a qualified professional to review anything that you're unsure about.
Wood or composite?
Pressure-treated lumber usually costs less at first, though it needs regular cleaning and sealing. Composite boards cost more up front but need less maintenance. When you compare prices, think about the cost over many years instead of just the price of the boards. Try entering each option's price in the calculator to see the difference for your deck.
Choosing a deck layout
Boards that run parallel to the longest side usually produce the least waste, as you can buy boards that match the full length. Diagonal boards look striking, but they take more cutting and often require closer joist spacing. A picture-frame border gives a neat finished edge, although it needs extra boards and more careful planning at the corners. Sketch your layout on paper before ordering, and mark where any end joints will fall, so that each one lands over a joist.
Common mistakes
- Using nominal board width. Measure the actual board.
- Forgetting the end joist. You need one more joist than spaces.
- Skipping the permit. It can cause trouble when you sell your home.
Related home calculators
Pour your footings with the concrete calculator, cover a path with the gravel calculator, and finish a roof with the roofing calculator.
What next
Use this often? Add Deck to your Home screen.
Frequently asked questions
How does the deck calculator work?
It divides the deck's width by board width plus gap to get rows, then converts those rows into boards.
How many deck boards do I need?
It depends on your deck's size, but a 16 by 12 foot deck needs about 29 boards at 16 feet.
What joist spacing should I use?
16 inches on center is typical, but check the product's instructions.
How much waste should I allow?
About 10% for a simple deck, and more for diagonal layouts.
Does it include posts and beams?
No. It covers deck boards and joists only.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.