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.
| Studs to buy | |
| Studs on layout | |
| Added for corners | |
| Added for openings | |
| Plate boards (8 ft) | |
| Total 2x4 boards | |
| Linear feet of 2x4 | |
| Lumber cost | |
| Same wall at 24 in spacing | |
| Saved by wider spacing |
Assumes 8 foot studs and three plate runs. All calculations run in your browser, and nothing you type is uploaded.
Enter the wall length, spacing and the number of corners and openings to get the stud count, the plate boards and the lumber bill.
Key takeaways
- Studs on layout = wall inches / spacing + 1, so a 12 foot wall at 16 inches gets 10 studs
- Each corner adds 1 stud and each door or window adds 2 king studs
- Plates take 3 runs of the wall length: 12 feet of wall needs 36 feet of plate, or 5 boards
- Moving a 12 foot wall from 16 to 24 inches on center drops it from 14 to 11 studs
On this page
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.
| Feature | Studs to add | Why |
|---|---|---|
| Outside corner | 1 per corner | Both wall faces need a nailing edge |
| Door or window | 2 per opening | King stud on each side of the opening |
| Wall that ties in | 2 per intersection | Backing for the second wall |
| Wall over 8 ft tall | 1 per 4 ft of wall | Blocking 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 length | Boards at 16 in | Cost at 16 in | Boards at 24 in | Cost at 24 in | Saved |
|---|---|---|---|---|---|
| 8 ft | 11 | $49.50 | 9 | $40.50 | $9.00 |
| 12 ft | 16 | $72.00 | 13 | $58.50 | $13.50 |
| 16 ft | 20 | $90.00 | 16 | $72.00 | $18.00 |
| 20 ft | 25 | $112.50 | 20 | $90.00 | $22.50 |
| 24 ft | 29 | $130.50 | 23 | $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 length | Studs at 12 in | Studs at 16 in | Studs at 19.2 in | Studs at 24 in |
|---|---|---|---|---|
| 8 ft | 9 | 7 | 6 | 5 |
| 10 ft | 11 | 9 | 8 | 6 |
| 12 ft | 13 | 10 | 9 | 7 |
| 16 ft | 17 | 13 | 11 | 9 |
| 20 ft | 21 | 16 | 14 | 11 |
| 24 ft | 25 | 19 | 16 | 13 |
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
- ADU Cost Calculator
- Acreage Calculator
- Aggregate Cost Calculator
- Air Conditioner Room Size & BTU Calculator
- Aluminum Fence Cost Calculator
- Asphalt Calculator
- Awning Cost Calculator
- Bathtub vs Shower Footprint Calculator
- Bleach Dilution Calculator
- Block Mortar Calculator
- Board Footage Calculator
- Board and Batten Layout Calculator
- Board and Batten Siding Calculator
- Board on Board Fence Calculator
- Borax Ant Killer Calculator
- Brick Calculator
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.