What this deck size calculator tells you
Before you can price boards, joists or footings, you need the basic size numbers of the deck: how many square feet it covers, how long its edges are, how much railing the open sides need, and how many steps it takes to get down to the yard. Enter the deck length along the house, how far it sticks out from the house, and how high the deck surface sits above the ground. The calculator returns all of those numbers for a rectangular deck, and flags whether the height alone means a guardrail is needed under the common US residential code rule.
How to measure your deck
- Length: measure along the house wall (or the ledger board) from one outside edge of the deck to the other.
- Depth: measure straight out from the house wall to the outside face of the rim joist or fascia.
- Height: measure from the top of the deck surface down to the ground at the lowest point near the edge. On a sloping yard this is usually the far corner, and it is the number that matters for guardrails.
- Select Calculate. For an L-shaped or two-level deck, run each rectangle separately and add the areas.
Formula
Deck area = length × depth
Perimeter = 2 × (length + depth)
Open sides (attached deck) = length + 2 × depth
Stair risers = round up (height ÷ 7.75 in)
Riser height = height ÷ risers
Stair treads = risers − 1
The open-side length assumes the deck is attached along its full length to the house, so the house side needs no railing. For a freestanding deck, use the full perimeter instead. The 7.75 in figure is the maximum riser height in the International Residential Code (IRC), which many US towns adopt; the calculator spreads the height evenly over the smallest number of risers that stays at or under that limit.
Example
The default values describe a 16 ft long deck that sticks out 12 ft from the house, with the surface 36 in above the ground.
- Area: 16 × 12 = 192.00 sq ft
- Perimeter: 2 × (16 + 12) = 56.0 ft
- Open sides: 16 + 2 × 12 = 40.0 ft of railing, before subtracting the stair opening
- Guardrail: 36 in is over 30 in, so a guard is required on the open sides
- Stairs: 36 ÷ 7.75 = 4.65, rounded up to 5 risers at 7.20 in, which gives 4 treads
Common deck sizes
Square footage, perimeter and railing length for popular rectangular deck sizes (length × depth). Railing assumes the deck is attached along its length.
| Deck size | Area | Perimeter | Open sides |
|---|---|---|---|
| 10 × 10 ft | 100.00 sq ft | 40.0 ft | 30.0 ft |
| 12 × 12 ft | 144.00 sq ft | 48.0 ft | 36.0 ft |
| 16 × 12 ft | 192.00 sq ft | 56.0 ft | 40.0 ft |
| 16 × 16 ft | 256.00 sq ft | 64.0 ft | 48.0 ft |
| 20 × 12 ft | 240.00 sq ft | 64.0 ft | 44.0 ft |
| 20 × 16 ft | 320.00 sq ft | 72.0 ft | 52.0 ft |
Steps and guardrail by deck height
How many stair risers and treads a deck needs at different heights, using a 7.75 in maximum riser. Treads count only the steps you stand on; the deck surface is the top step.
| Deck height | Risers | Treads | Guard required? |
|---|---|---|---|
| 18 in | 3 risers at 6.00 in | 2 treads | No (by height) |
| 24 in | 4 risers at 6.00 in | 3 treads | No (by height) |
| 30 in | 4 risers at 7.50 in | 3 treads | No (by height) |
| 36 in | 5 risers at 7.20 in | 4 treads | Yes |
| 48 in | 7 risers at 6.86 in | 6 treads | Yes |
| 60 in | 8 risers at 7.50 in | 7 treads | Yes |
At 18 to 24 in the steps come out at about 6 in each, which is comfortable. At 30 in you get 4 risers at 7.50 in, close to the limit; some builders add one more riser for gentler steps, which also adds one tread and about 10 to 11 in of stair run.
How big should my deck be?
The right size depends on what you plan to put on it, not on a number from a chart. A practical way to size a deck:
- List the uses. Dining, a grill, lounge chairs, a hot tub, planters, or just a landing outside the door.
- Measure your furniture. Measure the table and chairs you own or plan to buy, with the chairs pulled out as if someone were sitting in them.
- Add walking room. A common design rule of thumb is about 36 in of clear space behind a seated chair so someone can walk past.
- Keep paths open. Leave a clear route from the house door to the stairs, and keep the door swing and the grill area free of chairs.
- Add the zones together and round up to a size that suits your joist and board lengths.
For example, if a 48 in round table with chairs pulled out needs 24 in on each side for the chairs, plus 36 in walking room around that, the dining area is 48 + 2 × (24 + 36) = 168 in, or 14 ft across. A 12 ft deep deck would feel tight for that table; 14 ft or more would not. A grill is usually set away from the house wall and railings; follow the grill maker's clearance instructions.
L-shaped and multi-level decks
Split the deck into rectangles that do not overlap and run the calculator for each one. For example, a 12 × 10 ft main deck with an 8 × 6 ft bump-out has 120.00 sq ft + 48.00 sq ft = 168.00 sq ft. Do not add the perimeters together: the edges where the rectangles meet are not open sides. Sketch the outline and add up only the edges that need railing.
Permits and code checks
Many US towns use the IRC, which exempts some small decks from a building permit only if they are 200 sq ft or less, 30 in or less above grade at any point, not attached to the house, and not serving a required exit door. An attached deck, or one larger or higher than that, usually needs a permit. Local rules vary and some areas require a permit for any deck, so call your building department with the area and height from this calculator before you buy materials.
Frequently asked questions
How do I calculate the square footage of a deck?
Multiply the length by the depth in feet. A 16 × 12 ft deck is 192.00 sq ft. For an irregular shape, split it into rectangles and add their areas.
What is the most common deck size?
There is no single standard, but sizes such as 12 × 12, 16 × 12 and 16 × 16 ft are popular because they use common lumber lengths with little waste. Size the deck for the furniture and traffic you expect.
At what height does a deck need a railing?
Under the IRC, a guard is required on open sides of a walking surface more than 30 in above the floor or grade below, measured within 36 in of the edge. Many decks lower than that still have railings for safety. Check your local code.
How many steps do I need for my deck?
Divide the deck height in inches by 7.75 and round up to get the number of risers. The number of treads is one less. A 36 in high deck needs 5 risers at 7.20 in and 4 treads. Use the Stair Stringer Calculator to lay out the stringers.
Does the railing length include the stair opening?
No. The open-side figure is the full edge length. Subtract the width of the stair opening, then add the stair rail along each side of the stairs if your stairs need one.
Can I enter metric measurements?
Yes. Switch the length units to meters and the height unit to centimeters; the calculator converts them before working out the results, which are shown in feet and inches.
Next steps: materials for your deck size
Once you have the size, plan the materials: Deck Materials Calculator · Deck Board Calculator · Deck Joist Calculator · Deck Footing Calculator · Deck Screw Calculator · How to Calculate Deck Boards · All Deck Calculators
Disclaimer: Estimates are for planning purposes only. Guardrail, stair, permit and structural requirements depend on your local building code and inspector. Verify your design with your building department or a qualified professional before building.