Stud Calculator

Studs = ⌈wall length × 12 ÷ spacing⌉ + 1 + 2 per corner + 2 per opening, plus waste. A 20 ft wall at 16 in centers needs 16 layout studs; adding one door opening and 10% waste gives 20 studs. Plates total 60 linear feet: five 16 ft boards with waste.

Units
Your result will appear here.

Wood-framed walls are built from vertical studs nailed between a bottom plate and a doubled top plate. The stud count starts with the layout spacing and grows with every corner, intersection and opening. This calculator applies common framing rules of thumb to estimate studs and plates for a wall.

The formula

Layout studs = ⌈length (in) ÷ spacing⌉ + 1

Extra studs = 2 × corners + 2 × openings

Studs = ⌈(layout + extra) × (1 + waste %)⌉; plates = ⌈3 × length × (1 + waste %) ÷ plate length⌉

Coverage and yield assumptions

The 2 extra studs per corner and per opening are rules of thumb for the extra corner studs and the king and jack studs at doors and windows. The International Residential Code allows 16 in or 24 in stud spacing for most 2×4 and 2×6 walls (Table R602.3(5)), and requires a double top plate on bearing walls unless single-plate framing is engineered.

Framing an opening

Each door or window gets a king stud on each side, full height, and a jack (trimmer) stud under each end of the header. Headers span the opening and are sized by span and load. Short cripple studs fill above the header and below a window sill at the layout spacing; they come from offcuts or extra studs, which the waste factor helps cover.

Corners and intersections

A three-stud corner or a California corner (two studs plus blocking) gives a nailing surface for drywall on both walls. Where a partition meets another wall, add a ladder of blocking or two extra studs. Advanced framing, promoted to save lumber and improve insulation, uses two-stud corners, 24 in spacing and single headers where allowed.

Precut studs

For 8 ft ceilings, studs come precut at 92-5/8 in, which with a bottom plate and double top plate (4.5 in total) gives a 97-1/8 in wall: room for 1/2 in drywall on the ceiling and a 96 in sheet on the wall. Precut 104-5/8 in studs suit 9 ft walls.

Lumber tips

Common mistakes to avoid

Waste factor

10% covers culls, cripples and blocking. Use 15% for walls with many openings or when buying lower-grade studs, and 5% for simple partition walls.

Imperial and metric

Switch the toggle above the inputs to enter ft ↔ m. The page converts metric entries to imperial before calculating, using NIST factors (1 ft = 0.3048 m, 1 in = 2.54 cm), and shows key results in both systems.

Worked examples

20 ft wall with a door

Inputs: wall length 20 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%.

Result: You need 20 studs.

Garage wall 24 ft, 2 windows

Inputs: wall length 24 ft; stud spacing: 16 in on center; corners 2; door/window openings 2; plate board length: 12 ft; waste factor 10%; cost per unit $4.25.

Result: You need 30 studs.

Basement partition at 24 in

Inputs: wall length 30 ft; stud spacing: 24 in on center; corners 1; door/window openings 1; plate board length: 16 ft; waste factor 5%.

Result: You need 21 studs.

Quick reference for common sizes

The table repeats the first worked example at smaller and larger sizes, keeping every other setting the same, so you can see how the stud calculator result scales.

InputsResult
wall length 10.0 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%You need 13 studs
wall length 15.0 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%You need 17 studs
wall length 30.0 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%You need 29 studs
wall length 40 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%You need 37 studs
wall length 60 ft; stud spacing: 16 in on center; corners 0; door/window openings 1; plate board length: 16 ft; waste factor 10%You need 53 studs

Limitations

This is a quantity estimate for straight walls. It does not size headers, which depend on span and load, and does not replace a framing plan or code compliance.

Frequently asked questions

How many studs for a 10 ft wall?

At 16 in centers, 9 layout studs, plus extras for corners and openings.

How do I calculate studs at 16 inches on center?

Wall length in inches ÷ 16, round up, add 1.

How many studs per opening?

Plan at least 2 extra (kings and jacks), plus cripples from offcuts.

What length are precut studs?

92-5/8 in for 8 ft walls and 104-5/8 in for 9 ft walls.

Do I need a double top plate?

Bearing walls generally need one under the IRC unless engineered otherwise.

Sources

  1. International Code Council. 2021 International Residential Code (IRC). https://codes.iccsafe.org/content/IRC2021P2
  2. American Wood Council. Span tables and Prescriptive Residential Wood Deck Construction Guide (DCA 6). https://awc.org/
  3. USDA Forest Products Laboratory. Wood Handbook: Wood as an Engineering Material (FPL-GTR-282). https://www.fpl.fs.usda.gov/documnts/fplgtr/fpl_gtr282.pdf

Method details: how we calculate.