Why 16 inches on-center?
Wall studs aren't spaced 16 inches apart by tradition — it comes straight from the size of the sheet goods that get nailed to them. Drywall and plywood/OSB sheathing are sold in 4 ft by 8 ft sheets, and 48 in divides evenly by both 16 in (three times) and 24 in (twice). Space your studs at one of those numbers and every sheet edge lands squarely on the center of a stud, giving you solid backing for every nail or screw along every seam.
Stray from those numbers — say, spacing studs every 18 in — and sheet edges start falling in the gaps between studs, leaving seams with nothing solid to fasten to. That's the real reason 16 in on-center (often written "16" OC") became the residential framing default: it's not just a comfortable spacing for load, it's the spacing that keeps every sheet good edge landing on wood.
The formula, and a worked example
Base studs = ceil(wall length in inches ÷ spacing) + 1
You divide the wall's length by the stud spacing to get the number of spacing intervals, round that up to a whole number (you can't buy a fraction of a stud bay), and add 1 for the stud that starts the run — every interval needs a stud at both ends, and consecutive intervals share a stud, so only the very first one needs its own.
Take a 12 ft wall framed at 16 in on-center. Convert to inches: 12 × 12 = 144 in. Divide by the spacing: 144 ÷ 16 = 9 exactly, and rounding up keeps it at 9. Add the 1 starting stud: 9 + 1 = 10 base studs. If that wall turns two corners — typical for an exterior wall that ties into two other walls — add 2 studs per corner: 10 + (2 × 2) = 14 studs. Each door or window opening in the run adds 2 more for the king studs that flank it. The calculator above runs this same math live as you change the length, spacing, corners, and openings.
16 in vs. 24 in spacing: the trade-off
Widening the spacing from 16 in to 24 in on-center cuts the number of base studs meaningfully — on a 20 ft wall, it's 16 studs at 16 in OC versus 11 studs at 24 in OC, five fewer studs on that run alone. Multiply that across a whole house and 24 in spacing can add up to a real material and labor savings, plus it opens up slightly more room for insulation between studs.
The catch is that 24 in spacing isn't automatically allowed everywhere it's tempting to use it. Many jurisdictions permit it for non-load-bearing partition walls without much fuss, and some allow it on load-bearing walls too under specific conditions — lighter roof loads, single-story constructions, or upsized studs (2x6 instead of 2x4, for example). But it is a code and engineering question, not just a preference, so check with your local building department (or an engineer, on anything load-bearing) before you frame at 24 in spacing instead of 16 in.
What this estimate does not include
This calculator gives you the field studs, corner studs, and king studs at each opening — the studs that make up the regular wall layout. It intentionally leaves out several other pieces that depend on the specific size and location of each door and window, which a simple length-and-spacing formula can't know:
- Trimmers (jack studs) — the shorter studs nailed against the king studs that actually support the header over each opening.
- Headers— the horizontal beam spanning the top of each opening, sized by the opening's width and the load above it.
- Cripple studs — the short studs above a header or below a window sill that keep the regular stud spacing going through the rough opening.
- Blocking — horizontal pieces added for fire stops, cabinet backing, or handrail and fixture support.
A common way to cover this gap when rough-pricing a job is to add roughly 10–15% more lumber on top of the stud and plate counts here. For anything beyond a rough estimate — ordering material for an actual build — plan each rough opening individually using your window and door schedule, since header size and trimmer count vary opening to opening.
Plates: why the total is 3x the wall length
Every stud wall gets a bottom plate (also called a sole plate) that the studs stand on, and a top plate they're capped with — but standard framing doubles the top plate, using two boards instead of one. The extra top layer overlaps the plates of intersecting walls at corners and tees, tying the whole top of the wall structure together and giving extra bearing surface for whatever sits on top (a floor or roof structure above).
That's 1 bottom plate + 2 top plates = 3 plates running the full length of the wall, which is why total plate lumber comes out to 3 times the wall length. A 12 ft wall needs 12 × 3 = 36 linear ft of plate stock; bought as 8 ft boards, that's ceil(36 ÷ 8) = 5 boards, or just 3 boards if you buy 12 ft or 16 ft lengths instead. Longer boards mean fewer joints in the plate run, which is worth it structurally as long as you can still handle and move the longer stock on site.