Wall & Ceiling
Stud Wall Calculator
Calculates studs, plates, and headers for framing a wall
Updated May 13, 2026 · Live
What this tool does
Estimates the number of wall studs needed to frame a wood stud wall at 16" or 24" on-center spacing, plus estimated material cost.
Estimates the number of studs, plates, and headers needed to frame a wood stud wall at 16" or 24" o.c.
What this tool does not check
- Does not distinguish loadbearing from non-loadbearing walls.
- Does not size the stud section, head binder, or sole plate.
- Does not check racking resistance or fire/acoustic performance.
People also use
Formula Used
Formula Used
How the stud wall calculator works
The formula is studs = ceil(wall length ÷ spacing) + 1. It works like fence posts: a run with N spaces needs N + 1 posts, because there is a stud at each end as well as one every spacing in between. With the US defaults, a 16 ft wall (4.88 m) at 16 in (406 mm) centres is 192 ÷ 16 = 12 bays, so 12 + 1 = 13 studs, with the last gap a full 16 in. The plates are a bottom plate and a double top plate, which is 3 × 16 = 48 ft (14.6 m) of timber. At $8.50 a stud the studs cost $110.50.
A metric wall works the same way: 5 m at 400 mm is 12.5 bays, which rounds up to 13 bays and 14 studs, with a 200 mm last gap. The tool also shows the last gap between studs, so you can see whether the layout ends on a short bay, and the length of plate timber to buy.
Typical US wall and ceiling wastage
Stud walls are not a wastage item in the way boards are. The count is exact for a plain straight wall, and what changes it is the framing around corners and openings. As a rough guide, add 2 extra studs for each corner or T-junction and 2 to 4 for each door or window opening (king and jack studs). A 16 ft wall with one door is then about 13 + 4 = 17 studs. Round up and add a few for damaged or warped pieces, because studs are sorted on site for straightness.
What this tool does not do
It counts the studs along one straight run, and nothing else. It does not add the extra studs at corners and openings, the noggins (blocking) between studs, the header over an opening, the fixings, the insulation or the boards. It does not choose the stud size, check that the wall can carry load, or confirm fire and sound performance. Run the tool once for each wall and add the results.
On-site considerations for stud wall
Before you build, check what is in the wall zone: cables, pipes and ducts. Old walls and ceilings can contain asbestos, so have suspect materials tested before cutting (HSE asbestos guidance). Cutting timber and board makes dust, and HSE silica dust guidance covers the dust from cutting masonry and some boards. Fix the plates to the floor and ceiling or the structure above, check them for level and plumb, and nail or screw the studs so they sit square. A wall that carries a floor, roof or other load is a structural job: a non-load-bearing partition and a load-bearing wall are different things, and the latter needs an engineer.
Codes and compliance
In the United States, wall framing follows the International Residential Code, Chapter 6 (ICC), as adopted by your state or city; the stud size and spacing allowed depend on the wall height, the load and the species and grade of the lumber. The American Wood Council publishes design tools for wood framing. Fire-rated walls and walls between dwellings have extra requirements. Check with your local building department, and for a load-bearing wall have the framing sized by an engineer. Outside the US, use your own rules.
Before you order
Check the stud length: studs are bought in lengths to suit the wall height. The tool assumes 2.4 m (8 ft) for the timber hand-off to PlainEstimate, and a wall taller than that needs longer studs. A US precut stud is commonly 92 5/8 in (2,350 mm), made to fit under three plates in an 8 ft room. Buy straight timber, and keep it flat and dry on site before using it. Matching the spacing to the board is useful: 16 in and 24 in centres divide a 4 ft sheet, and 400 mm and 600 mm divide a 1,200 mm board, so every board edge lands on a stud.
Adjusting the defaults
Every input can be changed. Wall length, spacing and price per stud are the three you control. Use 16 in (400 mm) centres for the usual partition and 24 in (600 mm) where the sheet material and loads allow. Price per stud is optional: leave it blank and the cost line disappears. The default price is a placeholder, not a market figure, and it varies by length and grade.
Using this stud wall calculator alongside other BuildMetricLab tools
Pair the stud count with the drywall calculator for the boards, the wall insulation calculator for the cavity, and the joint compound calculator for finishing. Everything runs in your browser, nothing is sent anywhere, and the formula is shown so you can check the math. Conversions follow NIST SP 811.
Sources & methodology
Studs = ceil(wall length ÷ spacing) + 1, with a small tolerance so an exact fit does not gain a stud. Last gap = wall length − (bays − 1) × spacing. Plate length = wall length × 3 on a US-units page (one bottom plate and a double top plate) or × 2 on a metric page (one sole plate and one head plate). Length and spacing are entered in the unit shown and converted exactly (1 ft = 0.3048 m, 1 in = 25.4 mm). Wall length must be above zero and spacing at least 100 mm (4 in); blanks are refused, a negative price is refused and a blank price hides the cost. The tool does not add studs at corners, T-junctions or openings, nor noggins, headers or fixings.
Frequently asked questions
Are stud wall calculator results accurate enough to order materials?
The count is exact for a plain straight wall: studs = ceil(length ÷ spacing) + 1. It does not include the extra studs at corners, T-junctions and openings, the noggins or the headers, so add those from your framing plan before ordering.
What wastage percentage should I use?
The calculator has no wastage input. It returns the exact stud count for a straight run, including the stud at each end. Add extra studs for corners, intersections and openings (roughly 2 for each corner and 2 to 4 for each opening), and a few more for warped or damaged pieces.
Does this replace professional advice?
No. This tool is a planning estimator. A load-bearing wall must be sized by an engineer, and fire, sound and building-code requirements depend on your location. For work that affects structure or code compliance, consult a licensed contractor or design professional.
Can I change the unit prices?
Yes. The price per stud is editable, and you can leave it blank to hide the cost line. Enter your supplier quote to get a total that matches your project.
Spotted something off?
Calculations or display — let us know.
Related tools
Calculators from other categories that planners often reach for next.













