How to Estimate Wall Framing: Studs, Plates and Headers

Published November 30, 2026 · Updated November 30, 2026 · 13 min read

A stud wall looks like a simple thing to count: so many studs, a few plates, a header over each opening. The lumber order still comes up short more often than not, because the pieces that are easy to forget are the ones that don't sit on the layout marks. Corners take extra studs. Every door and window takes two king studs and two jack studs on top of the layout. Headers need bearing past the opening on each side. Windows need a sill. This guide counts a wall the way an estimator does, one piece at a time, so the order is right the first time.

The example is a 20 foot wall, 8 feet tall, framed 16 inches on center, with one door and one window. The free Wall Framing Calculator uses the same steps and the same starting numbers, so you can check each result against it and then change anything that doesn't match your wall. This is a material count, not a structural design. Stud size, header size and spacing come from your plans, your span tables and your building department, and nothing below replaces them.

Before you count: the rough openings

Framing is figured from the rough opening of each door and window, which is the hole in the framing, not the size of the unit that goes in it. The maker's spec sheet gives the rough opening. For a standard 36 by 80 inch prehung door it is commonly about 38 inches wide by 82½ inches tall, which is what the calculator starts with. The example window has a 36 inch wide by 48 inch tall rough opening. If you don't have the sheets yet, measure the unit and add the clearance its instructions call for.

Step 1: The layout studs

Studs are set on a repeating spacing measured center to center, usually 16 inches, from one end of the wall to the other. Turn the wall length into inches, divide by the spacing, round up, and add one for the stud at the far end.

Layout studs = (Wall length in inches ÷ Spacing), rounded up, + 1

Worked example: a 20 ft wall, 16 in on center

  • Wall length: 20 × 12 = 240 inches
  • Spaces: 240 ÷ 16 = 15 spaces, which is already a whole number
  • Layout studs: 15 + 1 = 16 studs

Why plus one? Fifteen spaces at 16 inches have a stud on each side of every space, and that is 16 studs: one at the start, one at each mark, and one at the end. Some calculators add 2 instead of 1 and would say 17. They are folding one extra stud for the corner into the layout. This calculator keeps them apart: the layout is the layout, and corners are counted on their own in the next step, so you can see where every stud came from. Both ways are honest as long as you don't count the corner twice.

When the length does not divide evenly, the round-up matters. A 21 foot wall is 252 inches, 252 ÷ 16 = 15.75, so there are 16 spaces and 17 layout studs, with the last space shorter than the rest.

Studs that land inside a door or window are not subtracted. They are cut into the cripples that go above the header and below the window sill, so they are bought anyway.

Step 2: Corners and T-intersections

Where this wall meets another wall, the layout stud at that end is not enough on its own. A corner needs extra studs so there is something to nail both walls to and a backer for the drywall inside the corner. A T, where an inside wall runs into this one, needs the same kind of backing. The calculator adds 2 studs for each corner and 2 for each T, and both numbers are editable, because framers build corners several ways and your plans may call for a different detail.

Corner studs = Corners × Extra studs per corner

T studs = T-intersections × Extra studs per T

Worked example, continued

  • Figured on its own, with no corners and no Ts: 0 extra studs
  • The same wall with a corner at each end: 2 × 2 = 4 extra studs
  • With two corners and one inside wall running into it: 4 + 2 = 6 extra studs

The example below is figured as a wall on its own, with no corners, so you can see the bare count. The corner numbers come back in the comparison table.

Step 3: King and jack studs at each opening

Every door and window interrupts the layout and needs its own frame. A king stud runs full height on each side of the opening. A jack stud, also called a trimmer, stands inside each king and holds up the header. The calculator adds 2 kings and 2 jacks for every opening, which is the common one-jack-each-side detail. Wide openings and heavier loads sometimes call for two jacks a side, so that number is editable too.

Opening studs = (Doors + Windows) × (Kings per opening + Jacks per opening)

Worked example, continued: 1 door and 1 window

  • Openings: 1 + 1 = 2
  • Studs per opening: 2 kings + 2 jacks = 4
  • Opening studs: 2 × 4 = 8 studs

Step 4: Add them up, then add waste

Add the layout, corner, T and opening studs, then add waste for the crooked ones you send back to the pile, the cuts and the extra you always seem to need on the last wall. The calculator starts at 10 percent. Round up, because you buy whole studs.

Studs = (Layout + Corners + Ts + Openings) × (1 + Waste ÷ 100), rounded up

Worked example, continued: 10% waste

  • Before waste: 16 + 0 + 0 + 8 = 24 studs
  • With waste: 24 × 1.10 = 26.4, so 27 studs

