Wall Framing Calculator — Studs, Plates and Nails
A stud every 16 inches is the easy part. This also counts the extra studs that every corner, door and window quietly adds — which is why framing orders always come up short.
Take this list to the store
We'll email the quantities above, what you typed in, and a link that reopens this calculator already filled in — so you can adjust it on your phone in the aisle.
How to work it out
-
Measure the wall, not the room
Frame and order one wall at a time. A room is four walls that meet at corners, and the corner studs belong to one wall or the other, not both. Running the whole room through at once double-counts them.
Measure the length the wall will actually be when built — if it butts into another wall, that is the face-to-face dimension, not the room dimension.
-
Lay out from one end and never re-measure
Hook the tape on one end of the bottom plate and mark every 16 inches along the whole run. Do not measure 16 inches from the last mark each time — small errors compound and by the far end your sheathing will not land on a stud.
The first stud is at 15-1/4 in. so the center of the second lands at 16 in. and the edge of a 4 ft sheet lands on the middle of a stud.
-
Add the studs the layout does not show
Every opening needs two king studs running full height and two jack studs carrying the header. Every corner needs extra material so there is something to nail the drywall to on the inside. None of that appears in the 16 inch spacing.
This is where framing orders go wrong, and it is why the calculator separates the layout count from everything else.
-
Cut the studs shorter than the wall
The studs do not span the full wall height — the plates take up part of it. With a single bottom plate and a double top plate that is three plates at 1-1/2 in. each, so the studs are 4-1/2 in. shorter than the finished height.
An 8 ft wall uses 92-5/8 in. precut studs, which with three plates gives 97-1/8 in. That is deliberately a little over 8 ft so a sheet of drywall fits with room to spare.
Studs by wall length
Layout studs only — before corners, openings and spare.
| Wall length | 16 in. centers | 24 in. centers | 12 in. centers |
|---|---|---|---|
| 8 ft | 7 | 5 | 9 |
| 10 ft | 9 | 6 | 11 |
| 12 ft | 10 | 7 | 13 |
| 16 ft | 13 | 9 | 17 |
| 20 ft | 16 | 11 | 21 |
| 24 ft | 19 | 13 | 25 |
| 32 ft | 25 | 17 | 33 |
| 40 ft | 31 | 21 | 41 |
Add four studs per opening, two per corner, and roughly 10% on top for cripples and blocking.
Stud length by wall height
Assuming a single bottom plate and a double top plate.
| Finished wall height | Stud length | Common precut |
|---|---|---|
| 8 ft (96 in.) | 91.5 in. | 92-5/8 in. |
| 9 ft (108 in.) | 103.5 in. | 104-5/8 in. |
| 10 ft (120 in.) | 115.5 in. | 116-5/8 in. |
Precut studs are slightly longer than the bare arithmetic on purpose, so drywall fits without binding.
How many studs for a 12 foot wall?
At 16 inch centers a 12 ft wall takes 10 layout studs — 144 inches divided by 16 is 9, plus one to close the end of the run.
That is before anything real happens to the wall. Put one door in it and you add four more. Give it one corner and you add two. Allow 10% for cripples above the header and the odd bad cut and you are at 18 studs, not 10. Nearly double, and that gap is the single most common framing shortfall.
Why 16 inches, and when 24 is fine
Sixteen inch spacing exists because building materials come in 4 ft widths. Sheathing, drywall and subfloor all divide evenly by 16, so every sheet edge lands on the middle of a stud with nothing left over.
Twenty-four inch centers — usually called advanced framing — uses about a third fewer studs and leaves more room for insulation, which is why it shows up in energy-efficient builds. The trade-offs are real: you generally need 2x6 studs for load-bearing walls, 5/8 in. drywall on ceilings to stop it sagging between framing, and thicker sheathing. On a non-load-bearing interior partition, 24 in. centers are usually fine and save a noticeable amount of lumber.
Twelve inch centers are rare and specific — very tall walls, heavy point loads, or a structural engineer told you to.
What a corner actually costs you
Two walls meeting at a corner need something for the drywall on the inside face to attach to. The traditional three-stud corner nails two studs together in an L and adds a third as a nailer — three studs where the layout only called for one, so two extra.
The alternative is a California corner, sometimes called a two-stud corner: two studs with a drywall clip or a short nailer block instead of the third stud. It uses less lumber, leaves a cavity you can actually insulate, and is the reason older corners are often the coldest spot in a room.
Either way, budget two extra studs per corner. The calculator does.
Headers, kings and jacks
Above every door and window sits a header carrying the load that the missing studs used to carry. It rests on jack studs — also called trimmers — which are cut short and nailed to full-height king studs on each side.
So one opening is four studs: two kings, two jacks. Openings over about 6 ft usually want doubled jacks on each side, which makes six. Above the header, short cripple studs carry on the 16 inch layout up to the top plate, and under a window sill there is another set of cripples below.
Header size depends on span and what it carries, and that is genuinely a code question rather than an arithmetic one — check IRC table R602.7(1) or ask your inspector. This calculator counts studs, not header stock.
Plates: why the top one is doubled
A standard wall has one bottom plate and two top plates. The bottom plate anchors the wall to the floor. The lower top plate caps the studs; the upper one laps over the joints and ties every wall in the building into a continuous ring.
That lapping is the whole point, and it is why joints in the two top plates must be offset — usually at least 24 inches, and never both breaking over the same stud bay. Ordering longer plate stock makes this easier: on a 20 ft wall, 12 ft boards give you two joints to manage rather than four.
Plate material is just wall length times the number of plates. A 20 ft wall with three plates is 60 linear feet, which is five 12 ft boards.
Ordering: buy straight, not just enough
Framing lumber is sold by the piece and graded loosely. A bundle will contain some boards with a crown, a twist or a split at the end, and you cannot use them everywhere. Sighting down each stud at the store and rejecting the bent ones takes ten minutes and is worth doing.
The 10% the calculator adds covers cripples, blocking and a few duds. If you are framing in winter from a yard where the stock has been outside, or the walls are going up against an old uneven floor, go higher. Extra studs are never wasted on a job site — they become blocking, backing for cabinets and bracing.
Buy precut studs if your wall height is standard. They are cheaper than 8 ft boards, already the right length, and save you a cut on every single one.
How this is worked out
No black box — here is the arithmetic the calculator runs, so you can check it against your own numbers.
-
layout studs = ceiling(wall length × 12 ÷ spacing) + 1One stud per spacing, plus one to close the run. -
+ 4 per openingTwo king studs and two jack studs at every door and window. -
+ 2 per cornerSomething has to back the drywall on the inside face. -
+ 10%Cripples above headers, blocking, and boards that come out bent. -
stud length = wall height in inches − (plates × 1.5)The plates eat into the height; studs are cut shorter. -
plate material = wall length × number of platesUsually three: one bottom, two top. -
nails ≈ studs × 6 ÷ 47About six 16d nails per stud, and roughly 47 of them per pound.
Common questions
How many studs do I need for a 10x10 room?
Frame it as four 10 ft walls. Each takes 9 layout studs at 16 in. centers, so 36 in total. Add two per corner — four corners, eight studs — and four for a door. That is 48, and about 10% on top for cripples and bad boards brings it to 53 studs.
Run each wall through separately if you want the plate counts too — the calculator is built around one wall at a time.
Is it 16 inches between studs or 16 inches on center?
On center — measured from the middle of one stud to the middle of the next. The clear gap between two 2x4s at 16 in. on center is 14-1/2 in., which is exactly why insulation batts are sold at 15 in. wide.
What length studs do I need for an 8 foot wall?
92-5/8 in. precut studs. With a single bottom plate and a double top plate that gives a finished height of 97-1/8 in. — a little over 8 ft on purpose, so a sheet of drywall slides in without fighting the ceiling.
Can I frame a wall with 24 inch spacing?
On a non-load-bearing interior partition, usually yes. On a load-bearing wall it normally means moving up to 2x6 studs, and you will want 5/8 in. drywall on any ceiling framed at 24 in. so it does not sag. Check with your inspector before you buy the lumber, not after.
How many studs per linear foot?
The old rule of thumb is one stud per foot of wall at 16 in. centers. The layout only needs 0.75 per foot, but once corners, openings, cripples and blocking are counted, one per foot lands close for a typical wall. It is a decent sanity check on the number this calculator gives you.
Do I need a double top plate?
Almost always. It is what laps over the joints and ties the walls together into a continuous ring at the top. A single top plate is allowed in limited situations where the framing above lines up directly over the studs below, and it is not worth the trouble on a normal job.
What size header do I need over a door?
That depends on the span and whether the wall carries a load from above, so it is a code question rather than a calculation. IRC table R602.7(1) has the spans. This calculator counts the king and jack studs the opening needs, not the header stock.
How much should I add for waste?
Ten per cent is built in here, and it covers cripples, blocking and a few bent boards. Go higher if the lumber has been stored outside, if the floor is out of level, or if it is your first wall. Spare studs get used as blocking and cabinet backing — they do not go to waste on a job site.
Where these figures come from
Every figure below is traceable. How we check the numbers explains how they are verified, and the coverage reference collects them all in one place.
- International Residential Code, chapter 6 (wall construction) — stud spacing, plate lapping and header requirements
- APA — The Engineered Wood Association — why panel products are sized for 16 and 24 inch framing
- Lumber mill dimension standards — actual 1-1/2 in. plate thickness and precut stud lengths
Think a number here is wrong? Tell us — we check every report, correct the page, and date the change. Last checked September 12, 2026.