Lelifi·tools

Stud Spacing Calculator

A 12 foot wall at 16 inches on center takes 10 studs on layout and 14 with corners and a door. Those 14 studs plus 5 plate boards come to 19 boards and $85.50 at $4.50 each, and 24 inch spacing cuts the same wall to 16 boards.

Enter the wall length, spacing and the number of corners and openings to get the stud count, the plate boards and the lumber bill.

By the Lelifi editors ·

Key takeaways

Where the 14 studs on a 12 foot wall come from10 studs2 studs2 studsOn layout (10 studs)Corners (2 studs)Door and window (2 studs)
A 12 foot wall at 16 inches on center: 10 studs on layout, 2 for corners, 2 for one door.
The math behind the calculator12 x 12 = 144 inches of wall144 / 16 = 9 spaces9 + 1 = 10 studs on layout+ 2 corners and + 2 for one door= 14 studs, 19 boards, $85.50Assumes 8 foot studs, three plate runs and $4.50 per 2x4.
The same wall end to end, from inches of wall to boards and dollars.
On this page
  1. The stud count formula, step by step
  2. Why 16 inches is the default and when 24 inches works
  3. Corners, openings and wall intersections add studs
  4. A 24 foot garage wall at two spacings
  5. Stud counts by wall length
  6. Lumber cost, waste and what to buy
  7. Layout mistakes that waste a day

The stud count formula, step by step

Studs start at one end of the wall and repeat every 16 inches, so the count is the number of spaces between them plus one. Work in inches, because a wall that measures 11 feet 7 inches is 139 inches, and that is the number you divide.

For a 12 foot wall: 12 x 12 = 144 inches, then 144 / 16 = 9 spaces, then 9 + 1 = 10 studs. Set the spacing to 24 inches and the same wall needs 144 / 24 = 6 spaces, so 6 + 1 = 7 studs. The count drops by three studs with no change in wall length.

The calculator adds one more layer. A real wall has corners, doors and windows, and each of those takes studs that a pure layout count ignores. On the same 12 foot wall, 2 outside corners and 1 door bring the total to 10 + 2 + 2 = 14 studs.

Spacing of 19.2 inches is a third option that shows up in older plans and in some engineered wall systems. It lands 5 studs on an 8 foot sheet, because 96 / 19.2 = 5, which lines up drywall edges without cutting. It is legal in many cases and rarely used on new work.

Why 16 inches is the default and when 24 inches works

Wood framed homes have used 2x4 studs at 16 inches on center since the 1940s, and the prescriptive tables in the residential code are built around that number. Wider spacing is allowed. The International Residential Code wall chapter permits 2x6 studs at 24 inches on center to carry one floor and a roof above, which covers most first floor walls in a two story house.

The Department of Energy measured what that change is worth. Its Building America advanced framing study found that the technique can cut the number of studs in a wall by up to one third. In one study of a 2,910 square foot home, moving from 2x4 at 16 inches to 2x6 at 24 inches used 1,634 fewer board feet of lumber and cut lumber cost by $171. The same program measured 13 percent lower energy use, because each stud is a spot where insulation cannot go and wood moves heat about four times faster than insulation.

Two limits decide which spacing you can use. The stud has to be sized for the load above it, and the sheathing and drywall have to be rated for the span between studs. A 24 inch wall usually means 2x6 studs, and 5/8 inch drywall where the wall is a rated fire separation. The Building Science guide to advanced framing walks through the details of corners and headers. When the plan is unclear, 2x4 at 16 inches is the answer that never needs an engineer.

Corners, openings and wall intersections add studs

A layout count puts one stud at the end of the wall. A corner needs two, one for each direction of wall, so every outside corner adds a stud. That is why a simple 10 foot wall with a corner on each end comes out higher than the layout number.

Doors and windows add two studs each: the king studs that frame the opening on both sides. The header above the opening sits between them and does not change the count. An intersecting wall, the kind that forms a closet or divides two rooms, takes two more studs so the second wall has something to nail to.

FeatureStuds to addWhy
Outside corner1 per cornerBoth wall faces need a nailing edge
Door or window2 per openingKing stud on each side of the opening
Wall that ties in2 per intersectionBacking for the second wall
Wall over 8 ft tall1 per 4 ft of wallBlocking row, not a full stud

Skip this step and the wall comes up short at the worst moment, usually after the lumber run. Counting corners and openings before you buy is the difference between one trip to the yard and three.

A 24 foot garage wall at two spacings

Take a 24 foot wall with one outside corner and no openings, priced at $4.50 for an 8 foot 2x4. At 16 inches on center the layout needs 288 / 16 = 18 spaces, so 18 + 1 = 19 studs, plus 1 for the corner for 20 studs. The plates take three runs of 24 feet, which is 72 feet, or 9 boards of 8 feet. Total: 29 boards at $130.50.

At 24 inches on center the layout needs 288 / 24 = 12 spaces, so 13 studs, plus 1 for the corner for 14 studs. Plates stay at 9 boards. Total: 23 boards at $103.50. The wider spacing saves 6 boards and $27.00 on one wall, and the saving grows with every wall in the house.

Wall lengthBoards at 16 inCost at 16 inBoards at 24 inCost at 24 inSaved
8 ft11$49.509$40.50$9.00
12 ft16$72.0013$58.50$13.50
16 ft20$90.0016$72.00$18.00
20 ft25$112.5020$90.00$22.50
24 ft29$130.5023$103.50$27.00

