Stud Calculator
Count the studs for a framed wall, including corners and openings. Enter the wall length and your stud spacing (16 or 24 in on center) to get field studs plus the extras for corners and each door or window. Built to match how walls are actually framed on site.
Wall Framing Diagram
How the Formula Works
Calculate field studs
Field studs = ⌊Wall length ÷ Spacing⌋ + 1 One stud at each spacing interval plus one at the far end. Each opening removes ⌊opening width ÷ spacing⌋ field studs from this count.
Add corner stud assembly
Corner studs = 4 Standard 3-stud corner: 2 king studs at each end plus the shared corner stud. This adds 4 studs beyond the field count.
Calculate opening framing per opening
Opening studs = 2 king + 2 jack + (⌈opening width ÷ spacing⌉ + 1) cripples Each opening requires 2 king studs, 2 jack/trimmer studs, and cripple studs above the header filling the space to the top plate.
Scale to all openings
Total opening framing = Opening studs per opening × Number of openings Sum all stud types
Total studs = Field studs + Corner studs + Total opening framing Add 10–15% waste for cuts and miscuts on complex walls
Frequently Asked Questions
A 12-foot wall at 16" OC needs ⌊144 ÷ 16⌋ + 1 = 10 field studs, plus 4 corner studs = 14 studs for a wall with no openings. Add a standard door opening (3 ft rough): subtract 2 field studs displaced, add 2 king + 2 jack + 3 cripples = 7 opening studs. Total: 14 − 2 + 7 = 19 studs. Use this calculator for any wall length and opening count.
16 inches on center (OC) is the most common spacing for residential walls in North America. It accommodates standard 4×8 sheathing and drywall without mid-span seams. 24" OC (advanced framing) uses fewer studs and more insulation — code-compliant for many single-story applications but requires engineering review for load-bearing walls. 12" OC is used for tall walls, heavy loads, or seismic zones.
King studs run full height from bottom plate to top plate on each side of an opening. Jack studs (also called trimmer studs) sit inside the king studs and support the header over the opening — they are shorter, cut to header height. Cripple studs fill the space between the header and the top plate, maintaining the OC spacing across the opening. All three types are counted in the Opening Framing output.
The standard 3-stud corner uses two studs forming an L-shape at the corner, with a third stud providing a nailing surface for interior drywall. This adds 4 extra studs per wall (2 at each end). An alternative California corner uses only 2 studs with drywall clips — it saves one stud per corner and improves insulation continuity, but requires clips and a slightly different drywall installation sequence.
Yes — load-bearing walls require doubled top plates to transfer load across stud-to-stud gaps and create a continuous structural tie. The double plate is not included in the stud count but requires one additional run of lumber the full wall length. Non-load-bearing partition walls may use a single top plate in some jurisdictions — verify with your local building code.
Add 10% for straightforward rectangular walls. Increase to 15% for walls with many corners, angled sections, or complex header situations. Miscuts, split lumber, and last-minute adjustments are common — running short of studs mid-frame is a project delay. Leftover studs are easily used elsewhere or returned to most lumber yards.
For 9-foot finished ceiling height, use 104-5/8 inch precut studs (standard 9-ft stud). With a double top plate (3 inches) and single bottom plate (1.5 inches), the total wall assembly is 9 ft exactly. For 8-foot ceilings, use 92-5/8 inch studs. Precut studs are sold in these lengths at most lumber yards and eliminate the need to cut each stud to length.
Run this calculator once per wall, then add the totals. Shared corners between intersecting walls may let you reduce the count slightly — one wall's end studs can serve as the corner assembly for the adjacent wall. In practice, most framers calculate each wall independently and add 10% overall, since lumber is inexpensive relative to labour and a separate trip for a few extra studs costs far more than the boards themselves.
References
- International Residential Code IRC R602 – Wood Wall Framing
- American Wood Council (AWC) Wood Frame Construction Manual (WFCM)