With a corner at each end it is 28 before waste, 30.8 after, so 31 studs. Add the T as well and it is 30 before waste and 33 studs to buy. Three corners and Ts, each with 2 extra studs, grew the order by 6, and they are the studs most often left off a quick count.

Buy studs in the length that fits the wall. Lumber yards sell precut studs for the common 8, 9 and 10 foot wall heights, sized so the studs plus the plates come out to the finished height, and the right one depends on how many plates your wall has. Ask for the precut that matches your plate stack.

Step 5: Plates and sills

The bottom plate runs the full length of the wall, and so does each top plate. A double top plate is the common detail, so the calculator starts with two. The bottom plate also runs straight through the door opening, because the wall is built and stood with the plate whole and the door section is cut out afterward, so it is not shortened. Each window gets one flat rough sill the width of its opening, cut from the same stock. Plate stock is bought in long pieces, so figure the total feet with waste and divide by the length you buy.

Plate feet = Wall length × (1 + Top plates) + Window sills

Pieces = Plate feet × (1 + Waste ÷ 100) ÷ Stock length, rounded up

Worked example, continued: double top plate, 16 ft stock

  • Bottom plate: 20 feet
  • Top plates: 20 × 2 = 40 feet
  • Window sill: 36 in = 3 feet
  • Total: 20 + 40 + 3 = 63 feet
  • With waste: 63 × 1.10 = 69.3 feet, and 69.3 ÷ 16 = 4.33, so 5 pieces of 16 ft stock

The same wall in 12 foot stock is 69.3 ÷ 12 = 5.775, so 6 pieces. A single top plate drops the total to 43 feet and 3 pieces of 16 ft stock. Plate stock should be straight and long, and the top plates should break at different studs than the bottom plate and lap each other at the corners, so a bit of waste here is money well spent.

Step 6: Headers

A header carries the load across the top of an opening and rests on the jack studs. Its length is the rough opening plus the bearing on each side, and the bearing is what sits on the jack. One jack is a 2x, which is 1½ inches thick, so the calculator starts with 1½ inches of bearing per side and the header is the opening plus 3 inches. Most headers are built from two or more pieces, called plies, nailed together, so the length is multiplied by the number of plies to get the stock you buy.

Header length = Rough opening width + 2 × Bearing

Header feet = (Sum of header lengths) × Plies ÷ 12

Worked example, continued: 2-ply headers, 1½ in bearing

  • Door header: 38 + 3 = 41 inches
  • Window header: 36 + 3 = 39 inches
  • Both headers: 41 + 39 = 80 inches, times 2 plies = 160 inches, which is 13.33 feet
  • With waste: 13.33 × 1.10 = 14.67, so 15 feet of header stock

Header stock is sold in lengths, so turn the feet into boards. One ply of the door header and one ply of the window header add up to 80 inches, which comes out of a single 96 inch board, so two 8 ft boards make both headers in two plies, 16 feet of stock for the 15 feet figured. Three plies on the same openings is 20 feet before waste and 22 feet after.

What this count does not tell you is the size of the header. Whether a given opening needs a doubled 2x6, a 2x10, an engineered beam or nothing more than a flat plate depends on the span, what the wall carries and whether it is a bearing wall at all. That comes from the plans, the span tables your building department uses, or an engineer. The calculator counts feet of whatever size you are told to use. If the plies are 2x material in a 2x4 wall, there is usually a spacer between them to bring the header out to the wall thickness, and the spacer is not counted here.

Step 7: Sheathing

If the wall gets sheathed, the sheets are figured from the wall area. The calculator covers the full wall and does not subtract the openings unless you tell it to, because the sheathing usually runs over the openings and is cut out afterward, and the cutouts are rarely big enough to save a whole sheet. A sheet is 4 feet wide, and it covers the wall height or the sheet height, whichever is less.

Wall area = Wall length × Wall height

Sheets = Wall area × (1 + Waste ÷ 100) ÷ Area per sheet, rounded up

Worked example, continued: 4 by 8 ft sheets

  • Wall area: 20 × 8 = 160 square feet
  • One sheet: 4 × 8 = 32 square feet
  • With waste: 160 × 1.10 = 176, and 176 ÷ 32 = 5.5, so 6 sheets

Subtracting the openings changes it on this wall. The door is 38 × 82.5 = 3,135 square inches and the window is 36 × 48 = 1,728, so together they are 4,863 square inches, which is 33.77 square feet. The net wall is 160 − 33.77 = 126.23 square feet, and 126.23 × 1.10 = 138.85, divided by 32 is 4.34, so 5 sheets. That one sheet is only saved if the cutouts are not needed anywhere else, so decide it from how the sheets will actually lay out.

