# Deck framing calculator

> What does your deck take, from the footings up? Give it a size and a height and get every footing, post, beam, joist and plank, counted.

Page: https://hauscraft.app/calculators/deck-framing-calculator/

Run it through HausCraft's MCP server (https://hauscraft.app/mcp, streamable HTTP, no key): call `calculate` with

```json
{
  "calculator": "deck-framing-calculator",
  "values": {
    "width": 16,
    "depth": 12,
    "height": 30,
    "on": 1
  }
}
```

A value left out is its start. `covered: true` shows it with decking on. It answers with every piece and its size, and a 3D view where the client shows one.

| Key | What | Takes | Start |
|---|---|---|---|
| `width` | Deck width | 4–40 ft | 16 |
| `depth` | Deck depth | 4–30 ft | 12 |
| `height` | Height off the ground | 9–120 in | 30 |
| `on` | Stands | 1 = Against a house wall; 0 = On its own | 1 |

## How it is worked out

- Joists are 2×8s, 16 in on centre, between a 2×8 rim around the deck.
- Against a house wall, the side along the wall is a ledger fixed to that wall. The joists hang from it, so the house carries that side.
- A deck 19½ in off the ground or more has dropped beams. Each is two 2×10s under the joists, set in from the edge so the joists run on past it by up to 2 ft, or a sixth of the deck’s depth where that is less.
- A lower deck carries its joists on a doubled rim, in the joists’ own depth.
- Where a joist would span more than 12 ft, another beam is added across the deck.
- Posts are 6×6s at most 8 ft apart under each beam, each on a 16 in square concrete footing a foot into the ground.
- Blocking runs across the joists in lines at most 8 ft apart. Planks are 5/4×6, laid ⅛ in apart and jointed on a joist.

We lay out and count the sizes you pick, close enough to plan a weekend and price the lumber. Span tables, your local code and, on a bigger job, an engineer settle what size each board has to be.

## Questions

**How far apart are deck joists?** They are set 16 in on centre, the usual spacing under 5/4 decking laid square to the joists.

**How many footings does my deck need?** One under each post. Posts stand at most 8 ft apart along each beam, with the end ones about a foot in from the beam’s ends. The list counts them.

**Does it include stairs or a railing?** It frames the deck itself. Stairs, guards and the bracing a tall deck needs are yours to add.

## The MCP server

https://hauscraft.app/mcp: streamable HTTP, open, no key. It answers with every piece and its size, or why it can't be built; nothing is stored, and nothing is sized structurally.

Tools: `guide`, `list_calculators`, `calculate`, `build`.

An owner's own properties are there too, once they sign in to HausCraft on a monthly plan and allow the client (OAuth, asked for the first time one is needed): `list_properties`, `new_property`, `show_property` (the property in 3D as it stands), and each of a property's tools, `get_buildings` first, taking its id. A change is kept, and shown in the editor as it is made.

Claude Code: `claude mcp add --transport http hauscraft https://hauscraft.app/mcp`. Claude, ChatGPT and other clients: add it as a remote (custom) connector at that address.
