GuideFences, Decks & Roofs

How far apart are wall studs, and how many do you need?

The usual stud spacing, what on center means, when the residential code table allows 24 inches, how to find studs in a finished wall and how to count the studs a wall needs.

Updated 10 min read

Short answer

Wall studs are usually spaced 16 inches on center: 16 inches from the middle of one stud to the middle of the next, which leaves a 14 1/2 inch gap between 1 1/2 inch studs. The residential code table also allows 24 inches on center in defined cases, such as a 2×4 wall that carries only a roof and ceiling. Check your local code for your wall.

Do the math for your project

Stud Calculator

Studs and plate boards for a wall framed at 12, 16 or 24 inches on center.

Open the Stud Calculator

What on center means, and the gap between studs

On center (OC) is the distance from the center line of one stud to the center line of the next. It is not the open space between them. A 2×4 stud is 1 1/2 inches thick once it is dried and planed (the actual size of a 2×4 is 1 1/2 × 3 1/2 inches), so the clear gap is the spacing minus 1 1/2 inches.

How each spacing divides a 48 × 96 inch sheet
Spacing on centerClear gap between studsSpaces across 48 inSpaces along 96 in
12 in10 1/2 in48
16 in14 1/2 in36
24 in22 1/2 in24

This Old House says most studs are placed at 16 inch intervals, and Zircon, a stud finder maker, describes standard walls as having studs spaced every 12, 16 or 24 inches. The Building America Solution Center of the US Department of Energy describes advanced framing that uses 2×6 studs at 24 inches. Which spacing your wall has depends on the plans, the lumber size, the loads above it and the local code.

The calculator offers the same three spacings. Enter the wall length and the spacing in the stud calculator to count the studs and the plate boards.

What the residential code says about stud spacing

Residential codes built on the International Residential Code (IRC) say, in section R602.3.1, that the size, height and spacing of studs shall be in accordance with Table R602.3(5), titled Size, height and spacing of wood studs. The figures below are the ones printed in that table in the 2025 California Residential Code and, under the number 5602.3(5), in the Massachusetts building code (780 CMR, 7th edition), which agree on these values. The printed table also has a row for 2×3 and 2×5 studs and a column for a wall that supports one floor only; the rows and columns shown here are the ones this guide uses. Spacings are in inches on center and heights are the laterally unsupported stud height in feet. The edition your city adopted, and any local amendment, may differ.

Table R602.3(5), bearing walls: maximum height (feet) and spacing (inches on center)
Stud sizeMax heightRoof and ceiling onlyOne floor plus roof and ceilingTwo floors plus roof and ceiling
2×4102416not listed
3×410242416
2×610242416
Table R602.3(5), nonbearing walls: maximum height (feet) and spacing (inches on center)
Stud sizeMax heightSpacing
2×41424
3×41424
2×62024

Read across a row. A 2×4 bearing wall up to 10 feet high may be 24 inches on center when it supports only a roof and ceiling, but must be 16 inches when it also supports one floor. A 2×6 bearing wall may be 24 inches with one floor above, and 16 inches with two. A nonbearing 2×4 partition up to 14 feet high may be 24 inches on center. Footnotes in the table say that 2×3 studs, listed for nonbearing walls at 16 inches, cannot be used in exterior walls, and that a habitable attic carried by 2×4 studs is limited to a 32 foot roof span.

The same section lists exceptions, and they differ by edition. In both codes read, utility grade studs may not be spaced more than 16 inches on center, may not support more than a roof and ceiling, and are limited to 8 feet high in exterior and load bearing walls or 10 feet in interior nonload bearing walls. The 2025 California code adds exceptions for 2×6 studs under light snow and wind and for exterior load bearing studs up to 12 feet, each with conditions, so read the exceptions of the edition your city adopted.

Check your local code: this is a summary of a published table, not a design. Wind, snow, seismic loads, the grade and species of the lumber and the sheathing all affect a real wall, and the building department or a licensed engineer has the last word.

Why 16 and 24 inches line up with 4 × 8 sheets

