Count the studs and plate length for a wall from its length, the stud spacing and the number of corners and openings. A second mode lists the layout marks along the wall.
Wall Stud Calculator
Number of wall studs and plate length for any wall length and stud spacing (12″, 16″, 19.2″ or 24″ on centre), including corners and openings.
Starting values: a wall 20 ft long with studs at 16 in on centre, 2 corners with 2 extra studs each and 2 openings with 2 extra studs each. That is 16 field studs plus 8 extras, a total of 24 studs, and 60 ft of plate.
How the stud count is calculated
Field studs = wall length ÷ spacing, rounded up, + 1
Total studs = field studs + corners × extra per corner + openings × extra per opening
Plate length = 3 × wall length (1 bottom plate + 2 top plates)
Spacing is measured on centre, from the middle of one stud to the middle of the next. The extra studs at corners and openings are inputs, with a default of 2 each. The calculator notes that these are typically the king and jack studs, and that one field stud is usually displaced by an opening, so adjust the figure to your framing.
The layout mode gives the number of studs including both ends, and the distance from the last on-centre mark to the end of the wall:
Last gap = wall length − (field studs − 2) × spacing
Worked examples
The starting example
240 in ÷ 16 in = 15 spaces, so there are 16 field studs. The extras are 2 corners × 2 = 4 and 2 openings × 2 = 4, so the total is 16 + 4 + 4 = 24 studs. The plates are 3 × 20 = 60 ft.
Comparing spacings on the same wall
For the 20 ft wall, field studs are 21 at 12 in, 16 at 16 in, 14 at 19.2 in (240 ÷ 19.2 = 12.5, rounded up to 13, plus 1) and 11 at 24 in. The 16 in spacing is the most common in residential walls, and 24 in uses fewer studs and leaves more room for insulation, so the choice depends on the design and what the wall carries.
A shorter wall at 24 in
A wall 12 ft long: 144 ÷ 24 = 6 spaces, so 7 field studs. With 2 corners × 2 and 1 opening × 2, the total is 7 + 4 + 2 = 13 studs and the plates are 36 ft.
Layout marks
On a wall 13 ft 6 in (162 in) long at 16 in spacing, 162 ÷ 16 = 10.125, so there are 11 spaces and 12 studs counting both ends. The marks go at 16, 32, 48 and so on up to 160 in, and the last stud goes at the end of the wall, 2 in beyond the last mark. The last gap is 162 − 10 × 16 = 2 in.
Spacing and layout
Mark the centres from one end of the wall at the chosen spacing, then add the last stud at the far end. A short last gap, like the 2 in above, means the end stud sits very close to the last mark, and framers often shift the layout so that the leftover is not a narrow gap. Measuring from the same end each time keeps the marks consistent.
What the count leaves out
The estimate does not include cripple studs above and below openings, blocking, fire-blocking, extra backing for fixtures, headers or sheathing. For a full lumber list with headers and sheathing, see the wall framing calculator, and for prices use the wall framing cost calculator.
Check against the plans
Framing rules depend on the structure, the loads and the local code, so follow the drawings and ask the designer or inspector where in doubt. The calculator is a take-off aid for counting lumber.
More stud count examples
A longer wall
A wall 30 ft long at 16 in on centre: 360 ÷ 16 = 22.5, rounded up to 23 spaces, so 24 field studs. With 2 corners and 3 openings at 2 extra studs each, the extras are 4 + 6 = 10, so the total is 34 studs. The plates are 3 × 30 = 90 ft.
Why the count is rounded up
A wall rarely divides evenly by the spacing, so the calculator rounds the number of spaces up and adds one for the end stud. A 20 ft wall at 16 in divides exactly into 15 spaces, but the 30 ft wall leaves part of a space at the end, which still needs a stud.
Changing the extras
If your framing uses three studs at a corner, enter 3 for the extras per corner. For the 20 ft wall that changes the corner extras from 4 to 6, and the total from 24 to 26. Use the numbers on your own drawings, because corner and opening details vary.
Ordering lumber
The calculator counts pieces and not board lengths, so check the stud length you need and add a small allowance for crooked or damaged boards. Plate lumber is bought in board lengths, so divide the plate length by the board length and round up.
Frequently asked questions
How many studs do I need for a 20 foot wall?
At 16 in on centre, 240 ÷ 16 = 15 spaces, so 16 field studs, plus extras for corners and openings. With 2 corners and 2 openings at 2 extra studs each, the total is 24.
What does on centre mean?
It is the distance from the middle of one stud to the middle of the next, not from edge to edge.
How much plate lumber do I need?
The calculator uses 3 times the wall length, for 1 bottom plate and 2 top plates. A 20 ft wall needs 60 ft of plate.
How many studs do I save at 24 inch spacing?
On a 20 ft wall, 24 in spacing needs 11 field studs against 16 at 16 in, a saving of 5, though the right spacing depends on the design.




