How Many Studs Do I Need?
A 12 ft wall framed with 2×4s at 16 in on center has 10 studs on layout. A 36 in window takes out two of them and adds a king and a jack stud on each side: 12 full-length studs, plus 4 short cripples above the header and below the sill. With 10% extra, buy 14 precut studs.
Studs on layout by wall length, before openings and corners:
| Wall | 12 in o.c. | 16 in o.c. | 24 in o.c. |
|---|---|---|---|
| 8 ft | 9 | 7 | 5 |
| 10 ft | 11 | 8 | 6 |
| 12 ft | 13 | 10 | 7 |
| 14 ft | 15 | 11 | 8 |
| 16 ft | 17 | 13 | 9 |
| 20 ft | 21 | 16 | 11 |
For a room or a shed, count each wall on its own. A 12 × 12 ft room has four 12 ft walls, 40 studs at 16 in on center. A 10 × 10 ft shed has 32 at 16 in or 24 at 24 in. Then add the openings and the corners.
Studs per Linear Foot
At 16 in on center a wall takes 0.75 stud per foot plus one; at 24 in, 0.5 per foot plus one. Openings, corners and waste push the real count higher: the default 12 ft wall with one window comes to 14 studs, more than one per foot.
Parts of a Framed Wall
The default wall, drawn to scale, with every piece the calculator counts:
- 1Common studs, 16 in on center
- 2King stud, full height, beside the opening
- 3Jack stud, carries the header
- 4Header, 2-2×4 over a 36 in window
- 5Cripple studs above the header
- 6Rough sill, with cripples below it
- 7Bottom plate
- 8Double top plate, joints offset 24 in
The jacks stop at the underside of the header; the kings run from plate to plate. A door has no sill, so it has cripples only above the header, and the bottom plate is cut out of the opening.
How to Calculate Studs for a Wall
Divide the wall length in inches by the spacing, round down, and add one for the end stud. Then adjust for each opening:
- 1Measure the wall length and pick the spacing: 16 in on center for most walls, 24 in where the code allows it.
- 2Count the studs on layout with the formula above.
- 3For each window or door, take out the layout studs that fall in the opening and add a king and a jack on each side; wide openings need 2 kings or 2 jacks.
- 4Turn the removed layout studs into cripples: above the header, and below the sill for a window.
- 5Add backing studs at corners and where other walls meet this one.
- 6Add extra for warped and split pieces. The calculator adds 10% by default.
The same wall with a 36 in door instead of the window still takes 12 full-length studs, but only 2 cripples, all above the header.
Header Size for Windows and Doors
A header carries the load over an opening down to the jack studs. Its size depends on the opening width, the width of the house and what the wall carries. Headers for an 8 ft exterior wall of a 24 ft wide house, 30 psf ground snow:
| Opening | Roof only | Floor and roof |
|---|---|---|
| 36 in window or door | 2-2×4, 1 jack | 2-2×6, 1 jack |
| 4 ft | 2-2×6, 1 jack | 2-2×12, 2 jacks |
| 5 ft | 2-2×12, 2 jacks | 2-2×12, 2 jacks |
| 6 ft | 2-2×12, 2 jacks | 2-2×12, 2 jacks |
| 8 ft | 2-2×12, 2 jacks | 3-2×12, 2 jacks |
| 10 ft | 3-2×12, 2 jacks | Designed header |
| 16 ft garage door | Designed header | Designed header |
In an 8 ft wall with 92-5/8 in studs, a 2×12 header fills the space between a door-height opening and the top plate, so it sits tight under the plate and keeps its full span. Smaller headers leave a gap that is filled with cripple studs, and when cripples bear on top of a 2×8, 2×10 or 2×12 header, IRC Table R602.7(1) cuts its span to 70%. That is why the calculator picks a 2-2×12 for 5 and 6 ft openings: under cripples, a 2-2×10 would span only 4 ft 9 in at this house width.
Maximum spans from the table for walls carrying only the roof and ceiling, in feet and inches:
| Header | 12 ft wide house | 24 ft | 36 ft |
|---|---|---|---|
| 2-2×4 | 4-0 | 3-1 | 2-7 |
| 2-2×6 | 6-0 | 4-7 | 3-10 |
| 2-2×8 | 7-7 | 5-9 | 4-10 |
| 2-2×10 | 9-0 | 6-10 | 5-9 |
| 2-2×12 | 10-7 | 8-1 | 6-10 |
| 3-2×10 | 11-3 | 8-7 | 7-3 |
| 3-2×12 | 13-2 | 10-1 | 8-6 |
- King studs per side come from Table R602.7.5: 1 up to a 4 ft span, 2 up to 8 ft, 3 up to 14 ft, 4 up to 18 ft (wind below 140 mph in Exposure B).
- Nonbearing walls need no load-bearing header. A single flat 2×4 can span openings up to 8 ft when the nailing surface above is no more than 24 in higher (R602.7.4).
- A 16 ft garage door is past every built-up header in the table; have that header designed.
Stud Spacing: 16 or 24 Inches?
Sixteen inches on center is allowed in every case below except a 2×4 wall under two floors. Twenty-four inches saves a third of the layout studs, but only where the wall carries less. Maximum spacing by IRC Table R602.3(5), bearing walls up to 10 ft high:
| Wall carries | 2×4 | 2×6 |
|---|---|---|
| Roof and ceiling only | 24 in | 24 in |
| One floor and the roof | 16 in | 24 in |
| Two floors and the roof | Not allowed | 16 in |
| Nonbearing | 24 in, up to 14 ft high | 24 in, up to 20 ft high |
Bearing walls must be sheathed on at least one side or have bridging no more than 4 ft apart. Where joists or rafters sit more than 16 in apart on studs at 24 in, they must bear within 5 in of a stud, unless the wall has a third top plate, a double 2×6 top plate or solid blocking (R602.3.3). Utility-grade studs are limited to 16 in on center and 8 ft in bearing walls. The calculator flags a wall that breaks the spacing or height limits.
Stud Length and Plates
An 8 ft wall uses precut 92-5/8 in studs. With a bottom plate and a double top plate, each 1-1/2 in thick, the framed wall stands 97-1/8 in, enough for an 8 ft ceiling with drywall. Precut 104-5/8 in studs do the same for 9 ft walls. For a 10 ft wall the calculator gives a cut length of 115-1/2 in.
- Plates: a bottom plate and a double top plate, at least 2 in nominal and as wide as the studs. A 12 ft wall takes three 12 ft plates.
- Top-plate joints are offset at least 24 in and overlap at corners and bearing intersections (R602.3.2).
- Full 8 ft studs with three plates make a 100-1/2 in wall, 3-3/8 in taller than with precuts.
- Actual sizes: a 2×4 is 1-1/2 × 3-1/2 in and a 2×6 is 1-1/2 × 5-1/2 in.
What Wall Framing Costs
The default 12 ft wall takes about $95 of lumber: 18 studs at $3.98, counting one for each cripple, three 12 ft plates at $6.67, and 6.5 ft of 2×4 for the header. That is about $7.94 per linear foot of wall. The same wall in 2×6 costs about $189.
Lumber for a plain 8 ft high wall with no openings, at 16 in on center with 12 ft plates:
| Lumber | Price | Per foot |
|---|---|---|
| 2×4 precut stud, 92-5/8 in | $3.98 | $0.52 |
| 2×6 precut stud, 92-5/8 in | $7.89 | $1.02 |
| 2×4 × 12 ft | $6.67 | $0.56 |
| 2×6 × 12 ft | $14.32 | $1.19 |
| 2×8 × 8 ft | $11.99 | $1.50 |
| 2×10 × 8 ft | $16.62 | $2.08 |
| 2×12 × 8 ft | $20.12 | $2.52 |
Studs for walls taller than 8 ft are priced by length, and headers by the foot of their size. Once the wall is framed, count the sheathing panels and figure the insulation for the cavities. For the roof the walls carry, see the rafter calculator; for the floor, check the floor joist size.
Common Mistakes
- Forgetting the end stud. 144 ÷ 16 is 9 spaces, but a wall needs 10 studs.
- Leaving out kings, jacks and cripples. One 36 in window adds 2 studs and 4 cripples to a 12 ft wall.
- Using 2×4s at 24 in under a floor. The IRC limits that wall to 16 in on center.
- Sizing a header from the table with cripples on top. A 2×8, 2×10 or 2×12 under cripples keeps only 70% of its span.
- Skipping corner backing. Corners and wall intersections need extra studs or blocking to nail the drywall to.
Frequently Asked Questions
How many studs do I need for a 12 ft wall?
Ten at 16 in on center, or 7 at 24 in: the length in inches divided by the spacing, plus one. Add king and jack studs at openings and studs at corners and wall intersections.
How many studs for a 10 ft wall?
Eight at 16 in on center and 6 at 24 in, before openings and corners.
How many studs for an 8 ft wall?
Seven at 16 in on center and 5 at 24 in.
How many studs do I need for a 12 × 12 room?
Forty on layout at 16 in on center: 10 for each of the four 12 ft walls, counted wall by wall. Add king and jack studs for the door and windows and backing at the four corners.
What length studs for an 8 ft wall?
Precut 92-5/8 in studs. With a bottom plate and a double top plate, 1-1/2 in each, the framed wall is 97-1/8 in, which leaves room for drywall on the ceiling. For a 9 ft wall the precut is 104-5/8 in.
How many studs go around a window?
A king stud and at least one jack stud on each side. In an exterior wall the IRC asks for 1 king stud a side up to a 4 ft header span and 2 up to 8 ft (Table R602.7.5), and Table R602.7(1) sets the jacks.
What size header do I need for a 36 in window or door?
In an exterior wall carrying only the roof and ceiling of a 24 ft wide house, a 2-2×4 header spans up to 3 ft 1 in under 30 psf snow, by IRC Table R602.7(1). A wall that also carries a floor needs a 2-2×6.
What size header do I need for a 6 ft opening?
A 2-2×12 with 2 jack studs a side, in an 8 ft exterior wall of a 24 ft wide house, set tight under the top plate. It spans up to 8 ft 1 in when it carries the roof and 6 ft 8 in with a floor as well. If cripples sit on top of it, its span drops to 70%, and a roof-only wall needs a 3-2×10.
How much does it cost to frame a 12 ft wall?
About $95 in lumber for an 8 ft high 2×4 wall at 16 in on center with one 36 in window: 18 precut studs at $3.98 (14 studs and 4 for cripples), three 12 ft plates at $6.67 and a 2-2×4 header. In 2×6 the same wall is about $189. Labor, nails and sheathing are extra.
Can I frame a wall with 2×4s at 24 inches?
Yes, if the wall carries only the roof and ceiling or is nonbearing. A 2×4 wall that also carries a floor is limited to 16 in on center, and 2×4s can't carry two floors (IRC Table R602.3(5)).
Sources
- Guertin, M. (2002, August). Do precut studs make sense? Fine Homebuilding, (149).
- International Code Council. (2020). 2021 International Residential Code (Sections R602.3, R602.7; Tables R602.3(5), R602.7(1), R602.7.5).
- National Institute of Standards and Technology. (2010). Voluntary product standard PS 20-10: American softwood lumber standard.
Updated .
Cite this page as:
Daniel, P. Framing Calculator. Available at: https://constructioncalculators.com/framing-calculator/. Accessed: October 28, 2026.