Skip to content
HatchCalc

Wall Stud Calculator

Studs and plates for your wall framing, at 16 or 24 inch spacing.

Total length of the wall run, end to end.

16 in on-center is the common load-bearing default.

Outside and inside corners this wall run turns.

Doors and windows in this wall run.

Total studs

14studs

Base studs (16" OC (standard))10
Extra for corners & openings4
Plate linear feet (1 bottom + 2 top)36.0 ft
Plate boards needed (8 ft)5

This counts one king stud per corner side and per opening. It does not include headers, trimmers (jack studs), cripples, or blocking — add roughly 10–15% extra lumber, or plan each rough opening separately.

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.

Frequently asked questions

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

At the standard 16 in on-center spacing, a 12 ft wall needs ceil(144 ÷ 16) + 1 = 10 studs before any extras — that's one stud at each end plus one at every 16 in interval in between. A typical exterior wall run also turns two corners, and each corner adds 2 studs, bringing the total to 14. Add 2 more studs for every door or window opening in that run.

How many studs in a 2x4 wall per foot?

As a rough rule of thumb, plan on about 1 stud per linear foot of wall. The bare spacing math at 16 in on-center actually works out to a bit less than that — 0.75 studs per foot on a long, straight run — but the rule of thumb rounds up to bake in the extra studs every wall needs for corners, openings, and blocking, so it's a safer number to shop with than the raw spacing math alone.

Is 24 inch stud spacing OK?

In many places, 24 in on-center is allowed for non-load-bearing walls and, with the right stud size and design, for some single-story or upper-story load-bearing walls too. It is not a universal green light, though — load-bearing walls, tall walls, and heavier finishes often still call for 16 in spacing, and the exact rules depend on your local building code and the wall's loading. Always confirm with your local building department or an engineer before framing at 24 in spacing on anything load-bearing.

How do I count studs for corners?

A standard corner is framed with an extra 2 studs beyond the regular spacing layout, so the corner has enough backing to nail both the intersecting wall's studs and the interior drywall or paneling on both sides. That's why this calculator adds 2 studs per corner on top of the base count from spacing alone — enter the number of corners your wall run turns and it handles the addition automatically.

What's the difference between 16 and 19.2 inch spacing?

Both are on-center spacings chosen so they divide evenly into an 8 ft (96 in) sheet: 16 in fits 6 times, and 19.2 in fits exactly 5 times. 19.2 in spacing shows up mostly in engineered floor and roof truss layouts, where it's a middle ground between 16 in's tighter support and 24 in's material savings. For everyday wall stud framing, 16 in on-center remains the default unless your plans specify otherwise.

How much lumber do I need for top and bottom plates?

Plates run the full length of the wall three times — one bottom plate and a doubled (two-ply) top plate — so a 12 ft wall needs 12 × 3 = 36 linear ft of plate stock. Buying in 8 ft boards, that's ceil(36 ÷ 8) = 5 boards; in 12 ft or 16 ft boards, it drops to 3 boards, so longer stock usually means less waste and fewer joints, as long as you can still handle and transport it.

Related tools