Sheet height matters once the wall is taller than 8 feet. A 9 foot wall is 180 square feet. In 4 by 9 sheets that is 198 ÷ 36 = 5.5, so 6 sheets. In 4 by 8 sheets the top foot has to come from somewhere, so the calculator figures it on 32 square feet per sheet and needs 7 sheets, with the extra used in strips.

What changes the stud count most

Here is the same 20 foot wall, with the same door and window, under the choices people most often change. The wall is figured on its own, with 10 percent waste, unless the row says otherwise.

ChangeLayoutBefore wasteStuds to buy
12 in on center212932
16 in on center (the example)162427
24 in on center111921
16 in, no door or window161618
16 in, a corner at each end162831
16 in, two corners and one T163033
16 in, 15% waste162428

Going from 16 to 24 inches saves 6 studs on this wall, and going to 12 inches adds 5. The two openings alone add 8 studs, a third of the bare wall. Whether 24 inch spacing is allowed depends on what the wall carries, the stud size and local code, so it is a question for the plans, not for the calculator. The waste change is the smallest of the lot: 5 more points of waste is one more stud here.

The shopping list for the example wall

ItemFiguredBuy (10% waste)
Studs, 16 in on center, 1 door, 1 window, no corners2427 studs
Plate and sill stock, 16 ft pieces63 ft5 pieces
Header stock, 2 plies, size per the plans13.33 ft15 ft (two 8 ft boards)
Sheathing, 4 by 8 ft sheets, openings not subtracted160 sq ft6 sheets

Nails, header spacers, blocking, fire blocking, hold-downs, anchor bolts, sill sealer and house wrap are not counted here, so add them from your plan. With waste set to zero the same wall is 24 studs, 4 plate pieces, 14 feet of header and 5 sheets, which is what it takes with nothing to spare. Compare what two stores charge for the studs:

Check today's price:Home DepotLowe's

Once the walls are up, the drywall guide counts the sheets, mud, tape and screws for the inside, and the Roofing Calculator figures what goes on top.

What this guide does not decide

  • Whether the wall is bearing. A count cannot tell. The plans can.
  • Header size. Span and load set it. Use your building department's span tables or an engineer, then count feet of that size.
  • Stud size and spacing. 2x4 or 2x6, 16 or 24 inches on center, single or double top plate: these are code and design questions, and the calculator figures whichever you enter.
  • Corner and T details. Two extra studs each is a common count. If your framer builds a different corner, change the number.

Common mistakes

  • Counting only the layout. The 16 layout studs are two thirds of this wall. The openings add 8 and each corner adds 2.
  • Subtracting the studs in the openings. They become cripples above the header and below the sill. Leave them in.
  • Forgetting the bearing on the header. A 38 inch door opening takes a 41 inch header, not a 38 inch one, so each ply has to be cut from a board at least that long.
  • Counting the header once. A 2-ply header is two pieces. Three plies is three.
  • Shortening the bottom plate at the door. It is cut out after the wall stands. Buy it full length.
  • Rounding down. 26.4 studs is 27. 4.33 pieces of plate is 5. 5.5 sheets is 6.
  • Treating the count as a design. The number of pieces is not the size of the pieces. Check the plans and local code before buying the headers.

Questions people ask

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

At 16 inches on center, 16 layout studs. Add 4 per door or window for kings and jacks, 2 per corner and 2 per T, then about 10 percent waste. With one door, one window and no corners that is 24 studs figured and 27 to buy. With a corner at each end it is 31.

Why does one calculator say plus 1 and another say plus 2?

Dividing the wall length by the spacing counts the spaces, not the studs, and there is one more stud than spaces, so plus 1 closes the end. Calculators that add 2 are including one extra corner stud in the layout. This one counts corners separately, so the layout gets plus 1 and each corner gets its own 2.

How long should a header be?

The rough opening plus the bearing on each side. With one 1½ inch jack stud a side, that is the opening plus 3 inches: 41 inches for a 38 inch door opening and 39 inches for a 36 inch window opening. The size of the header, meaning its depth and the number of plies, comes from the span and the load, not from this guide.

Does the calculator include cost?

Yes. The Wall Framing Calculator totals studs, plate stock, header stock and sheathing with the prices you type in, and it never fills a price in for you.

Estimates only. This is a material count, not a structural design, so check your plans, your building department's span tables and local code for stud size, spacing and header size, and your supplier for stock lengths before you buy. Found a mistake in this guide? Tell us and it will be fixed first.