Free calculator

Wall Framing Calculator

Enter a wall length and stud spacing to count studs, plates and king and jack studs, and get the on-center layout marks.

Each opening gets 4 studs: 2 king and 2 jack.

Layout studs that fall inside an opening are removed from the count. Leave at 0 to keep them.

Default 2 for the wall ends. Each adds 2 studs for nailing and backing.

Applied to studs only.

Total studs to buy
16
Plate boards
3
Layout studs
10
Corner and intersection studs
4
King and jack studs
0
Studs before waste
14
Plate linear feet
36 ft

Stud layout marks

Measured from one end of the wall, in feet and inches. Centre each stud on its mark; the last mark is the far end of the wall.

  1. 0'-0"
  2. 1'-4"
  3. 2'-8"
  4. 4'-0"
  5. 5'-4"
  6. 6'-8"
  7. 8'-0"
  8. 9'-4"
  9. 10'-8"
  10. 12'-0"

How many studs do I need for a wall?

Divide the wall length in inches by the stud spacing, round up, and add one stud to close the far end. A 12 ft wall at 16 inches on center is 144 divided by 16, which is 9, plus 1, so 10 layout studs. This stud calculator then adds studs for corners, intersections and openings, and a waste allowance for crowned or split lumber.

The extra studs follow simple assumptions: 2 extra studs at each corner or intersection, and 4 studs (2 king, 2 jack) at each opening. Your plans, header size and local practice can call for more. Cripples, blocking and the headers themselves are not counted.

How stud layout works

Layout starts at one end of the wall. Mark the stud centers at 0, 16, 32 inches and so on, then add a final stud at the far end whatever the remainder is. Because 16 and 24 divide evenly into 48 inches, the edges of 4 ft sheathing and drywall sheets land on a stud center. The how to frame a wall guide walks through marking the plates, and wall framing basics names every part.

16 or 24 inches on center?

The 2021 IRC sets maximum stud spacing in Table R602.3(5) by stud size, unsupported height and what the wall carries. A 2x4 bearing wall supporting one floor plus a roof must be at 16 inches on center, while a 2x4 wall under a roof only may be at 24. Sixteen gives stiffer walls and more nailing; 24 saves lumber and leaves room for insulation. See stud spacing for the full table, and advanced framing for 24 inch layouts that cut the stud count.

Openings, corners and plates

  • Openings: a king stud runs full height on each side, a jack (trimmer) stud under each end of the header carries the load, and cripple studs fill above and below. Header sizes come from the tables in Section R602.7; see the header size chart.
  • Corners and intersections: extra studs give a nailing surface for interior finishes and tie the walls together.
  • Plates: one bottom plate and, under Section R602.3.2, a double top plate with end joints offset at least 24 inches. A single top plate is allowed only under that section's exception.

Step-by-step framing: how to frame a window and how to frame a door.

Draw the wall into a plan

Framing Plan is a free browser tool for preliminary floor and low-slope roof framing layouts. Draw joists, beams and openings and export PNG, PDF or DXF.

Open the framing studio

Frequently asked questions

How many studs do I need for a wall?

Divide the wall length in inches by the stud spacing, round up, then add one. A 12 ft wall at 16 inches on center needs 10 layout studs. Add extra studs at corners and intersections, plus king and jack studs at every opening, and a waste allowance. This calculator adds all of those and totals them.

Should studs be 16 or 24 inches on center?

It depends on the wall. Under 2021 IRC Table R602.3(5), a 2x4 bearing wall may be at 24 inches on center when it supports a roof-ceiling assembly only, but is limited to 16 inches when it supports one floor plus a roof. Sheathing, drywall and the framing above must also suit the spacing you choose.

How many studs go around a window or door?

This calculator assumes two king studs and two jack studs per opening, which is the usual minimum for a single opening. Cripple studs above and below the opening and the header itself are not counted. Wide openings may need doubled jacks or more kings, so follow the header tables and your plans.

Does the IRC require a double top plate?

Section R602.3.2 requires wood stud walls to be capped with a double top plate that overlaps at corners and intersections, with end joints offset at least 24 inches. A single top plate is allowed only under the section's exception, which includes tying the plate at corners and splices and centering rafters or joists over the studs.

How is plate length calculated?

Plates run the full length of the wall: one bottom plate and either one or two top plates. A double top plate means three runs, so a 20 ft wall needs 60 linear feet. Each run is cut from stock boards, so the number of boards is the boards per run times the number of runs.

Results are preliminary layout figures for planning. The building code edition and local amendments adopted where you build govern, and the building official has the final say.