BCTheBuildingCode

How many studs do I need?

Enter your wall length, the stud spacing and how many corners and openings it has — you'll get the number of studs to buy plus the plate lumber, the moment you type. It counts framing material; for how far a member may span, see your local code span tables.

Your wall
Studs to buy
20 studs
16 in OC · 18 before 10% waste

A 20 ft wall at 16 in OC with 1 opening needs about 20 studs, plus roughly 60 ft of plate lumber (3 rows). That's about 160 ft of stud lumber in total.

Corner and opening extras are framing rules of thumb (≈2 studs each) you can adjust. This counts material only — how far a stud, joist or rafter may span comes from your local code span tables.

Studs = ceil(wall length ÷ spacing) + 1, plus ~2 per corner and per opening, then a waste allowance. Plate lumber = wall length × plate rows. Spacing and the corner/opening extras are well-established framing conventions you can edit, not code values — and there are no prices here.

Common questions

How many studs do I need for a wall?
Count one stud at every spacing mark plus one at the far end, then add a few extras for corners and openings: studs = (wall length ÷ stud spacing, rounded up) + 1, plus about 2 per corner and 2 per door or window. For example, a 20 ft wall at 16 in on-center is 15 bays, so 16 studs for the run; add one opening (≈2 studs) and a 10% waste allowance and you'd buy about 20 studs. Enter your wall above and the calculator does this instantly.
How do you calculate the number of studs?
Divide the wall length by the stud spacing and round up to get the number of bays, then add one (a stud sits at both ends, not just the start). On top of that, allow roughly two extra studs for each corner where walls meet and two for each door or window opening (the king and jack studs). Finally add a small waste allowance for crooked or damaged pieces. The maths is the same in imperial or metric — only the spacing figure changes.
Should wall studs be 16 or 24 inches on center?
Both are standard. 16 in on-center (about 400 mm) is the most common spacing for load-bearing and most interior walls and gives a stiffer wall with more nailing surface; 24 in on-center (about 600 mm) uses less lumber and is common for non-load-bearing walls and some modern energy-efficient framing. Your local building code and the load the wall carries decide which is allowed — use the spacing your plans or inspector specify, and switch the calculator between them to compare stud counts.
How many studs are in a 10-foot wall?
A straight 10 ft wall at 16 in on-center works out to 8 bays, so 9 studs for the run before any extras. At 24 in on-center it's 6 studs. Add about 2 studs for each corner and 2 for each opening, plus a waste allowance, and a typical 10 ft wall with a door ends up around 12 studs. The calculator shows the exact figure for your spacing and openings.
How many extra studs do corners and openings need?
As a rule of thumb, a corner adds about 2 studs beyond the line stud (a common three-stud corner gives you a nailing surface for the drywall on both walls), and each door or window opening adds about 2 jack studs that carry the header, alongside the king studs. Wide openings and built-up corners can need more. The calculator adds 2 per corner and 2 per opening by default; adjust the corner and opening counts to match your wall.
How far can a wall stud span?
That isn't something a material-count calculator should guess. Maximum stud heights, and the spans of joists and rafters, come from your local code's span tables and depend on the lumber species and grade, the spacing, and the load. Standard 2x4 stud walls up to about a normal storey height are routine, but tall walls, load-bearing walls and headers must be checked against the published span tables or signed off by an engineer. This tool tells you how many pieces to buy, not how far they may span.

Want the full walk-through? Read the framing guide →

Reference & education only. Not professional, engineering, or code-compliance advice. Estimates are based on published model codes; local amendments and your Authority Having Jurisdiction (AHJ) govern. Always verify against the current adopted code and a licensed professional before doing work.

Last reviewed 2026-06.

More free tools

Other tools you might need

View all 24 free tools →All Carpentry tools & guides →