Wall framing calculator
How many studs does a wall take with a door or window in it? See it framed stud by stud, with every board’s length to cut.

The plan
Every piece, sized and counted from the sizes you gave.
| Piece | Size | Length | How many |
|---|---|---|---|
| Stud | 2×4 | 7 ft 8 in | 12 |
| Stud | 2×4 | 8 1/2 in | 2 |
| Jack stud | 2×4 | 6 ft 8 in | 2 |
| Header | 2×4 | 2 ft 11 in | 2 |
| Header | 1/2 × 3 1/2 in | 2 ft 11 in | 1 |
| Sole plate | 2×4 | 8 ft 7 1/2 in | 1 |
| Sole plate | 2×4 | 2 ft 7 1/2 in | 1 |
| Top plate | 2×4 | 13 ft 11 in | 2 |
In all 2×4: 152 ft
hauscraft.app/calculators/wall-framing-calculator/
How it is worked out
- Studs stand 16 in on centre from the wall’s start, on a sole plate and under a doubled top plate, with a stud at each end.
- A door has a king stud each side, a jack stud inside each king, and a header across the jacks. The header is two boards on edge with plywood between them to make up the wall’s depth, and short studs stand over it on the 16 in marks.
- The sole plate is cut out across a doorway.
- A window, in an outside wall, is framed as a door is, with a sill between its jacks and short studs under the sill.
- Plates come up to 20 ft long. A longer wall’s plates are jointed over a stud, and the upper top plate’s joints sit 4 ft or more from the lower one’s.
- A door or window needs room beside it for its king and jack studs. One set too near the wall’s end is turned down, and we say why.
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 many studs do I need for a wall?
- More than the wall’s length divided by 16 in. Each end, each side of every opening, and the short studs over a header and under a sill all add to the count, and the list has every one.
- Where do I add a window?
- Choose Outside for the wall. Windows go in outside walls, and inside walls take doors.
- How long are the studs?
- Each is cut to stand between the sole plate under it and the two top plates over it. The list gives their length for the height you choose.
Talk it over
Ask other owners how they built theirs in Request a build, and when yours is done, show it in Builds and projects: how you went about it, what you’d do again and what you wouldn’t.
From an AI assistant
Add HausCraft’s MCP server, https://hauscraft.app/mcp, to Claude or any assistant that takes one, and ask it for this calculation: it answers with the same list. What it asks, and every calculator.
Other calculators

Rafter calculator
Know how long to cut each rafter. Every board of a gable roof, with its length.Open the rafter calculator
Stair calculator
Make a stair that fits the height you climb. Even risers, treads and stringers.Open the stair calculator
Deck framing calculator
Know what to buy before you dig a footing. Footings, posts, beams, joists and planks, counted.Open the deck framing calculator
Roof truss calculator
Know how many trusses to order. Every truss, with its chords and webs.Open the roof truss calculator
Shed roof calculator
Know how tall the high wall has to be. One slope of rafters and the wall under it.Open the shed roof calculator
Gambrel roof calculator
Get a barn roof’s two slopes to meet. Both slopes’ rafters, each with its length.Open the gambrel roof calculator
Saltbox roof calculator
See what moving the ridge does to the back slope. A short steep slope and a long shallow one.Open the saltbox roof calculator
Floor joist calculator
Know how many joists a floor takes. Joists, rim boards and the subfloor.Open the floor joist calculator
Fence calculator
Know what to buy for a run of fence. Posts, rails and boards, counted.Open the fence calculator
Plant spacing calculator
Know how many plants fill a bed. Every plant in its place, counted, and the mulch to cover the bed.Open the plant spacing calculator
Vegetables
Tomato24 in apart
Bell pepper15 in apart
Jalapeño15 in apart
Cucumber12 in apart
Zucchini24 in apart
Lettuce6 in apart
Carrot3 in apart
Green bean4 in apart
Pole bean6 in apart
Pea3 in apart
Radish3 in apart
Onion4 in apart
Garlic6 in apart
Potato12 in apart
Sweet corn15 in apart
Spinach4 in apart
Kale15 in apart
Broccoli15 in apart
Cabbage15 in apart
Cauliflower15 in apart
Beet4 in apart
Eggplant18 in apart
Pumpkin36 in apart
Butternut squash36 in apart
Sweet potato12 in apart
Swiss chard8 in apart
Okra15 in apart
Celery8 in apart
Brussels sprouts18 in apart
Asparagus18 in apart
Leek4 in apart
Rhubarb36 in apart
Herbs
Basil12 in apart
Parsley6 in apart
Cilantro6 in apart
Mint12 in apart
Rosemary24 in apart
Thyme6 in apart
Oregano12 in apart
Chives4 in apart
Dill12 in apart
Sage18 in apart
Lavender18 in apart
Fruit
Start from your address
Tell Klaus where your house is. He asks a couple of questions about it and lays it out with you.






