Decking Calculator
Building a deck is one of the most rewarding home improvement projects, but estimating materials accurately can be challenging. Order too few boards and you’ll be making extra trips to the lumber yard; order too many and you’ve wasted money and storage space. This decking calculator takes the guesswork out of material estimation, telling you exactly how many deck boards and joists you need based on your deck dimensions, board size, and joist spacing.
Contractors preparing bids, DIY homeowners planning their first deck, and seasoned builders wanting quick material checks will all find this tool invaluable. The calculator accepts deck length and width in multiple units, accounts for board width, gap between boards, joist spacing, and even optional beam spacing for more comprehensive estimates. It provides costs based on your per-board and per-joist prices with a waste factor for cutting and fitting.
Techraxy built this decking calculator to help builders and homeowners plan their deck projects with confidence. Everything runs locally in your browser, so your project data stays private while you design your outdoor space.
How to Use the Decking Calculator
Enter your deck’s total length and width in your preferred units — feet, inches, meters, centimeters, or millimeters.
Specify the width of your deck boards and the actual length of the boards you’ll be using.
Set the gap you want between boards (typically 0.125 inches for composite, 0.25 inches for wood).
Enter the joist spacing (center to center) — commonly 16 inches on center for residential decks.
Optionally add beam or post spacing for a more complete framing estimate.
Enter the cost per deck board and cost per joist, then adjust the waste factor for cutting and fitting.
How the Decking Formula Works
Deck material estimation requires calculating two main components: the surface boards (decking) and the supporting structure (joists).
Deck Area = Deck Length × Deck Width
Number of Deck Boards across width = Ceil((Deck Width in inches) / (Board Width + Gap))
Boards per Row = Ceil(Deck Length / Board Length)
Total Deck Boards = Boards across Width × Boards per Row
The calculator accounts for the gap between boards and rounds up to ensure complete coverage. For example, if the math suggests 12.2 boards, you’ll need 13 to cover the width.
Number of Joists = Floor(Deck Length in inches / Joist Spacing) + 1
Joists run perpendicular to deck boards, supporting the surface from below. The formula adds one joist to account for the end of the deck.
Optional Beams and Posts:
When beam spacing is specified, the calculator estimates the number of beams and posts needed for the underlying support structure.
With Waste Factor: Boards with Waste = Ceil(Total Boards × (1 + Waste Percentage / 100))
Worked Example
A homeowner is planning a deck that measures 16 feet long and 12 feet wide. They’re using 6-inch wide composite deck boards that come in 12-foot lengths, with a 0.125-inch gap between boards. The joists are spaced 16 inches on center.
Step 1: Calculate deck area — 16 ft × 12 ft = 192 square feet.
Step 2: Calculate deck boards across the width — width in inches = 144 inches, board + gap = 6 + 0.125 = 6.125 inches, boards across = Ceil(144 / 6.125) = Ceil(23.51) = 24 boards across.
Step 3: Calculate rows needed — deck length = 16 ft, board length = 12 ft, rows = Ceil(16 / 12) = 2 rows.
Step 4: Total boards — 24 × 2 = 48 deck boards.
Step 5: Calculate joists — deck length in inches = 192 inches, joist spacing = 16 inches, joists = Floor(192 / 16) + 1 = 12 + 1 = 13 joists.
Step 6: Apply 10% waste — boards with waste = 48 × 1.10 = 52.8 → 53 boards.
The deck needs 48 deck boards and 13 joists, or 53 boards with waste included. This estimate helps with material ordering and budget planning.