Home › Calculators › Deck Calculator

Deck Calculator

Enter your deck size, board width, gap and joist spacing to find how many deck boards, joists, beams, posts and screws or hidden fasteners you need. Add prices for a full cost estimate and see a framing plan.

Last updated:

Deck size

Boards run along the length. Joists run across the width, from the house to the outer beam.

Decking boards

Use the actual width: a nominal 6-inch board is 5.5 in (140 mm) wide. Typical gap: 1/8 in to 1/4 in (3–6 mm).

Framing
Fasteners & waste
Material prices (optional, for a cost estimate)
Deck boards needed–
Estimated total cost–
Deck area–
Board rows–
Joists–
Beams–
Posts & footings–
Deck screws–

Framing plan (top view)

JoistsBeamPostsHouse

Materials & cost breakdown

Estimates only. Joist, beam and post sizes and spans depend on lumber species, grade, load and your local building code, so check span tables or ask your building department before you build.

Advertisement

How to use the Deck Calculator

  1. Choose units and whether the deck is attached to the house with a ledger board or freestanding.
  2. Enter the deck size: the length along the house (boards run this way) and the width out from the house.
  3. Describe the boards: actual board width, gap between boards and the board length you will buy.
  4. Set the framing: joist spacing, max joist span and max post spacing from your span tables, plus fasteners and waste.
  5. Add prices (optional) and press Calculate to get the materials list, total cost and framing plan.

Deck material formulas

QuantityFormula
Board rowsrows = ⌈(deck width + gap) ÷ (board width + gap)⌉
Boards (board ≥ deck length)boards = ⌈rows ÷ ⌊board length ÷ deck length⌋⌉
Boards (board < deck length)boards = ⌈rows × deck length ÷ board length⌉
Boards with waste⌈boards × (1 + waste %)⌉
Joists⌈deck length ÷ joist spacing⌉ + 1
Beam lines⌈deck width ÷ max joist span⌉, plus 1 if freestanding
Postsbeam lines × (⌈deck length ÷ max post spacing⌉ + 1)
Face screwsrows × joists × 2
Hidden clips(rows + 1) × joists

Worked example: 16 × 12 ft attached deck

  • Rows: width 12 ft = 144 in. (144 + 0.125) ÷ (5.5 + 0.125) = 25.6, rounded up to 26 rows.
  • Boards: 16 ft boards cover one 16 ft row each, so 26 boards. With 10% waste: 26 × 1.1 = 28.6, rounded up to 29 boards.
  • Joists at 16 in on centre: 192 ÷ 16 = 12 spaces, so 13 joists, each 12 ft long.
  • Beam and posts: a 12 ft span needs one beam at the outer edge. With posts no more than 6 ft apart: ⌈16 ÷ 6⌉ + 1 = 4 posts.
  • Screws: 26 rows × 13 joists × 2 = 676 screws, or two boxes of 350.

Typical deck board and joist sizes

BoardActual widthCommon joist spacing
5/4 × 6 wood (radius edge)5.5 in (140 mm)16 in (400–450 mm)
2 × 6 wood5.5 in (140 mm)16 to 24 in
2 × 4 wood3.5 in (89 mm)16 in
Composite board5.5 in (140 mm)12 or 16 in (check the manufacturer)
Hardwood (ipe) 1 × 65.5 in (140 mm)16 in

Allowable joist and beam spans depend on lumber species, grade, size, spacing and design load. Always check a span table or your local building code before building.

Frequently asked questions

How many deck boards do I need?

Divide the deck width plus one gap by the board width plus gap to get the number of rows, then multiply by the boards needed per row and add waste. A 16 × 12 ft deck with 5.5 in boards and 1/8 in gaps needs 26 rows. With 16 ft boards that is 26 boards, or 29 with 10% waste.

How many joists do I need for a deck?

Divide the deck length by the joist spacing, round up and add one for the end joist. A 16 ft (192 in) deck with joists at 16 in on centre needs 192 ÷ 16 = 12 spaces, so 13 joists.

How many screws do I need for decking?

