Reviewed · Prices checked October 2026 · How we calculate

Wall Framing Calculator: How Many Studs Do I Need?

Enter the wall length, the spacing, the windows and doors and the corners. You get the studs, with king and jack studs at each opening, and the plate lumber.

Inputs

Units
ft
ft
openings
corners
ft
Stud spacing
Corners
Design wind (for king studs)

From IRC Table R602.7.5. Higher winds or Exposure D aren't in the table: have the wall designed.

$

Shopping list

Updates as you type
29studs

for a 24 ft wall at 16 in on center with 2 openings of 3 ft, plus 5 plates of 16 ft.

Framing details
Layout studs19 (24 ft × 12 ÷ 16, rounded up, + 1)
At openings8: at each end 1 king stud (IRC Table R602.7.5) + 1 jack stud; header tables can call for 2 or 3 jacks on wide openings
At corners2 (3-stud corners: 2 extra each)
Plates72 ft: a double top plate and a bottom plate (IRC R602.3.2) = 5 × 16 ft
Studs at your price—
Show the math
Layout: 24 × 12 = 288 in ÷ 16 = 18.00 → 18 spaces, rounded up, + 1 = 19Openings: 2 × 2 ends × (1 king + 1 jack) = 8Total: 19 + 8 + 2 = 29 studs; cripples above and below windows not counted

The price you type is used for this estimate only; it isn't saved.

How it works

The formula

layout studs = wall length × 12 ÷ spacing, rounded up, + 1
each opening: at each end, the king studs from IRC Table R602.7.5 + 1 jack
plates = 3 × wall length (a double top plate and a bottom plate)
  • Stud spacing follows 2021 IRC Table R602.3(5): 2×4 bearing walls at up to 24 in when they carry only the roof and ceiling, 16 in under a floor plus the roof.
  • King studs at each end of a header in an exterior wall, from Table R602.7.5 by header span, for up to 115 mph in Exposure B (and, in brackets, under 140 mph in B or 130 mph in C): 4 ft: 1 (1); 6 ft: 1 (2); 8 ft: 1 (2); 10 ft: 2 (3); 12 ft: 2 (3); 14 ft: 2 (3); 16 ft: 2 (4); 18 ft: 2 (4). A wide opening may need 2 or 3 jack studs under each end of the header: size headers from Table R602.7(1).
  • The double top plate is R602.3.2. A 2-stud corner with drywall clips is an advanced-framing option (Insulation Institute); the code doesn't set a corner stud count.
  • Cripple studs above and below windows aren't counted; they're usually cut from the offcuts and a few extra studs.

Layout studs by wall length

Layout studs at 16 and 24 in on center by wall length, no openings or corners
Wall16 in on center24 in on center
8 ft75
12 ft107
16 ft139
20 ft1611
24 ft1913
30 ft2416
40 ft3121

Before openings and corners.

Questions people ask

How many studs for a 24 ft wall?

At 16 in on center, 19 layout studs; at 24 in, 13. Add king and jack studs at each window and door and extra studs at corners: with two 3 ft openings and one corner, 29 at 16 in.

What are king and jack studs?

A king stud runs full height beside an opening; a jack stud is fastened to it and holds up the header. The code's table sets how many full-height studs each end of a header needs.

16 or 24 inches on center?

Most walls are framed at 16 in. The code allows 24 in for 2×4 bearing walls that carry only the roof and ceiling; 2×6 walls at 24 in are common in advanced framing, leaving more room for insulation.