Stud Wall Framing Calculator: Studs, Plates and Headers
Wall length, height and stud spacing, then the openings, corners and tees, and it returns the stud count position by position rather than by the one stud per foot rule. It prints that rule next to the real count so you can see how far apart the two are on your wall.
When the figures look right, the framing material list downloads as a real PDF with your business details on it, built inside your own browser. Nothing you type is uploaded anywhere.
Worked example
These are the figures the calculator opens with and the answer it gives. Change anything above and every number below moves with it.
- Wall length40 ft
- Wall height8 ft
- Stud spacing16 in on center
- Doors and windows3 openings
- Average opening width3.5 ft
- Corners2 count
- Partition intersections1 count
- Waste allowance10 %
Studs to buy58 studs
| Wall area | 320 sq ft |
|---|---|
| Field studs | 31at 16 in on center |
| Positions the openings remove | -6 |
| Cripples above and below | 93 per opening |
| Corners and tees | 6two extra at each |
| Kings and jacks | 12four per opening |
| Studs before waste | 52 |
| Rule of thumb check | 40one stud per foot of wall |
| Plate stock | 120 ft8 at 16 ft, bottom plate and double top |
| Header stock | 24 fttwo plies, opening plus 6 in of bearing |
| Sheathing | 10 sheets4 by 8, gross wall, no openings taken off |
The material list this produces
| Studs at 8 ft | 58 |
|---|---|
| Plate stock, 16 ft lengths | 8 |
| Sheathing, 4x8 sheets | 10 |
| 16d framing nails, lb | 10 |
| Header stock, ft | 24 |
What this calculator assumes
- Studs are counted position by position: the field studs at your spacing, minus the positions the openings take out, plus the cripples that go back above and below them, plus two extra at every corner and every partition tee, plus a king and a jack on each side of every opening.
- A corner is counted as three studs and a partition tee as three, which is the traditional way. A California corner or a ladder tee uses two plus blocking and saves a stud at each one.
- Cripples are counted as whole studs because they are cut from stock. If you are nesting cuts carefully you will use fewer, and the waste line is where that shows up.
- Plates are one bottom plate and a double top plate, so three times the wall length, and they are priced in 16 ft lengths.
- Headers are figured two plies deep at the opening width plus six inches of bearing. Span, load and species decide the header depth, and that is an engineering question rather than a takeoff one.
- The rule of thumb line is the old one stud per foot of wall at 16 inches on center. It is there as a sanity check, not as the answer.
One stud per foot is a guess, not a count
A 40 foot wall at 16 inch spacing with three 3.5 foot openings, two corners and one tee comes out at 52 studs before waste and 58 with ten percent. The one stud per foot rule says 40. That is 18 studs short, which is most of a bunk and a second trip.
It misses in the other direction too. The same 40 foot wall framed plain at 24 inch spacing with no openings and no corners is 21 studs, and the rule still says 40. On a garage wall or a simple shed that rule buys you twice the lumber you need.
The reason it misses is that a stud wall is not a repeating pattern. It is field studs at your spacing, plus two extra at every corner, plus two at every tee, plus four around every opening, minus the field positions the opening removed, plus the cripples above and below it. The calculator counts each of those separately and shows you the line.
What an opening actually costs in studs
An opening takes studs away and adds more back. A 3.5 foot opening at 16 inch spacing sits over two field positions, so those come out, and then it needs a king and a jack on each side, which is four, plus three cripples above and below. Net, that one opening adds five studs rather than saving two.
Spacing changes the arithmetic underneath it. The same three openings in a 40 foot wall remove six field positions at 16 inch spacing and only three at 24 inch, because there are fewer positions there to remove in the first place. The cripple count drops with it, from nine to six.
Header stock is figured from the opening rather than assumed. Two plies at the opening width plus six inches of bearing each side gives 24 feet of header stock for those three openings, and 7 feet for a single 3 foot door. The list leaves the header line off entirely when there are no openings instead of printing a zero.
Plates, sheathing and nails come off the same wall
Three plate runs, a bottom plate and a doubled top plate, means three times the wall length. Forty feet of wall is 120 feet of plate stock, which is 8 pieces of 16 foot. A 12 foot wall is 36 feet and 3 pieces.
Sheathing is figured on the gross wall with nothing taken off for openings, because you sheathe over a window hole and cut it out afterward. Forty by eight is 320 square feet and 10 sheets, and the offcut around the openings is what the waste line is there for.
Nails come off the stud count rather than a pound per square. Sixteen penny common runs about fifty to the pound and a stud takes roughly eight nails through the plates, so 58 studs is about 10 pounds. Twenty one studs is 4 pounds, and no box of nails is sold that small, which is fine because the next job wants them too.
What this does not decide for you
Spacing is an input here, not a recommendation. Sixteen inches on center is the common default for a bearing wall and 24 inch advanced framing is a real method with real code behind it, but which one your wall gets is the drawing, the engineer or the inspector, not a calculator.
The same goes for header size. This page gives you the linear feet of header stock at the opening width plus bearing. Whether that header is a doubled two by six, a doubled two by ten or an engineered beam depends on the span and the load above it, and getting that wrong is somebody's ceiling.
A warning shows up when the wall height goes over ten feet, because a taller stud is a different product, a different price and sometimes a different spacing requirement. The count stays honest at any height, but the lumber yard conversation changes.
Questions people ask
How many studs do I need for a 40 foot wall?
At 16 inch spacing with three openings, two corners and one tee it is 52 studs before waste and 58 with ten percent. Framed plain at 24 inch spacing with no openings it is 21. The one stud per foot rule says 40 in both cases, which is why the calculator counts positions instead.
How do you count studs for a wall with a door or window?
Take out the field studs the opening covers, then add a king and a jack on each side, which is four, then add the cripples above and below. A 3.5 foot opening at 16 inch spacing removes two and adds nine, so the net is five more studs, not fewer.
How much plate stock does a wall need?
Three times the wall length, because a stud wall has a single bottom plate and a doubled top plate. Forty feet of wall is 120 linear feet, which is 8 pieces of 16 foot stock. A 12 foot wall is 36 feet and 3 pieces.
Is 16 or 24 inch stud spacing better?
Both are code compliant in the right application. Sixteen inch is the residential default and 24 inch advanced framing uses noticeably less lumber, 21 studs against 31 field studs on a 40 foot wall. The load, the sheathing thickness and your drawing decide it, not the material saving.
Free Contractor Estimate Template, free, no signup, PDF Word and Excel.
Common sizes, worked out
The same calculator with the numbers already filled in, one page per size, each ending in its own material list.