Use two screws where each board crosses each joist. Multiply the number of board rows by the number of joists, then by 2. A 16 × 12 ft deck with 26 rows and 13 joists needs 26 × 13 × 2 = 676 screws.

What joist spacing should I use?

16 inches on centre is the most common spacing for wood decking laid at 90° to the joists. Many composite boards require 12 or 16 inches, and diagonal decking needs closer spacing. Always follow the board manufacturer's instructions.

How much waste should I allow?

10% is typical for a simple rectangular deck with boards laid straight. Use 15% for diagonal patterns, picture-frame borders or many cut-outs, and 5% if your board length exactly matches the deck length.

What gap should I leave between deck boards?

Kiln-dried wood and composite boards usually need about 1/8 to 3/16 inch (3–5 mm). Wet pressure-treated lumber is often laid tight because it shrinks as it dries. Hidden fastener clips set the gap for you.

Does this calculator size my joists and beams?

No. It counts members based on the spans you enter. The lumber size needed for a given span depends on species, grade, spacing and load, so use a span table or your local building code to choose joist, beam and post sizes.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Square Footage CalculatorTotal sq ft and m² for rooms of any shape, with cost estimate.Concrete CalculatorEstimate concrete volume, bags and cost.Flooring CalculatorWork out flooring area, boxes needed and cost with waste allowance.Paint CalculatorHow much paint for a room, minus doors and windows, in gallons or liters.Acres to HectaresConvert acres to hectares (ac to ha) instantly, with formula and chart.Beam Deflection CalculatorMax deflection, moment and shear for simply supported, cantilever or fixed beams.Board Foot CalculatorAdd up board feet and lumber cost for any list of boards, nominal or actual size.Deck DesignerDesign a deck to scale with joists, beams, posts, stairs and board layout; PNG and list.Tile CalculatorHow many tiles and boxes you need for a floor or wall, with waste.Drywall CalculatorCount drywall sheets, screws, joint compound and tape for walls and ceilings.Brick CalculatorEstimate bricks, mortar volume and mortar bags for a wall, minus openings.Fence CalculatorWork out fence posts, rails, pickets and concrete bags for any fence length.Wallpaper CalculatorWork out how many rolls of wallpaper you need, with pattern repeat and waste.Insulation CalculatorFind the R-value to add for your climate zone and how many batts or blown-in bags to buy.Moving Cost CalculatorCompare DIY truck, full-service movers and container costs, with truck size and packing estimates.Concrete Block CalculatorCount concrete blocks (CMU) for a wall, minus doors and windows, plus mortar bags.Roof Pitch CalculatorConvert rise and run or an angle to roof pitch x/12, degrees, slope % and rafter multiplier.TV Size CalculatorFind a TV or monitor's width, height and area from its diagonal and compare two screens.TV Viewing Distance CalculatorBest seating distance for your TV size and resolution (SMPTE, THX, 4K), or the best TV size.Price per Square Foot CalculatorFind price per sq ft or m², total price or area, and compare several homes by value.House Flipping CalculatorFix-and-flip profit, ROI and 70% rule max offer from purchase, rehab, holding and sale costs.Stud CalculatorCount wall studs and plates from wall length, spacing, corners and openings.Carpet CalculatorCarpet for your rooms in sq ft and sq yd from a 12 or 15 ft roll, with padding and cost.Baseboard CalculatorLinear feet of baseboard and number of pieces for your rooms, minus doorways.Grout CalculatorGrout in kg, lb and bags from tile size, joint width, depth and area.Asphalt CalculatorTons of asphalt from area and thickness at 145 lb/ft³, with volume and cost.Sand CalculatorSand in cubic yards, m³, tons and bags for any area and depth.Siding CalculatorSiding squares, panels and J-channel from walls and gables minus doors and windows.Concrete Steps CalculatorConcrete volume and bags for poured steps from step count, rise, run, width and landing.Baluster Spacing CalculatorNumber of balusters and exact gap and on-center spacing for a railing under the 4-inch rule.Caulk CalculatorCaulk volume and number of 10.1 oz cartridges or squeeze tubes from joint length and size.Ceiling Fan Size CalculatorCeiling fan blade span, downrod length and minimum airflow (CFM) for any room.Concrete Mix Ratio CalculatorCement bags, sand, gravel and water for any concrete mix ratio (1:2:3, 1:2:4, M15, M20).Curtain Size CalculatorCurtain length, panel width and number of panels from your window size and fullness.Deck Stain CalculatorGallons of deck stain or sealer for the floor, railing and stairs, by coats and wood condition.Dehumidifier Size CalculatorPints-per-day dehumidifier capacity for your room size and dampness, old and new ratings.Epoxy Resin CalculatorEpoxy volume for river tables, countertops, floors and coasters, with resin:hardener split.Heating Cost CalculatorYearly heating cost for gas, propane, oil, electric, heat pump and wood pellets compared.Quilt Size CalculatorQuilt dimensions, blocks across and down, backing yardage and batting for any bed size.Rafter Length CalculatorRafter length, run, rise, plumb and seat cut angles from span, roof pitch and overhang.Recessed Lighting Layout CalculatorNumber of can lights, spacing and wall offset for a room, with a scaled ceiling grid plan.Home Sale Proceeds CalculatorEstimate the cash you keep after selling a home: commission, closing costs, taxes and payoff.Shiplap CalculatorBoards, linear feet, rows and nails for a shiplap wall, minus doors and windows.Tankless Water Heater Size CalculatorPeak GPM, temperature rise and the BTU or kW size a tankless water heater needs.TV Mounting Height CalculatorIdeal TV center and wall bracket height from screen size, eye height and seating distance.Water Heater Size CalculatorRecommended tank size and first-hour rating from household size and peak-hour hot water use.Household Water Usage CalculatorGallons and liters your household uses per day, month and year by activity, plus the cost.AC Running Cost CalculatorFind what your air conditioner costs to run per hour, day and month from BTU, SEER and your rate.Balloon Garland CalculatorHow many balloons for a garland or arch: counts by size and color, packs, helium and build time.Bathroom Remodel Cost CalculatorEstimate a bathroom remodel by size, type and finish, with itemized tile, vanity and labor.Board and Batten CalculatorBattens, spacing, linear feet and cost for a board and batten accent wall or siding.CFM CalculatorFind the CFM a fan needs for a room from its size and air changes per hour.Christmas Lights CalculatorLight strands, bulbs, watts and strands per circuit for a tree, roofline or shrubs.Cost to Build a House CalculatorEstimate the cost to build a house by size, stories, quality, garage, basement and region.House Painting Cost CalculatorEstimate paint gallons, supplies and labor cost to paint a house inside or out.Countertop CalculatorSquare footage and installed cost of countertops, including L/U shapes and backsplash.Crown Molding CalculatorMiter and bevel settings for crown molding plus linear feet, pieces and a cut list.Cut List OptimizerLay out plywood and MDF parts on sheets with kerf and grain, and print the cutting diagrams.Deck Footing CalculatorConcrete volume, 40–80 lb bags and form tubes for round or square deck footings.Dumpster Size CalculatorEstimate cubic yards and tons of debris and pick the right 10–40 yard roll-off dumpster.Heat Pump Savings CalculatorCompare your gas, propane, oil or electric heating cost with a heat pump and see the payback.Kitchen Remodel Cost CalculatorEstimate a kitchen remodel by size, finish level and scope with an itemized cost breakdown.Metal Roofing CalculatorPanel count and cut lengths, screws, ridge cap and trim for a metal roof.Moving Truck Size CalculatorCount your furniture and boxes to get cubic feet and the right moving truck, 10 to 26 ft.Projector Throw Distance CalculatorThrow distance, screen size and image height from your projector's throw ratio.Roof Replacement Cost CalculatorEstimate the cost of a new roof from footprint, pitch, material and tear-off layers.Rug Size CalculatorFind the right rug size for a living room, bedroom or dining room, with a placement preview.Solar Panel Output CalculatorDaily, monthly and yearly kWh from your solar panels, and what that power is worth.
See all 99 Home & Construction Calculators →