Stud Calculator Formulas
layout studs per wall = wall length (in) ÷ spacing, rounded up, + 1
corner studs = 1 per corner (3-stud corner)
T-intersection studs = 2 per T (nailing channel)
openings = 2 king studs + 2 jack studs each (more for wide openings)
cripples = layout positions inside the opening, above the header and below the sill
plates = wall length × 3 (one bottom plate, two top plates)
studs to buy = (layout + corners + Ts + kings + jacks) × (1 + waste)
Each wall gets its own end stud, so at a corner the two walls already have one stud each. A third stud gives the inside corner something to nail drywall to. The layout studs that fall inside a door or window aren’t subtracted, because the cripples are cut from them.
Studs per Wall by Length and Spacing
Layout studs only, with one stud at each end. Add corners, openings and waste on top.
| Wall length | 12 in OC | 16 in OC | 19.2 in OC | 24 in OC |
|---|---|---|---|---|
| 4 ft | 5 | 4 | 4 | 3 |
| 6 ft | 7 | 6 | 5 | 4 |
| 8 ft | 9 | 7 | 6 | 5 |
| 10 ft | 11 | 9 | 8 | 6 |
| 12 ft | 13 | 10 | 9 | 7 |
| 14 ft | 15 | 12 | 10 | 8 |
| 16 ft | 17 | 13 | 11 | 9 |
| 20 ft | 21 | 16 | 14 | 11 |
| 24 ft | 25 | 19 | 16 | 13 |
| 30 ft | 31 | 24 | 20 | 16 |
| 40 ft | 41 | 31 | 26 | 21 |
Precut Stud Lengths
| Wall | Precut stud | Framed height with 3 plates |
|---|---|---|
| 8 ft | 92⅝ in | 97⅛ in |
| 9 ft | 104⅝ in | 109⅛ in |
| 10 ft | 116⅝ in | 121⅛ in |
The extra 1⅛ in over 8 ft leaves room for the ceiling drywall and a small gap at the floor, so full 4 × 8 sheets fit without trimming.
Stud Spacing Limits (IRC)
Maximum spacing for wood studs from IRC Table R602.3(5). Bearing walls can be up to 10 ft tall. Non-bearing 2×4 walls can be up to 14 ft, and 2×6 walls up to 20 ft.
| Wall carries | 2×4 studs | 2×6 studs |
|---|---|---|
| Roof and ceiling only | 24 in | 24 in |
| One floor + roof | 16 in | 24 in |
| Two floors + roof | not allowed | 16 in |
| Nothing (non-bearing) | 24 in | 24 in |
Framing Around Doors and Windows
- King studs run full height beside the opening. The IRC asks for 1 on each side for headers up to 8 ft and 2 for 10–18 ft (Table R602.7.5, exterior walls, wind up to 115 mph).
- Jack studs sit under each end of the header. The header table (IRC Table R602.7(1)) says whether you need 1, 2 or 3 per side.
- The header is the opening width plus a jack stud’s thickness on each side. In a 2×4 wall it is two 2× boards with a ½ in spacer. In a 2×6 wall it is three boards.
- Cripples carry the top plate above the header and the sill below a window, on the normal stud layout.
Nails for Wall Framing
The calculator follows the 16d common nail rows of IRC Table R602.3(1):
| Joint | Nails |
|---|---|
| Plate to stud (end nail) | 2 at each end of every stud |
| Stud to stud (corners, jacks) | 1 every 24 in |
| Top plate to top plate | 1 every 16 in |
| Bottom plate to floor | 1 every 16 in |
| Top plate laps at corners and Ts | 2 |
| Top plate splice | 8 |
| Header to king stud | 3 at each end |
A pound holds about 42–47 16d common nails, so the calculator rounds up the pounds using 42. With a nail gun, 3 in × 0.131 in nails are allowed too, but some joints then need more nails, such as 3 instead of 2 at a stud end.
How to Measure for Wall Framing
- Measure every wall along the floor, corner to corner. Measure interior walls to the face of the wall they meet.
- Count the corners and Ts. Each L corner adds 1 stud and each T adds 2.
- List the doors and windows with their rough opening sizes from the door or window maker.
- Check what each wall holds up. Bearing walls under a floor may need closer spacing or 2×6 studs.
Frequently Asked Questions
How many studs do I need for a wall?
Divide the wall length in inches by the stud spacing, round up, and add 1 for the end stud. A 12 ft wall at 16 in on center takes 144 ÷ 16 = 9, plus 1 = 10 studs. Then add 1 for each corner, 2 for each T, and kings and jacks at every door and window.
How many studs per foot of wall?
About 0.75 layout studs per foot at 16 in on center. With corners, doors, windows and 10% waste it comes to about 1 to 1.3 studs per foot, which is why many framers order at least one stud per linear foot of wall.
How many studs do I need for a 12×12 room?
44 studs at 16 in on center with 3-stud corners and no doors or windows, or 49 with 10% extra. Each 12 ft wall takes 10 layout studs, and each of the 4 corners adds 1. Add 4 studs for each door or window.
How long is a stud for an 8 ft wall?
A precut stud is 92⅝ in. With a bottom plate and two top plates (3 × 1½ in) the wall is 97⅛ in tall, which leaves room for ½ in drywall on the ceiling and an 8 ft finished ceiling. 9 ft walls use 104⅝ in studs and 10 ft walls 116⅝ in.
How many jack and king studs do I need?
Every door and window gets a king stud on each side that runs from plate to plate, plus at least one jack stud on each side under the header. The IRC asks for 1 king per side up to 8 ft wide and 2 up to 18 ft in most of the country. Your header table says when you need 2 or 3 jacks.
Do I subtract studs for doors and windows?
No. The layout studs that land in an opening get cut into the cripples above the header and below the sill, so you still buy them. Each opening adds its own king and jack studs.
How many framing nails should I order?
About 7 to 8 nails per stud. An 8 ft wall with 7 studs at 16 in takes about 47 16d nails with 10% extra. For a room with doors and windows the calculator adds the nails at headers, cripples and plate laps, following IRC Table R602.3(1). There are about 42–47 16d common nails in a pound.
Can I space studs 24 inches on center?
Yes, for 2×4 walls that carry only a roof and ceiling, and for non-bearing walls. Under one floor, 2×4 studs must be 16 in on center. 2×6 studs can stay at 24 in under one floor (IRC Table R602.3(5)).
Sources
- 2021 International Residential Code, Chapter 6 (R602.3 studs, plates and fastening; R602.7 headers), via UpCodes
- Engineering ToolBox, Number of studs in a wall (n = L ÷ spacing + 1)
- JLC, Precut stud lengths (92⅝, 104⅝, 116⅝ in)
- Lowe's, 2×4 × 92⅝ in precut stud
- Maze Nails via Do it Best, 16d common nails, 47 per lb
- U.S. DOE Building America Solution Center, Advanced framing insulated corners (corners are typically framed with three studs, the third a drywall nailing edge)
- U.S. DOE Building America Solution Center, Insulated interior and exterior wall intersections (conventional T-post with two studs on the exterior wall)