Stud Wall Framing Calculator

Framing a wall requires more lumber than just the field studs. This calculator uses the formula: field studs = floor(length in inches / spacing in inches) + 1, then adds corner studs (3 per corner), opening studs (4 per door or window for king and jack studs), and T-wall studs (3 per partition intersection). It also calculates linear feet of plate lumber needed: 3x wall length for a wall with double top plate and single bottom plate. Per IRC Section R602.3, load-bearing walls require studs at 16 inches on center for 2x4 lumber in most applications.

0.00
0.00
0.00

Stud count formula

Field studs = floor(Length (in) / Spacing (in)) + 1
Corner studs = 3 per corner
Opening studs = 4 per door or window
T-wall studs = 3 per intersection
Total studs = Field + Corner + Opening + T-wall
Plate lumber = Wall length x 3 linear feet

The "3x" plate rule comes from 1 bottom plate + 2 top plates (double top plate) = 3 linear feet per foot of wall. Add 10 percent for waste and cuts when purchasing lumber.

IRC framing requirements

  • Maximum stud spacing for 2x4 load-bearing walls: 16 inches o.c. (IRC R602.3).
  • Maximum stud spacing for 2x6 load-bearing walls: 24 inches o.c. (IRC R602.3).
  • Double top plates are required for load-bearing walls to lap and tie the framing together.
  • Headers over openings in load-bearing walls must be sized per IRC Table R602.7.
  • Bottom plates must be pressure-treated lumber when within 6 inches of concrete or earth.

Stud wall calculator: frequently asked questions

How do I calculate the number of studs for a wall?

The basic formula is: studs = floor(wall length in inches / spacing in inches) + 1. Then add studs for corners (3 extra studs per corner), each door or window opening (4 extra for king and jack studs), and any partition intersections (3 extra per T-wall).

What is the standard stud spacing?

Standard stud spacing is 16 inches on center (o.c.) for most residential walls. 24-inch spacing is used for non-load-bearing walls and some engineered framing systems to reduce lumber use.

What is included in a stud count estimate?

A complete estimate includes: field studs (the regular studs), corner studs (3 per corner), king and jack studs for each opening (4 per door or window), and top and bottom plates (2 linear feet per foot of wall length for double top plate and single bottom plate).

How many linear feet of plate lumber do I need?

A standard wall with a double top plate and single bottom plate requires 3 linear feet of plate per foot of wall length. Add a single bottom plate for a total of 3x the wall length in linear feet.

What size lumber is used for wall studs?

2x4 lumber is standard for non-load-bearing and light load-bearing walls. 2x6 lumber is used for exterior walls in energy-efficient construction to allow more insulation (R-21 vs R-13).

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 15 June 2026. See our methodology.