Skip to content
Search

Calculator

Wall framing calculator for studs, plates and headers

Divide the wall length in inches by the stud spacing, round up and add one: that is the studs on the layout. Each opening then adds a king stud and a jack stud at both ends, and the plates run the full length of the wall three times.

Count studs, plates and headers for a wall

Enter the wall length, the wall height and the stud spacing, then the openings. The boxes start with a 12 ft wall, 8 ft tall, studs 16 inches on center and one 36 inch opening. The last six boxes are settings: studs at each opening end, top plates, plate board length, header plies and your own waste allowance.

Studs on the layout
–
King and jack studs at openings
–
Studs
–
Studs with your waste allowance
–
Stud length
–
Plate, all rows
–
Plate boards
–
Header length, each
–
Header stock, all plies
–

Formula: studs on the layout = wall length x 12 / spacing, rounded up, + 1. Each opening adds kings + jacks at both ends. Stud length = wall height x 12 – 1.5 in per plate. Plate = wall length x plate rows. Header = opening width + 1.5 in per jack stud at each end.

Source: 2021 Seattle Residential Code, Chapter 6 (2021 IRC Section R602 with Seattle amendments); DOE Building America Solution Center: advanced framing, insulated corners; NIST PS 20-20 American Softwood Lumber Standard (Table 3, dressed sizes)

The example wall, framed

Elevation of a 12 foot wall, 8 feet tall, with studs 16 inches on center, a bottom plate, a double top plate and a 36 inch opening framed with a king stud and a jack stud at each end, a header on the jacks and cripple studs above it: 10 layout studs plus 4 at the opening make 14
The calculator’s example. The two layout studs that land in the opening are cut short as cripples above the header; IRC Table R602.7(2) keeps cripples at the stud spacing.

How to measure a wall for framing

Length. Measure the wall along the floor in feet, end to end. Where two walls meet at a corner, measure each one on its own and count the corner studs once, in the corner box.

Height. Measure from the floor to the top of the top plate. The bottom plate and the two top plates take 1.5 inches each off the stud length.

Spacing. Studs sit on a layout measured center to center from one end of the wall: 16 inches is the traditional spacing, and advanced framing uses 24 inches on 2×6 exterior walls.

Openings. Count each door and window and take the rough opening width from the plans or the window and door schedule. The header size and its jack studs come from the plans or from IRC Table R602.7(1).

The stud count, step by step

Layout studs. Turn the wall length into inches, divide by the spacing and round up, then add one for the starting stud. The example wall is 144 inches: 144 / 16 = 9 spaces and 10 studs.

Opening studs. Each end of an opening takes a full-height king stud and a jack stud that carries the header. One opening with one of each per end adds 4 studs, for 14 in all.

Corners. A corner framed with three studs adds one stud to the two wall ends. A two-stud corner uses drywall clips or a nailing strip instead, so it adds none.

Stud length. 96 inches less three plates of 1.5 inches is 91.5 inches. A single top plate leaves 93 inches.

Plates and header. Three rows of 12 ft plate take three 12 ft boards. The header spans the 36 inch opening plus 1.5 inches over each jack: 39 inches, and two plies take 6.5 ft of stock.

Studs on the layout by wall length

Studs on the layout only: add the king and jack studs at each opening and any extra corner studs. Plate is for a bottom plate and a double top plate.

Wall lengthStuds at 16 inStuds at 24 inPlate, 3 rows
4 ft4312 ft
6 ft6418 ft
8 ft7524 ft
10 ft9630 ft
12 ft10736 ft
14 ft12842 ft
16 ft13948 ft
20 ft161160 ft
24 ft191372 ft

Count: wall length in inches / spacing, rounded up, + 1. Spacing is on center, as IRC Table R602.3(5) lists it.

Source: 2021 Seattle Residential Code, Chapter 6 (2021 IRC Section R602 with Seattle amendments)

Stud spacing and height in the IRC

Section R602.3.1 sends stud size, height and spacing to Table R602.3(5). For bearing walls, the table lists 2×4 studs at 24 inches under a roof and ceiling only and at 16 inches with one floor above; 2×6 studs go to 24 inches with one floor above and 16 inches with two. Bearing studs in the table run up to 10 ft between points of lateral support.

Nonbearing 2×4 walls go to 14 ft at 24 inches, and 2×6 walls to 20 ft. Interior nonbearing walls can also be 2×3 studs at 24 inches or 2x4s laid flat at 16 inches under R602.5; 2×3 studs never go in an exterior wall.

R602.3.2 caps the wall with a double top plate that laps at corners and bearing intersections, with top plate joints offset at least 24 inches. With 24 inch studs under joists or trusses wider than 16 inches apart, R602.3.3 keeps each member within 5 inches of a stud unless the wall has heavier plates or blocking.

The DOE’s Building America Solution Center notes that some hurricane-zone jurisdictions hold stud spacing to 16 inches, so the local code sets the final number.

Headers, kings, jacks and cripples

Header spans for exterior bearing walls are in IRC Table R602.7(1), keyed by ground snow load, building width and what the header carries. It lists each header as plies and size, such as 2-2×6, with a span and NJ, the jack studs at each end. At 30 psf ground snow, carrying a roof and ceiling on a 24 ft wide building, a 2-2×6 header spans 4 ft 7 in with one jack per end.

Where NJ is one, an approved framing anchor can take the jack’s place. Spans for 2×8 to 2×12 headers without lateral bracing, such as cripples bearing on the header, drop to 70% of the table figure.

Table R602.7.5 sets the full-height studs at each end of a header in an exterior wall. At or under 115 mph Exposure B it lists one stud up to an 8 ft span and two up to 18 ft. Under 140 mph Exposure B or 130 mph Exposure C it lists one up to 4 ft, two up to 8 ft, three up to 14 ft and four up to 18 ft.

Cripple studs keep the stud spacing above and below an opening, and jack and cripple studs need not run full height. The plans or an engineer set the header; the calculator counts the material. For the joists and rafters the wall carries, the American Wood Council publishes a span options calculator.

Stud calculator questions

How many studs do I need for a 12 foot wall?

At 16 inches on center, 10 studs on the layout; at 24 inches, 7. Add a king and a jack stud at both ends of each opening.

How do I figure studs at 16 on center?

Multiply the wall length in feet by 12, divide by 16, round up and add one. A 10 ft wall takes 9 studs.

What size header do I need?

The plans set it, or IRC Table R602.7(1) for exterior bearing walls, by snow load, building width, what the header carries and the span.

How many studs go on each side of a door?

A full-height king stud and a jack stud under the header, at least. Wider exterior openings take more kings under IRC Table R602.7.5.

How long are the studs in an 8 foot wall?

With a bottom plate and a double top plate, 91.5 inches; with a single top plate, 93 inches.