Wall Framing Calculator
Enter a wall as length by height, pick 16 or 24 in on center, and add the door and window openings to get the stud count, the plate footage, and the length to cut the studs. The charts below cover the four places a framing takeoff usually goes wrong.
Studs needed: 19
Stud cut length: 91.50 in
Bottom plate: 24 linear ft
Top plate (doubled): 48 linear ft
Plate stock total: 72 linear ft
How it works
Enter one wall at a time as length by height in feet. Frame each wall of a room separately rather than adding the perimeter into one number, because the corners need their own studs and a single long run will not account for them.
Pick the spacing your plan calls for. Sixteen inches on center is the default for most load-bearing walls; 24 in O.C. is common in non-bearing partitions and in advanced framing, and it drops the stud count by roughly a third.
Add the number of doors and windows. Each one adds two king studs and two jack studs to the count — openings add lumber to a wall, they do not remove it. The stud cut length shown is wall height minus the three plate thicknesses, which is what makes the finished wall land on the height you typed.
Reference chart
Studs per wall by length and spacing (the stud closing the end is included)
| Wall length | Studs at 16 in O.C. | Studs at 24 in O.C. |
|---|---|---|
| 8 ft | 7 | 5 |
| 10 ft | 9 | 6 |
| 12 ft | 10 | 7 |
| 16 ft | 13 | 9 |
| 20 ft | 16 | 11 |
| 24 ft | 19 | 13 |
| 32 ft | 25 | 17 |
On center is a centerline, not a gap
Sixteen inches on center means the centre of one stud to the centre of the next, not the clear space between them. The gap you can actually reach into is 14.5 inches, because 1.5 inches of stud thickness sits inside every 16 inch interval. That is why a batt of insulation is sold at 15 inches wide and a sheet of drywall breaks on 16 inch marks — everything downstream of the frame is dimensioned off the centreline, not off the cavity.
The count follows from the same idea. A 24 ft wall is 288 inches, which divides into 18 bays at 16 in O.C., and each bay starts with a stud. That is 18 studs, and then one more closes the far end of the wall: 19, not 18. Almost every framing order that arrives one stud short did the division and forgot the end.
Walls that are not an exact multiple of the spacing need one more stud again, not one less. A 10 ft wall is 120 inches, or seven and a half bays. The half bay at the end is still a bay and still starts with a stud, so the layout runs 0, 16, 32 and so on to 112, and then the end stud lands at 120 — nine studs. Rounding that 7.5 down instead of up is the second most common way to come up short, and it is why the chart above uses round-up arithmetic throughout.
Where the studs land on a 24 ft wall at 16 in on center
| Measurement | Figure |
|---|---|
| Wall length | 24 ft = 288 in |
| Bays at 16 in O.C. | 288 / 16 = 18 |
| Studs starting a bay | 18 |
| Stud closing the far end | 1 |
| Total studs in the layout | 19 |
| Clear cavity between studs | 14.5 in |
The top plate is doubled, so plate stock is three times the wall
A stud wall has one bottom plate and two top plates. Estimating it as one of each — a plate top and bottom, so twice the wall length — is a quiet way to come up 24 ft short on a 24 ft wall, and it is common enough that it is worth stating plainly: plate stock is three times the wall length, not two.
The second top plate is doing real work. It laps the joints in the first one, which ties the wall sections into a continuous member instead of a row of separate panels, and it laps the corners and the intersections so the walls act together. It also gives the joists and trusses above a continuous bearing surface that is not sitting on a butt joint. The one place you will see a single top plate is in a non-bearing partition detailed for it, and even there the plan has to say so.
Buy plates in lengths that suit the wall rather than to the exact footage. A 24 ft wall wants 72 linear feet of plate, but if you buy that as six 12 ft sticks the joints in the two top plates will want to land in different bays, and you will be cutting. The usual approach is to run the bottom plate and the first top plate to the same layout, then stagger the second top plate by at least one stud bay.
Plate linear feet by wall length (one bottom plate, two top plates)
| Wall length | Bottom plate | Top plate (doubled) | Plate stock total |
|---|---|---|---|
| 8 ft | 8 ft | 16 ft | 24 ft |
| 10 ft | 10 ft | 20 ft | 30 ft |
| 12 ft | 12 ft | 24 ft | 36 ft |
| 16 ft | 16 ft | 32 ft | 48 ft |
| 20 ft | 20 ft | 40 ft | 60 ft |
| 24 ft | 24 ft | 48 ft | 72 ft |
| 32 ft | 32 ft | 64 ft | 96 ft |
Openings cost lumber, they do not save it
The intuition is that a door is a hole, and a hole means fewer studs. It goes the other way. The full-height studs that would have crossed the opening come out, and in their place go two king studs running floor to top plate, two jack studs cut to header height to carry the header down to the bottom plate, the header itself, and a row of cripple studs above the header continuing the layout up to the top plate. A window adds a rough sill and a second row of cripples below it. The net is usually the same lumber or more, and it is more pieces and more cuts either way.
That is why this calculator adds four studs per opening rather than deducting anything. It is the conservative direction, and on a wall with two or three openings it is the difference between finishing the wall and driving back to the yard. The header and the cripples are not in the count, because their size depends on the opening width and on what the wall is carrying — see the next two sections.
This is the same trap that catches siding estimates from the other side, and it is worth naming once: deducting for openings and then also skipping the allowance for the extra pieces they generate is doing half of two different methods. Pick one. On framing, the safe half is to not deduct at all.
Pieces each door or window opening adds to a wall
| Piece | Count per opening | What it does |
|---|---|---|
| King stud | 2 | Full height, one each side, nailed to the header assembly |
| Jack (trimmer) stud | 2 | Cut to header height, carries the header to the bottom plate |
| Header | 1 assembly | Spans the opening and takes load to the jack studs |
| Cripple stud above header | Varies with width and spacing | Continues the stud layout from the header to the top plate |
| Rough sill | 1 (windows only) | Closes the bottom of the opening |
| Cripple stud below sill | Varies (windows only) | Carries the sill down to the bottom plate |
Why a pre-cut stud is 92 5/8 inches and not 96
Walk into any yard and the stud for an 8 ft wall is 92 5/8 inches, which looks like someone lost three and a bit inches. Add the plates back and it resolves: 92 5/8 plus three plate thicknesses at 1.5 inches each is 97 1/8 inches of finished wall. That is 1 1/8 inches more than a nominal 8 ft, not less.
The extra inch and an eighth is deliberate, and it exists for the drywall. Two 4 ft sheets hung horizontally stack to exactly 96 inches, and a wall framed to exactly 96 would leave them jammed against both plates with nowhere to go — no room to lift a sheet into place, no tolerance for a floor that is not dead level, and no gap at the bottom to keep the board off a wet slab. The pre-cut gives roughly an inch of working clearance that disappears behind the base trim.
The same logic scales. A 9 ft wall uses a 104 5/8 in pre-cut and finishes at 109 1/8; a 10 ft wall uses 116 5/8 and finishes at 121 1/8. Each is 1 1/8 inches over its nominal height, and each takes the same three plates. The stud cut length in the calculator above is the other calculation — it is wall height minus 4.5 inches, which is what to cut to if you want the finished wall to land on exactly the height you entered rather than on the pre-cut convention.
Pre-cut stud lengths and the wall height they actually produce
| Nominal wall height | Pre-cut stud | Finished height with 3 plates | Clearance over nominal |
|---|---|---|---|
| 8 ft (96 in) | 92-5/8 in | 97-1/8 in | 1-1/8 in |
| 9 ft (108 in) | 104-5/8 in | 109-1/8 in | 1-1/8 in |
| 10 ft (120 in) | 116-5/8 in | 121-1/8 in | 1-1/8 in |
What no framing calculator can tell you: how deep the header has to be
Header length is geometry and this page can give it to you: it is the rough opening width plus 3 inches, because each end bears on a 1.5 inch jack stud. Header depth is not geometry. Whether a 6 ft opening takes a doubled 2x8 or a doubled 2x12 depends on what is standing on the wall above it — roof only, one floor and a roof, two floors — and on the species and grade of the lumber, the building width, and the ground snow load where you are. A calculator that asks you for a wall length and a height knows none of those things, so any depth it hands back is a guess wearing a number.
The number comes out of a span table. The IRC publishes header and girder spans (Table R602.7 and its sub-tables in recent editions) with separate rows for exterior bearing walls, interior bearing walls and non-bearing walls, and separate columns for the load above and the building width. Your local building department adopts a specific edition with its own amendments, and that is the copy that governs. Read the row that matches your case, or hand the opening width and the loads to your lumberyard or an engineer — most yards will size it off their software while you wait, at no charge.
Two mechanical points do generalise. In a 2x4 wall a built-up header is normally two plies with a 1/2 inch spacer between them, which brings the assembly to the 3.5 inch wall thickness; in a 2x6 wall it is three plies, or two plies with thicker packing. And openings past roughly 6 feet commonly go to two jack studs a side rather than one, because the bearing area under the header end starts to govern. Both of those change your piece count, and neither of them is a substitute for reading the span table.
Header length by rough opening (opening width plus two 1.5 in jack studs)
| Rough opening | Header length | Common use |
|---|---|---|
| 2 ft 6 in (30 in) | 33 in | Interior door |
| 3 ft 0 in (36 in) | 39 in | Entry or interior door |
| 4 ft 0 in (48 in) | 51 in | Double window |
| 5 ft 0 in (60 in) | 63 in | Wide window |
| 6 ft 0 in (72 in) | 75 in | Patio or sliding door |
| 8 ft 0 in (96 in) | 99 in | Single garage door |
| 16 ft 0 in (192 in) | 195 in | Two-car garage door |
Corners, tees, and the studs a layout count leaves out
The stud count above is a layout count: it covers the studs standing in the length of one wall. A room is not one wall. Every outside corner needs a post rather than a single stud, because the wall returning at 90 degrees has to land on something and the drywall on the inside face needs a nailing edge. The traditional detail is three studs; a two-stud corner with drywall clips does the same job with less lumber and more room for insulation. Every place an interior wall tees into this one needs backing too, which is another two or three studs or a piece of blocking.
Then there is the lumber that is not straight. A unit of studs will contain some that are crowned enough to be worth turning and some that are not worth using at all, and you find out which after they are on site. Five percent over the count is the usual working allowance on a small job, more if the pack has been sitting outside. Buying to the exact number is how a wall stops two studs from done.
Blocking is the last line people forget. Fire blocking where the code calls for it, backing behind cabinets, grab bars, handrails and wall-hung televisions, and a nailer wherever two sheets of drywall meet with nothing behind them — none of it shows up in a stud count and all of it comes off the same pile. Walk the wall before you order and mark what has to be there later, because a block put in during framing costs a two-foot offcut and a block put in afterward costs opening the wall.
Studs a room needs beyond the per-wall layout count
| Location | Typical studs added | Note |
|---|---|---|
| Outside corner, three-stud post | 2 extra | Traditional detail, solid drywall backing |
| Outside corner, two-stud with clips | 1 extra | Less lumber, more insulated cavity |
| Interior wall tee intersection | 2 to 3 | Backing where a partition lands on this wall |
| Cabinet, TV or grab-bar backing | As marked | Offcuts and flat blocking, not full studs |
| Crown and cull allowance | About 5% | Higher on lumber that has been stored outside |
Frequently asked questions
How many studs do I need for a 24 foot wall?
Nineteen at 16 in on center, and thirteen at 24 in on center. A 24 ft wall is 288 inches, which is 18 bays at 16 in O.C., and each bay starts with a stud — then one more stud closes the far end. That end stud is what makes it 19 rather than 18, and forgetting it is the most common framing miscount there is.
How do you calculate the number of studs in a wall?
Divide the wall length in inches by the spacing, round up, and add one. The round-up covers a partial bay at the end of the wall and the plus one is the stud closing the wall, so a 10 ft wall at 16 in O.C. is 120 / 16 = 7.5, rounded to 8, plus 1 = 9 studs. Then add two king studs and two jack studs for every door or window.
Does 16 inches on center mean the gap between studs is 16 inches?
No — it is centre to centre. The clear space between two studs at 16 in O.C. is 14.5 inches, because a nominal 2x4 is 1.5 inches thick and that thickness sits inside the interval. That 14.5 in cavity is why insulation batts are sold at 15 inches wide and why drywall and sheathing break on 16 inch marks.
Why are pre-cut studs 92 5/8 inches long?
So the finished wall clears 8 feet. Add the three plates a stud wall has — one bottom, two top, at 1.5 inches each — and 92 5/8 becomes 97 1/8 inches, which is 1 1/8 in over a nominal 8 ft. That extra inch is working room for two 4 ft sheets of drywall hung horizontally, which stack to exactly 96 inches and need somewhere to go.
How much plate lumber do I need for a stud wall?
Three times the wall length. A stud wall has one bottom plate and a doubled top plate, so a 24 ft wall takes 72 linear feet of plate stock, not 48. The second top plate laps the joints in the first one and ties the wall sections and corners together, which is why it is standard on bearing walls rather than optional.
Do you subtract studs for doors and windows when framing?
No. An opening removes the full-height studs that would have crossed it but adds two king studs, two jack studs, a header, and a row of cripples above it — plus a rough sill and a second row of cripples on a window. The net is usually the same lumber or more, so count four extra studs per opening rather than deducting anything.
What size header do I need for a 6 foot opening?
That depends on what is above the wall, and no calculator can answer it from a length and a height. Header depth comes out of a span table that accounts for the load above, the lumber species and grade, the building width and the snow load. Read the IRC header and girder spans for your case, or give the opening width and the loads to your lumberyard or an engineer.
How long does a header have to be for a 36 inch door?
Thirty-nine inches. Header length is the rough opening width plus 3 inches, because each end bears on a 1.5 in jack stud. That part is pure geometry and holds for any opening — a 72 in slider takes a 75 in header. The depth of the header is a separate question that only a span table can settle.
Is 24 inch on center framing strong enough?
It is used in bearing walls under the right conditions and is standard in most non-bearing partitions, but whether it works on your wall is a code and load question, not a preference. Going to 24 in O.C. drops the stud count by roughly a third and leaves more uninterrupted cavity for insulation. It also requires thicker sheathing and drywall in some assemblies, and the framing above has to stack over the studs.
Link to this calculator
Contractors, teachers, and forum members are welcome to share this page. Copy the snippet below to credit the source.
<a href="https://diymaterialcalculators.com/framing/">Wall Framing Calculator</a> — free online calculator