Skip to content
Measure the Build logoMeasure the Build

Lumber

Stud Calculator

Commons, corners, tees and openings counted separately, plate lengths alongside them, and the stud cut length with the precut that fits it — so you can see what your wall actually frames to before you buy.

ft
ft

Both divide the 48 in sheet module exactly, so sheathing and drywall edges land on a stud either way. Which one your wall is allowed to use is set by IRC Table R602.3(5) and your plans — a 2×4 bearing wall carrying a floor plus a roof is held to 16 in. This is an input here, not a recommendation.

Corners are outside corners in this run. Tees are partitions meeting it. Openings are doors and windows — each one is counted at two king studs and two jacks, which is the ordinary residential case, not a structural claim.

studs

Adjustable because there is no single right answer. Three is the traditional corner. A California or ladder-blocked corner uses two and leaves the cavity open for insulation. Set it to what you are actually framing.

Plates are counted as whole stock lengths, with no credit for reusing offcuts — IRC R602.3.2 wants top-plate end joints offset at least 24 in, so the drops are not freely interchangeable.

%

Applied to the stud count only, for crowned stock you cull and pieces sacrificed to blocking. Plates already round up to whole lengths, so adding overage there would count the same rounding twice.

Order

36

studs

4 plate lengths · cut 91.5 in

The working

Common: (20 ft × 12) ÷ 16 = 15.0 bays, +1 end stud = 16

Corners: 2 × 3 = 6

Tees: 1 × 2 = 2

Openings: 2 × (2 king + 2 jack) = 8

Subtotal 32 + 10% overage = 36 studs

Stud length: (8 ft × 12) − 4.5 in plates = 91.5 in

Nearest precut: 92.625 in → frames to 97.125 in

Plates: 20 ft × 3 = 60 lin ft ÷ 16 ft = 4 lengths

Planning estimate only. Check the result against current product instructions, local requirements, and your own takeoff. See the calculator disclaimer.

The plus one, and why it goes missing

Dividing a wall by its stud spacing gives you bays, not studs. A 4 ft wall at 16 in on centre has studs at 0, 16, 32 and 48 inches — three bays, four studs. So the count is always the division plus one, and the extra stud is the one closing the far end of the run.

This is worth labouring because of how the error behaves. It is off by exactly one stud whether the wall is 8 feet or 80, so it never looks obviously wrong on paper. It surfaces at the end of the day, on the last wall, when you are one short and the yard has closed. The working on this page shows the bay count and the added end stud as separate lines for that reason.

Round up, too, and this tool does. A 20 ft 4 in wall at 16 in on centre is 15.25 bays; you cannot buy a quarter of a bay, and the last stud still has to land at the end of the wall.

Your 8 foot wall is 97⅛ inches

Work out the stud for an 8 ft wall from first principles and you get 91½ inches — 96 less the 4½ inches of plate, being one bottom plate and the doubled top plate IRC R602.3.2 requires, each 1½ inches dressed under PS 20. Then walk into a lumber yard and the precut studs on the rack are 92⅝.

That is not an error, and the gap is not arbitrary. Add the plate stack to any US precut and you land exactly 1⅛ inches above the whole-foot height it is sold against: 92⅝ frames to 97⅛, 104⅝ to 109⅛, 116⅝ to 121⅛. The margin buys room for a ⅝ inch ceiling board while holding the wall sheets about half an inch clear of the subfloor, so the drywall is not wicking up whatever ends up on the floor. The relationship is consistent enough across all three lengths that this site pins it with a test — if a precut figure is ever mistyped here, the build fails rather than the page quietly lying to you.

Where it matters is anywhere a real dimension has to match something else: drywall ordering, a stair that has to land on a finished floor, a wall tying into existing framing, cabinets to a ceiling. The calculator gives you both numbers — the exact cut length and the precut with the height it produces — instead of quietly picking one.

What this page refuses to decide for you

Three of the numbers in a stud takeoff are conventions rather than published constants, and pretending otherwise would be the easiest way to be confidently wrong. Studs per corner is the clearest case: three is traditional, two is a California or ladder-blocked corner, and the second has been gaining ground because it leaves the cavity open for insulation rather than packing it with lumber. Both are built every day. So the corner count is an input here, defaulted to three and labelled as an assumption.

