Counting deck boards
rows = deck width (in) ÷ (board width + gap), rounded up boards = rows × (deck length ÷ board length, rounded up) joists = deck length (in) ÷ spacing + 1 screws = rows × joists × 2
Choose a board length that matches the deck where you can. If the deck is longer than your boards, stagger the butt joints and land every joint on a joist (or a doubled joist).
Structure is a separate job
This calculator only counts materials for the decking surface. The frame — joist and beam sizes, post spacing, footings, ledger flashing and fasteners, stairs and railings — is governed by building code, and deck failures cause serious injuries. Most places require a permit for a deck attached to a house or more than about 30″ off the ground.