Stud Count Calculator
- A 20 ft wall is 240 inches long; at 16 inches on centre that is 15 spaces — and every run of spaces needs one more stud than the space count, for the starting end: 15 + 1 = 16 studs.
- Order 18 to cover the warped and split boards in every bundle (about 10%), plus extra for corners, T-intersections and around openings, which each add studs this straight-run count does not include.
- Plates run the wall's length three times — one bottom plate, two top plates — 60 linear feet, or 8 boards bought as 8-footers.
A stud calculator tells you how many wall studs you need for a framing project. The core stud count is floor(wall length ÷ spacing) + 1, because you always need one more stud than the number of spaces to account for the starting end. For example, a 20 ft wall at 16 in on centre needs 16 studs (15 spaces + 1), and you should buy 18 to allow 10% for culls. A 12 ft wall at 24 in on centre needs 7 studs, while a 30 ft wall at 16 in on centre needs 23 studs, and you should buy 26.
This method is the accepted standard for stud calculation because it mirrors how framing is actually built: plates run the wall length three times (one bottom plate and a double top plate), so a 20 ft wall uses 60 linear feet of plating, or 8 boards bought as 8-footers. Corners, T-intersections, and window and door openings each need extra studs, including king and jack studs, beyond the straight-run count. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify the results yourself.
Worked examples
A 20 ft wall at 16 inches on centre
15 spaces plus the starting stud = 16 studs; buy 18 to cover culls, and 60 linear ft of plates. (20 ft · 16 in — standard load-bearing)
| Studs needed | 16 |
| Buy quantity (with 10% for culls and cuts) | 18 |
| Plate lumber (bottom + double top plate) | 60 linear ft |
| Plate boards if bought as 8-footers | 8 |
A 12 ft wall at 24 inches on centre
7 studs — wider spacing saves lumber but needs the wall to be non-load-bearing or engineered for it. (12 ft · 24 in — advanced framing / non-load-bearing)
| Studs needed | 7 |
| Buy quantity (with 10% for culls and cuts) | 8 |
| Plate lumber (bottom + double top plate) | 36 linear ft |
| Plate boards if bought as 8-footers | 5 |
A 30 ft wall at 16 inches on centre
23 studs (22 full spaces and a partial one still needs its end stud); buy 26. (30 ft · 16 in — standard load-bearing)
| Studs needed | 23 |
| Buy quantity (with 10% for culls and cuts) | 26 |
| Plate lumber (bottom + double top plate) | 90 linear ft |
| Plate boards if bought as 8-footers | 12 |
The spaces-plus-one rule
The core of any stud calculator is a simple idea that trips up many builders: a wall with 15 spaces requires 16 studs. The formula is floor(wall length ÷ spacing) + 1, where the plus one accounts for the starting end of the wall. This is the fencepost error in carpentry clothes. Just as a fence with 10 gaps needs 11 posts to close the run, a wall with 15 stud bays needs 16 studs to close both ends. Forget that extra stud and your wall comes up short at one end, leaving a gap where a stud should stand.
Consider a verified example. A 20 ft wall framed at 16 in on centre needs 16 studs. The math works out to 15 spaces plus 1 for the starting end, giving you 16 studs in the straight run. But you should buy 18 studs, holding back 10 percent for culls. Lumber is imperfect, and a warped or split stud is useless for a load-bearing wall, so the extra two studs cover waste without a second trip to the lumberyard. The same logic scales to other wall lengths: a 12 ft wall at 24 in on centre needs 7 studs, while a 30 ft wall at 16 in on centre needs 23 studs, and you should buy 26 to account for culls.
The stud count is only part of the material list. Plates run the wall length three times: one bottom plate and a double top plate. For that same 20 ft wall, the plates total 60 linear ft, which means you buy 8 boards as 8-footers. The plates tie the studs together and carry the load down through the structure, so the double top plate is not optional. A stud calculator that ignores the plates leaves you short on framing day.
Finally, the straight-run stud count assumes an unbroken wall with no openings. Corners, T-intersections, and window and door openings each need extra studs beyond the straight-run count. Every window and door requires king and jack studs to carry the header and transfer the load around the opening. Corners and T-intersections need additional studs to provide nailing surfaces for interior sheathing and drywall. Add these extras after you compute the base count, because they depend on the specific layout of the wall, not just its length.
Worked examples
The worked examples below show how the stud calculator formula plays out on real wall lengths. Stud count is floor(wall length ÷ spacing) + 1, because you need one more stud than the number of spaces to account for the starting end. Each example lists the calculated stud count, the buy quantity with 10% added for culls, and the plate material needed.
A 20 ft wall framed at 16 in on centre needs 16 studs, which breaks down as 15 spaces plus 1 for the starting end. Buy 18 studs to allow 10% for culls. The plates run the wall length three times — one bottom plate and a double top plate — so the 20 ft wall needs 60 linear ft of plate material, which equals 8 boards bought as 8-footers.
The 12 ft wall at 24 in on centre comes out to 7 studs. The longer 30 ft wall at 16 in on centre needs 23 studs, and you should buy 26 to cover the 10% cull allowance. These counts assume a straight run of framing with no interruptions.
Keep in mind that the stud calculator numbers above cover only the straight-run count. Corners, T-intersections, and window and door openings each need extra studs — including king and jack studs — beyond what the table shows. Add those separately based on your specific wall layout.
| Wall length | Spacing (in on centre) | Studs needed | Buy quantity (with 10% for culls) | Plate material |
|---|---|---|---|---|
| 20 ft | 16 | 16 | 18 | 60 linear ft (8 boards as 8-footers) |
| 12 ft | 24 | 7 | Not specified | Not specified |
| 30 ft | 16 | 23 | 26 | Not specified |
16 vs 24 inches on centre
The two standard stud spacings in residential framing are 16 inches on centre and 24 inches on centre. Your choice changes the stud count, the material cost, and how the wall performs. A stud calculator applies the same formula either way: floor(wall length ÷ spacing) + 1, because you always need one more stud than the number of spaces to account for the starting end. The difference shows up quickly in real walls. A 20 ft wall at 16 in on centre needs 16 studs (15 spaces + 1), and you should buy 18 with 10% allowed for culls. That same 20 ft wall at 24 in on centre would need fewer studs, which is part of the reason the wider spacing exists.
Sixteen inches on centre remains the default for most builders and most building departments. It provides solid support for wall sheathing and interior drywall, and it keeps deflection low enough that finishes resist cracking under normal loads. A 30 ft wall at 16 in on centre needs 23 studs; buy 26 to cover waste and culls. The closer spacing also handles heavier loads without extra engineering, which is why it shows up in load-bearing walls, tall walls, and areas where the building code or local habit favors conservative framing.
Twenty-four inches on centre is legitimate when it is part of advanced framing, also called optimum value engineering. In that system, the wall is designed as a complete assembly: studs align with floor joists and roof framing, top plates may be single rather than doubled, and openings are sized to fall on stud layout so extra framing is minimized. Sheathing and drywall rated for 24 in spacing must be used, and the wall must still meet structural requirements for the load it carries. When those conditions are met, 24 in on centre reduces lumber use and leaves more room for insulation between studs.
Twenty-four inches on centre is not appropriate when the wall carries heavy loads the spacing was not designed for, when local code does not allow it for a given application, or when the sheathing and drywall are not rated for the wider spacing. It is also a poor choice for walls with many openings unless the framing is carefully laid out, because corners, T-intersections, and window and door openings each need extra studs — king and jack studs — beyond the straight-run count. A 12 ft wall at 24 in on centre needs 7 studs on the simple count, but openings add to that total fast.
Whatever spacing you choose, remember that plates run the wall length three times: one bottom plate and a double top plate. For the 20 ft wall, that is 60 linear ft of plate material, which means 8 boards bought as 8-footers. Plates, corners, and openings all push the real purchase quantity above the straight stud count.
The extras this count doesn't include
The basic stud calculator formula — floor(wall length ÷ spacing) + 1 — gives you one more stud than the number of spaces, which accounts for the starting end of a straight run. But that count only covers the studs in an unbroken wall. Real walls have corners, T-intersections where interior walls meet exterior walls, and openings for windows and doors. Each of these features calls for extra studs that the straight-run total does not include.
Corners typically require 2 to 3 extra studs per corner, depending on the framing method used. A standard corner often uses three studs set so that each intersecting wall has something to nail into. T-walls, where one wall meets another mid-run, usually need two or three extra studs at the intersection as well. For every corner in your project, add 2 to 3 studs beyond what the stud calculator returned. For every T-intersection, do the same. Count the total number of corners and T-walls on your layout, multiply accordingly, and add that to your base count.
Window and door openings each require king studs, jack studs (also called trimmer studs), and a header. The king studs run full height along the sides of the opening, while the jack studs sit inside the kings and help support the header above. A typical opening needs two king studs and two jack studs — one pair on each side — though wider openings may call for additional jack studs or even a second king stud pair. The header itself is usually built from dimensional lumber, which means extra material beyond the stud count. For each opening, plan on adding roughly four studs to cover the kings and jacks, and adjust upward for wider openings.
Blocking is another item the base count leaves out. Short blocks of stud material are nailed between studs at mid-height to support the edges of drywall, siding, or sheathing. The amount of blocking depends on wall height and what the wall will carry, but a common approach is one row of blocking at roughly mid-wall. For a wall framed at standard spacing, figure one block per stud bay per row of blocking. Multiply the number of bays by the number of blocking rows to estimate how many extra stud-length pieces you will need to cut.
Once you have added studs for corners, T-walls, openings, and blocking, apply a waste allowance on top of the combined total. The verified examples on this page show the pattern: a 20 ft wall at 16 in on centre needs 16 studs, and you buy 18 with a 10% cushion for culls. A 30 ft wall at 16 in on centre needs 23 studs, and you buy 26. Add your feature extras first, then round up by about 10% to cover damaged boards and cutting errors.
- Add 2 to 3 studs for each corner, depending on framing style.
- Add 2 to 3 studs for each T-intersection where walls meet mid-run.
- Add about 4 studs per window or door opening for king and jack studs; add more for wider openings.
- Add one block per stud bay per row of blocking for mid-height support.
- Apply a 10% waste allowance after adding all extras — for example, buy 18 studs when the base count is 16, or buy 26 when the base count is 23.
Plates: the lumber people forget
Plates: the lumber people forget
A stud calculator will tell you how many vertical studs to buy, but it will not remind you about the horizontal plates that tie the wall together. Plates run the wall length three times: one bottom plate and a double top plate. That adds up fast, and it is the most common reason a framing crew makes a second trip to the lumberyard.
For the verified 20 ft wall at 16 in on centre, the stud calculator gives you 16 studs (15 spaces plus 1 for the starting end), and you buy 18 with 10 percent added for culls. Now add the plates. Three runs of 20 ft equals 60 linear feet of plate material. If you buy 8-foot boards, that is 8 boards just for the plates. So the 20 ft wall that needed 18 studs also needs 8 boards for plates, bringing the total to 26 boards before you account for corners, T-intersections, and openings.
Some building codes allow a single top plate instead of a double top plate when certain conditions are met, such as adequate stud-to-plate connection and wall panel sheathing. Where code allows it, plates run the wall length twice instead of three times, which drops the 20 ft wall from 60 linear feet down to 40 linear feet. That is 5 boards bought as 8-footers instead of 8. Always confirm what your local code requires before you cut your lumber list down.
The plate count is separate from the extra studs your stud calculator will not include. Corners, T-intersections, and window and door openings each need extra studs — king studs and jack studs — beyond the straight-run count. The 16-stud figure for that 20 ft wall assumes a plain wall with no breaks. Every door and window adds king studs on the sides, jack studs under the header, and often a cripple stud above. A 30 ft wall at 16 in on centre needs 23 studs on the straight run, and you buy 26 with waste, but a wall that long usually has at least one door or window, so plan for more.
Buying: culls and the 10% rule
When you use a stud calculator to plan a wall, the count it gives you is the minimum number of studs needed for the straight run. A 20 ft wall at 16 in on centre needs 16 studs, which is 15 spaces plus one extra for the starting end. But you should never buy exactly that number. Every bundle of lumber has warped, twisted, or split boards, and you need extras to replace them.
The standard practice is to add 10% to the stud count for culls. Culls are the boards you reject because they are not straight enough to use. To check a board, sight down its length the way you would sight down a rifle barrel. Hold one end up to your eye and look along the edge to the far end. If the board bows, twists, or cups badly, set it aside. A stud that is not straight will throw your wall out of plumb and make every step harder.
This is why the buy quantity rounds up. For the 20 ft wall example, the stud calculator gives you 16 studs for the wall itself. Adding 10% for culls means you need 17.6 studs, which rounds up to 18. You buy 18, use the 16 best ones, and return or save the extras. The same rule applies to other walls: a 30 ft wall at 16 in on centre needs 23 studs, and you buy 26 with the 10% added.
Keep in mind that the cull allowance covers only the straight-run studs. Corners, T-intersections, and window and door openings each need extra studs, including king and jack studs, beyond what the straight-run count gives you. Plan those additions separately so you do not come up short at framing time.
FAQs
How many studs do I need for a 20 ft wall?
At 16 in on centre, you need 16 studs for the run — 15 spaces plus the end stud. Buy about 18 to cover culls, plus extras for corners and openings. This gives you a working buffer so damaged boards do not slow the job.
Why is it spaces plus one?
Every run of spaces is bounded by studs at both ends: 15 spaces need 16 studs. This is the same fencepost logic as fence posts and panels, where each gap requires a support on either side to close the span.
How far apart are wall studs?
16 inches on centre is the standard for load-bearing walls; 24 inches is used in advanced framing and some non-load-bearing walls. The spacing you choose affects insulation depth, material cost, and how wall finishes are supported.
How much plate lumber do I need?
You need three times the wall length: a bottom plate plus a double top plate. For a 20 ft wall, that comes out to 60 linear ft of plate lumber. Order plate stock in lengths that minimize waste and end joints.
Do I need extra studs for a window or door?
Yes — each opening typically adds two king studs, two jack studs and header material beyond the straight-run count. These extra pieces frame and carry the load around the opening, so they are not optional.
Should I buy exactly the calculated number?
No — add about 10% for warped or split boards. The 20 ft example buys 18 against a calculated 16. Buying slightly more than you need keeps the job moving when a board is unusable or a cut goes wrong.