The APA, the engineered wood association, describes the traditional wood panel size as 48 inches by 96 inches, which is 4 × 8 feet. Both numbers are multiples of 12, 16 and 24, so a sheet edge can land on a stud center at each spacing.

  • At 16 inches: 48 ÷ 16 = 3 spaces across a sheet and 96 ÷ 16 = 6 spaces along it.
  • At 24 inches: 48 ÷ 24 = 2 spaces across and 96 ÷ 24 = 4 along.
  • At 12 inches: 48 ÷ 12 = 4 spaces across and 96 ÷ 12 = 8 along.

A stud is 1 1/2 inches thick, so a sheet edge that meets a stud center leaves 3/4 inch of the stud under each of the two sheets that share the joint. The table below measures from the center of the first stud. A 16 inch layout and a 24 inch layout share the studs at 48, 96 and 144 inches, which are the multiples of a sheet width.

Stud centers every 16 inches, measured from the center of the first stud
Center, in inchesCenter, in feetAlso a stud at 24 in?On a 48 in sheet edge?
161 ft 4 inNoNo
322 ft 8 inNoNo
484 ftYesYes
645 ft 4 inNoNo
806 ft 8 inNoNo
968 ftYesYes
1129 ft 4 inNoNo
12810 ft 8 inNoNo
14412 ftYesYes

APA trademarks can carry the notation Sized for Spacing, which shows a panel made slightly smaller than the traditional 48 by 96 inches: the manufacturer may trim it by up to 1/8 inch in length and width, to encourage proper panel spacing. To order the sheets themselves, use the plywood calculator or the drywall calculator.

How many studs do I need? A worked example

The stud calculator counts one stud at the start of the wall and one more at every spacing after it, then adds the extra studs you give it. This example is a 14 foot wall at 16 inches on center, between two exterior corners, with one window. The wall is 168 inches long.

Spaces = 168 ÷ 16 = 10.5, rounded up to 11
Studs along the wall = 11 + 1 = 12

Extras come from the plan. The Building America Solution Center notes that exterior wall corners are typically framed with three studs. Each wall's count already includes its two end studs, so a three stud corner needs 1 more stud than the two that the two walls count there. That extra stud belongs to only one of the two walls that meet at the corner, so on a whole house add 1 per corner, not 1 per wall end. This example gives both of its corners to this wall, which is 2. A window has a king stud and a jack stud on each side, which is 4. That makes 6 extra studs.

  • Studs framed: 12 + 6 = 18
  • With 10% waste: 18 × 1.10 = 19.8, rounded up to 20 studs
  • Plates, three layers: 14 × 3 = 42 ft, or 46.2 ft with waste, which takes 3 boards of 16 ft

The same wall at 24 inches on center needs 16 studs with the same extras, and at 12 inches it needs 24. Because 168 inches is not a multiple of 16, the last space is only 8 inches wide, since the end stud closes the wall.

Studs that fall inside the window opening are replaced by short cripple studs, so the extras are a slightly generous allowance, which is the safe side for an order. Your plan decides the real count.

Open this example in the stud calculator

How to find studs in a finished wall

Start with what the wall probably has: studs 12, 16 or 24 inches apart. Then confirm with one of these methods, and treat any measurement from a corner as a guide, not a guarantee.

  • Stud finder: Zircon says to scan until the tool finds a stud, mark both edges and the center, and anchor nails and screws into the center of the stud.
  • Outlets and switches: This Old House says electrical receptacles and light switches are almost always nailed to the side of a stud, and it measures out every 16 inches from that stud to find the edge of each following one. Turn off the power before you probe near an outlet.
  • Trim nails: carpenters nail baseboards and trim into studs, so nail holes along the baseboard show where they are.
  • Corner: This Old House starts at a corner, where there is always a stud, and measures 16, 32 and 48 inches. Pro Tool Reviews warns that the next stud is not always exactly 16 inches away, so use the corner together with another method.
  • Magnet: a strong magnet swept across the drywall will cling to a nail or screw in a stud.