Openings are counted at two king studs and two jacks, which is the ordinary residential case. Wide openings and heavy headers routinely take two jacks a side. That is a design call, so it is a starting point rather than an answer — and this page will not size the header itself, any more than the rebar calculator will pick a bar size for you. Same reasoning: a takeoff tells you what to buy for the wall you have described, not what wall you should build.

Spacing is the third. IRC Table R602.3(5) sets real limits — a 2×4 bearing wall carrying one floor plus a roof is held to 16 inches, while 2×6 studs and lighter load cases are permitted at 24 — and this calculator will happily count either. It will not tell you which applies to your wall.

Plates, and the offsets rule

Plates are the easy half: three runs of the wall length, one bottom and two top. A 20 ft wall is 60 linear feet of plate stock. What the count deliberately does not do is credit you for offcuts. IRC R602.3.2 requires end joints in the top plates to be offset at least 24 inches from each other, so the drops are not freely interchangeable the way they would be in a simple linear-feet problem, and a yard order rounds up to whole sticks regardless.

This is also why the overage percentage is applied to studs only. Plates already round up to whole stock lengths — a 60 linear foot requirement in 16 ft sticks buys 64 feet — and adding a further 10% on top would be charging you twice for the same rounding. Once the studs are counted, the drywall calculator and the wall insulation calculator take the same wall and work out what goes on it and in it.

Sources

Grouped by manufacturer or publisher, then by document. Expand a group for the cited document, its verified-on date, and every value taken from it — all of it stays in the HTML either way.

ICC(2 documents, 2 values)
IRC(2 documents, 2 values)
NIST(1 document, 1 value)
Trade conventions(6 documents, 6 values)
Other sources(4 documents, 4 values)

Frequently asked questions

How many studs do I need for a 20 foot wall?

At 16 inches on centre, a 20 ft wall is 240 ÷ 16 = 15 bays, so 16 common studs — the extra one closes the far end. At 24 inches on centre it is 11. That is before corners, partition intersections and openings, which on a real wall usually add another quarter to a third again. A 20 ft wall with two corners, one tee and two openings works out at 32 studs before any overage.

Why is it studs divided by spacing plus one?

Because dividing the wall by the spacing counts the gaps between studs, not the studs themselves. Picture a 4 ft wall at 16 in on centre: studs sit at 0, 16, 32 and 48 inches — that is 3 bays and 4 studs. Dropping the +1 is the single most common error in this calculation, and on a long wall it is only one stud, which is exactly why it survives unnoticed until you are one short at the end of the run.

How long are the studs for an 8 foot wall?

If you want the wall to finish at exactly 96 inches, the stud is 91½ inches: 96 less the 4½ inches taken by one bottom plate and a doubled top plate, each 1½ inches dressed. But almost nobody cuts that. Yards stock a 92⅝ inch precut, and a wall framed with it stands 97⅛ inches — 1⅛ inches over 8 feet. That is deliberate, not sloppy: it leaves room for a ⅝ inch ceiling board with the wall sheets held clear of the subfloor.

Is an 8 foot wall really 8 feet tall?

Not if it is framed with precut studs, and this catches people out when they order drywall or plan a stair. Every US precut lands the same 1⅛ inches proud of the height it is named for: 92⅝ frames to 97⅛, 104⅝ to 109⅛, 116⅝ to 121⅛. If your ceiling height genuinely has to be 96 inches — matching an existing wall, say, or a fixed stair rise — you are cutting studs, and this calculator gives you the cut length alongside the precut so you can see the difference before you buy.

How many studs are in a corner?

Three in the traditional detail, two in a California or ladder-blocked corner. There is no code number here, which is why the corner count is an input on this page rather than a constant baked into the answer. The trade-off is real: the three-stud corner gives you solid drywall backing on the inside face, the two-stud version leaves the cavity open so insulation actually reaches the corner. Energy codes have pushed a lot of framers toward the second.

Can I frame at 24 inches on centre instead of 16?

Sometimes, and it is a code question rather than a preference. IRC Table R602.3(5) permits 24 inches for 2×4 nonbearing walls up to 10 ft, for 2×4 bearing walls carrying only a roof and ceiling, and broadly for 2×6 studs — but holds a 2×4 bearing wall carrying one floor plus a roof to 16 inches. This calculator will count either spacing for you; it will not tell you which one your wall is allowed to use. That comes off your plans or from your building department.