Home › Framing, Decks and Roofing › Stud Calculator

Stud Calculator

Enter the length of a wall and the stud spacing, and this calculator tells you how many studs to buy. It adds the extra studs that corners, doors and windows need and works out the top and bottom plates in linear feet.

Updated December 2026 · Formula and sources shown below

Cost (optional)Prices vary by store and region. Type in your local price.

What to measure
Wall length 20 ftWall height8 ftStuds 16 in on center

How to use the stud calculator

  1. Measure the wall length in feet. Do one wall at a time, or add the lengths of several walls with the same spacing.
  2. Pick 16 in or 24 in on center. Use the spacing on your plans.
  3. Pick the wall height. 8 ft and 9 ft walls use precut studs; for other heights the calculator gives the length to cut.
  4. Count the corners and places where another wall meets this one, and pick 3-stud or 2-stud corners.
  5. Count the doors and windows in the wall.
  6. Keep 10% waste for crooked, split or miscut studs. Leave the double top plate ticked for a standard wall.

How to measure

  1. Measure each wall along the floor in feet, from one end of the plate to the other. Where walls meet, count the overlapping corner only once.
  2. Mark where every door and window goes, and where interior walls will tee into this one. Each of those adds studs.
  3. Measure the finished ceiling height you want, then add the floor and ceiling thickness to get the framed wall height. Standard 8 ft and 9 ft walls use precut studs.
  4. Read the stud spacing off your plans. Most walls are 16 in on center; 24 in is common on nonbearing walls and in advanced framing.

The formula

Studs go every 16 or 24 in along the wall, plus one to close the end. Corners and openings need extra studs on top of that.

Layout studs = (wall length × 12) ÷ spacing, rounded up, + 1Extra studs = corners × 2 + openings × 4Studs to buy = (layout + extra) × (1 + waste ÷ 100), rounded upPlates = wall length × 3 (one bottom plate and a double top plate)Stud length (other heights) = framed wall height − number of plates × 1.5 in

Corners add 2 studs each for a traditional 3-stud corner, or 1 for a 2-stud corner that uses drywall clips. Precut studs are sized so that with three 1 1/2 in plates an 8 ft wall frames to 97 1/8 in and a 9 ft wall to 109 1/8 in, leaving room for floor and ceiling finishes.

Worked example

A 20 ft wall at 16 in on center has 240 ÷ 16 = 15 spaces, so 16 layout studs. Two corners add 4 studs and one door adds 4 more, for 24 studs. With 10% waste that is 26.4, so you buy 27 studs. One bottom plate and a double top plate take 20 × 3 = 60 linear ft, or 66 ft with waste, which is five 16 ft boards.

Layout studs per wall length (before corners, openings and waste)

Wall length16 in on center24 in on center
8 ft75
10 ft96
12 ft107
16 ft139
20 ft1611
24 ft1913

Precut stud lengths

WallPrecut studFramed height with 3 plates
8 ft92 5/8 in97 1/8 in
9 ft104 5/8 in109 1/8 in

Three plates of 1 1/2 in add 4 1/2 in. For other heights, or a single top plate, cut studs to the length the calculator shows.

Tips before you buy

Questions and answers

How many studs do I need for a 20 foot wall?

At 16 in on center a 20 ft wall needs 16 studs on layout. With two corners and one opening that rises to 24, or 27 with 10% waste.

How do you calculate studs for a wall?

Multiply the wall length in feet by 12, divide by the spacing in inches, round up and add one. Then add studs for corners and openings and a waste allowance.

How many extra studs for a door or window?

Each opening needs a full-height king stud and a jack stud on each side, so 4 extra studs. The layout studs that fall inside the opening are cut into cripples above and below it.

How many studs per corner?

This calculator adds 2 studs per corner or wall intersection, enough for a traditional three-stud corner or backing where another wall meets. Two-stud corners, common in advanced framing, need one fewer.

How long are studs for an 8 foot wall?

Precut studs for an 8 ft wall are 92 5/8 in long. With a bottom plate and a double top plate the framed wall is 97 1/8 in tall, which leaves room for the ceiling drywall and flooring.

How many studs for a 12 foot wall?

At 16 in on center a 12 ft wall takes 10 layout studs. At 24 in on center it takes 7. Add studs for corners and openings, then about 10% for waste.

What is a 2-stud corner?

It is an advanced framing corner that uses two studs and drywall clips instead of a third stud, so the corner can be insulated. It saves one stud per corner compared with a traditional 3-stud corner.

Should studs be 16 or 24 inches apart?

Use what your plans show. 16 in on center is the usual choice for bearing walls and walls with heavy finishes. 24 in on center saves studs and is common for nonbearing walls and advanced framing, where the code and the wall covering allow it.

How many plates does a wall need?

A standard wall has one bottom plate and a double top plate, so three times the wall length in linear feet.

Sources

Related calculators

DrywallSheets, screws, tape and mud for a room.Board FootBoard feet and cost for lumber.InsulationBatts or blown-in bags for an attic or wall.RafterCommon rafter length from span and pitch.