Old plaster walls are harder: This Old House says that sophisticated stud finders cannot tell a stud from the wood lath. Before you drill a large hole or hang something heavy, probe with a small test hole, which is easy to repair.

Openings, corners and the parts of a wall frame

A wall has a bottom plate and a top plate that tie the studs together, and the calculator counts three plate layers by default: a bottom plate and a double top plate. Openings and corners add studs with names of their own.

Parts of a framed wall
PartWhat it is
King studThe full length stud on each side of a door or window.
Jack studA shorter stud nailed beside each king stud, which carries the header.
HeaderA horizontal framing piece directly above the door or window opening, reaching the king stud on each side.
Cripple studA short stud, for example below a window from the sill to the bottom plate, where a common stud would otherwise have been.
Corner studsExterior wall corners are typically framed with three studs, the third mainly giving a nailing edge for interior drywall.

These definitions follow the Building America Solution Center. It also says that extra studs are often installed around windows and doors even when they are not needed to carry loads, and it recommends framing a house on a 2 foot grid with 2×6 studs at 24 inches and aligning windows and doors with that spacing, which reduces the extra king studs. That is one reason the 24 inch spacing exists. The code decides whether your wall may use it.

Common mistakes with stud spacing

  • Measuring the gap instead of the center. A 16 inch gap between studs is 17 1/2 inches on center, not 16.
  • Assuming every wall is 16 inches on center. Zircon lists 12, 16 and 24 inches as the standard options, and Pro Tool Reviews notes the next stud is not always exactly 16 inches away. Find at least two studs before you trust a spacing.
  • Counting studs for the wall length alone. Corners, openings and any extra framing on the plan are extra studs, and the calculator takes them from you as a number.
  • Choosing 24 inches to save lumber without checking the table. A 2×4 bearing wall that also carries a floor is at 16 inches in the table, and a 2×4 wall in a habitable attic has a roof span limit.

If the wall is load bearing, taller than 10 feet, in a high wind or seismic area or part of a structural change, ask the local building department or a licensed professional before cutting or moving studs.

Frequently asked questions

Are interior wall studs also 16 inches apart?

Often, yes. Sixteen inches on center is the usual spacing, and the residential code table lets a nonbearing 2×4 wall up to 14 feet high go to 24 inches. Your plans and your local code decide which one applies.

How wide is the space between two studs?

At 16 inches on center the clear gap is 14 1/2 inches, and at 24 inches on center it is 22 1/2 inches, because each 2×4 stud is 1 1/2 inches thick.

Why are studs placed 16 inches apart?

Sixteen inches is the usual spacing, and it fits the standard sheet: a 48 inch sheet holds exactly three 16 inch spaces and a 96 inch sheet holds six, so the edges of 4 × 8 sheets land on a stud center. The same sheet holds two 24 inch spaces across and four along.

Is the first stud 16 inches from the corner?

Not reliably. A corner always has a stud, but the next one is not always exactly 16 inches away, so measure from the corner as a guide and confirm with a stud finder, an outlet box or trim nails.

Can studs be more than 24 inches apart?

The residential code table lists no spacing above 24 inches for the sizes it shows. A wider spacing is a question for the local building department or an engineer.

Sources

  1. Massachusetts State Building Code, 780 CMR 7th edition, Chapter 56 Wall Construction (5602.3.1, Table 5602.3(5))mass.gov
  2. California Residential Code 2025, as published on GoCodeBook: Stud size, height and spacing (R602.3.1, Table R602.3(5))gocodebook.com
  3. APA, The Engineered Wood Association: Sized for Spacingapawood.org
  4. Building America Solution Center (US DOE, PNNL): Advanced Framing, Minimal Framing at Doors and Windowsbasc.pnnl.gov
  5. Building America Solution Center (US DOE, PNNL): Advanced Framing, Insulated Cornersbasc.pnnl.gov
  6. This Old House: How To Find a Stud Without a Stud Finderthisoldhouse.com
  7. Pro Tool Reviews: How to Find a Wall Studprotoolreviews.com
  8. Zircon: How to Use a Stud Finderzircon.com

Last updated . Free to read, no sign-up. How we check our numbers.