Prices assume one corner, no openings and $4.50 per 8 foot 2x4. Plates are counted at three runs of the wall length: one bottom plate and a double top plate, which is standard practice for a bearing wall.

Stud counts by wall length

The table below is the layout count only, before corners and openings. Read across to compare spacings, then add 1 stud per corner and 2 per opening to reach the number you buy.

Wall lengthStuds at 12 inStuds at 16 inStuds at 19.2 inStuds at 24 in
8 ft9765
10 ft11986
12 ft131097
16 ft1713119
20 ft21161411
24 ft25191613

Two things stand out. A 10 foot wall at 16 inches needs 9 studs, not 8, because the extra stud closes the last bay. And 19.2 inch spacing tracks close to 16 inch spacing on short walls but pulls ahead on long ones, which is why it was popular for 8 foot sheet goods.

Lumber cost, waste and what to buy

The count from the calculator is the number of boards the wall needs. The number you buy is a little higher. Add 5 percent for a clean wall and 10 percent when the wall has several openings, because cutoffs from around windows rarely find a second use. On a 19 board wall that is 1 extra board at 5 percent and 2 at 10 percent.

Plates are the part people forget. A wall takes one bottom plate and two top plates, so a 12 foot wall needs 36 feet of plate, or 5 boards of 8 feet. Buy 16 foot boards for long walls when you can: fewer joints, and a double top plate has to lap at least 4 feet at every break.

Volume pricing matters more than people expect. One 8 foot 2x4 is 2 x 4 x 8 / 12 = 5.33 board feet, so a 19 board wall is about 101 board feet of lumber. Framing lumber moves with the market, and a stud that costs $3.20 in a slow month can cost $6.00 in a busy one, which is why the calculator takes the price as an input instead of guessing it.

Check the grade stamp before you load the truck. Stud grade 2x4 is the normal choice for interior and non bearing walls. Walls that carry a floor above need a higher grade and a nailing schedule from the plan, and no calculator can replace that.

Layout mistakes that waste a day

Mark from one end and keep the tape hooked on the same corner for the whole wall. Flipping the tape around to measure from the other end is how walls come out an inch long at the last bay. Mark an X on the side of the line where the stud goes, and keep that convention for every mark on the job.

Check the diagonals before you nail anything. A 12 foot by 8 foot wall has a diagonal of 14.42 feet, because 144 + 64 = 208 and the square root of 208 is 14.42. Both diagonals have to match within 1/8 inch, or the wall is a parallelogram and every sheet good on it will show the error.

Plan backing while the wall is flat on the floor. Grab bars, wall cabinets, a wall mounted TV and a stair rail all need solid wood where the hardware lands, and adding it after the drywall is up means cutting holes. Fire blocking at the top of a tall wall is also easier now than later.

Last, keep the top plate joints away from the corners. A double top plate laps at least 4 feet past the joint below it, and a joint that lands in a corner cannot lap at all.

Frequently asked questions

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

Ten studs at 16 inches on center, before corners and openings. The math is 144 / 16 = 9 spaces, then 9 + 1 = 10 studs. At 24 inches on center the same wall takes 7 studs. Add 1 per corner and 2 per door or window.

How do I calculate studs at 16 inches on center?

Convert the wall length to inches, divide by 16, round up, and add one. A 20 foot wall is 240 inches, so 240 / 16 = 15 spaces and 16 studs on layout.

Do I add a stud for each corner?

Yes. A corner needs two studs so both wall faces have a nailing edge, and the layout already counts one of them. A wall with 2 outside corners needs 2 extra studs.

How many extra studs does a door need?

Two, one king stud on each side of the opening. A 3 foot door in a 12 foot wall takes the layout count from 10 to 12 studs, before corners.

Is 24 inch stud spacing allowed?

In many cases, yes. The International Residential Code permits 2x6 studs at 24 inches on center to support one floor and a roof. The Department of Energy reports that this step alone can cut stud count by up to one third.

How many studs are in a 10 by 10 room?

About 35 studs for the four walls. The perimeter is 40 feet, so 480 / 16 = 30 spaces and 31 studs, plus 4 for the corners. Doors and windows add 2 each.

What is 19.2 inch stud spacing?

A spacing that puts 5 studs on an 8 foot sheet, since 96 / 19.2 = 5. It lines up drywall joints without cutting and shows up in older plans and some engineered systems.

How much does a 2x4 stud cost?

Between $3 and $6 for an 8 foot stud grade 2x4 in most markets, with wide swings by region and season. At $4.50, a 19 board wall costs $85.50.

How many 2x4s do I need for a 20 foot wall?

Twenty six boards at 16 inches with 2 corners: 18 studs plus 8 plate boards. At 24 inches on center it drops to 21 boards.

Do I need blocking between studs?

For cabinets, grab bars, a wall mounted TV and stair rails, yes. Blocking is flat 2x4 or 2x6 nailed between studs where the hardware lands, and it costs minutes while the wall is open.

How much waste should I add to the stud count?

Five percent for a plain wall and 10 percent when there are several openings. On a 19 board wall that means buying 20 or 21 boards.

What length studs do I buy for an 8 foot wall?

Precut studs sold as 92 5/8 inches, because three plates add 3 inches to the 96 inch wall height. Full 8 foot boards work too if you cut them on site.

Does wider stud spacing change insulation?

Yes. Fewer studs means more cavity for insulation and less thermal bridging, and the Department of Energy measured 13 percent lower energy use in one study of advanced framed walls.

Spotted a wrong number or a broken result?

More Home Improvement tools

See all Home Improvement tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.