Skip to content
MaterialsEstimator
Every tool

Groundwork and paving

Everything that gets poured, compacted or laid on the ground

Floors

Inside, from the subfloor up

Walls and ceilings

Board, paint and what goes behind them

Roof and exterior

The outside of the building and the water coming off it

Outdoor structures and landscape

Decks, fences and everything green

Sizing the systems

Heating, cooling and hot water

Framing and carpentry

Cut lists, layout and the code that constrains them

Measuring and costing

The tools that feed every other one

Appearance

How this is worked out

Framing and carpentry

Stud calculator

A 40 ft exterior wall, 8 ft high in 2 × 4 at 16 in on center, with two corners, a wall join, a door and three windows, takes 53 studs — more than the one per foot framers reckon on a plain wall, because of the openings — 12 plates of 12 ft, headers and sheathing: $570 of lumber, $1,530 framed. Change the spacing, the size or the openings and every piece is recounted.

Pablo Ruiz Quintero, editor of MaterialsEstimator

Written and edited by Pablo Ruiz Quintero
Last reviewed 2026-09-30 · Nothing you type leaves your browser

Stud and wall framing calculator

The wall, the spacing and the openings

Studs are counted the way a framer counts them: one every 16 in along the wall, plus the ones corners, wall intersections, doors and windows take.

Double top plate, a real header over every opening, and sheathing on the outside.

All the walls added up.

Interior walls and most one- and two-storey exterior walls in mild climates.

A framing crew.

Used only to pick a regional labour rate. It stays in your browser.

40 ft of 2 × 4 wall at 16 in

53 studs

12 plates of 12 ft · 10% waste included

$1,530 framed

$4.78 a square foot of wall · $38.24 a foot of wall

The rule of thumb

About one stud per foot, plus the openings.

On a plain wall at 16 in centers, a stud per linear foot is the quick check framers use; corners, joins and every door and window add to it. This wall is 1.32 a foot.

12, 16 or 24 inches on center

40 ft of exterior, load-bearing wall, 8 ft high.

The spacing chosen aboveThe others
studs · the wall framed12 in on center64 studs · $1,57916 in on center53 studs · $1,53024 in on center42 studs · $1,480
The same wall, corners and openings at each spacing. Going from 16 to 24 in saves studs and very little money: the plates, headers, sheathing and the crew’s time do not change.

Lumber list

  • 2 × 4 studs, 92-5/8 in precut
    31 on 16 in centers along 40 ft, plus 17 for corners, wall intersections and the kings, jacks and cripples at openings, and 10% for crooked ones.
    53 studs · $239
  • 2 × 4 × 12 ft top plates
    A doubled top plate, lapped at corners and intersections.
    8 boards · $64
  • 2 × 4 × 12 ft bottom plate
    Nailed to the subfloor through to the joists.
    4 boards · $32
  • Headers, two plies of 2 × 6
    One over each of 4 openings, 3 in longer than the opening to sit on the jack studs.
    26 lin ft · $31
  • 7/16 in OSB sheathing
    4 × 8 ft sheets on the outside face, the openings cut out after.
    9 sheets · $180
  • Nails, pins and connectors
    Framing nails, and pins or screws into concrete for a basement plate.
    40 lin ft · $24
  • Framing crew
    Laying out, building, standing and bracing 320 sq ft of wall.
    $960

What it costs

National average. 40 ft of 8 ft exterior, load-bearing wall in 2 × 4 at 16 in, with its plates and headers and sheathing. Not included: insulation, drywall, electrical, a permit.

Typical$1,530
Range$1,063 – $2,222

Then the drywall and the insulation; lumber by the board foot, on the board foot calculator.

Worth knowing

  • 53 studs for 40 ft of wall — 1.32 a foot. The framer's quick check is one stud per foot at 16 in centers on a plain wall; every corner, join and opening pushes it up, which is why a wall full of windows comes out well above one.
  • The header sizes here are the usual rule for a one-storey bearing wall. A second floor, a girder or snow load above changes them: the code's header tables, or the lumber yard's engineer, decide.
On this page — 4 sections
  1. 01Counting studs like a framer
  2. 02Spacing and stud size
  3. 03Headers over openings
  4. 04What goes wrong

Counting studs like a framer

The short version

  • 40 ft at 16 in: 53 studs, with two corners, a join, a door and three windows.
  • About one stud per foot on a plain wall; openings add more.
  • Framed: $4.78 a square foot of wall.
  • 24 in saves studs, not money.

studs = (length × 12 ÷ spacing + 1 + 2·corners + 2·joins + 2·doors + 3·windows) × 1.1

The field count is one stud every 16 in and one to finish. Corners take extra studs so the drywall has something to land on inside; a wall joining another takes a pair or a ladder of blocking; a door takes jack studs under its header; a window takes jacks and the cripples under its sill. Then 10% more, because some studs arrive crooked.

QuantityCost
2 × 4 studs, 92-5/8 in precut53 studs$239
2 × 4 × 12 ft top plates8 boards$64
2 × 4 × 12 ft bottom plate4 boards$32
Headers, two plies of 2 × 626 lin ft$31
7/16 in OSB sheathing9 sheets$180
Nails, pins and connectors40 lin ft$24

53

Studs

40 ft wall

12

Plates

12 ft boards

$570

Lumber

With sheathing

$1,530

Framed

Hired

MaterialsEstimator, Wall framing takeoff and price survey · checked 2026-09-30

Spacing and stud size

StudsFramed
12 in on center64$1,579
16 in on center53$1,530
24 in on center42$1,480
2 × 6 at 16 in53$1,775

The building code sets stud size and spacing by what the wall carries and how tall it is: 2 × 4 at 16 in for most bearing walls, 24 in where it carries only a roof and ceiling or nothing at all. 2 × 6 walls are for insulation depth and plumbing more often than for strength.

International Code Council, International Residential Code, Section R602, Wood wall framing · checked 2026-09-16

Headers over openings

Two plies ofPer foot
Opening up to 3 ft2 × 6$1.20
Opening up to 4 ft2 × 8$1.60
Opening up to 5 ft2 × 10$2.10
Opening up to 6 ft2 × 12$2.70

In a bearing wall every opening needs a header that carries the load above it to jack studs on each side. The sizes above are the framer’s rule for a one-storey wall; a floor, a girder or snow above changes them, and anything wider than 6 ft is an engineered beam. A non-bearing partition needs only a flat piece to nail to.

International Code Council, IRC R602.7 — Headers over openings in bearing walls (2021) · checked 2026-09-23

What goes wrong

Before ordering

  • Every wall measured and added up.
  • Corners, joins, doors and windows counted.
  • Which walls are bearing.
  • Wall height, for the right precut studs.
  • Treated plates for anything on concrete.
  1. 01Forgetting corners and openings

    They add a stud per foot's worth.

    Instead — Count them, or use one stud per foot.

  2. 02Untreated plate on a slab

    Concrete wicks moisture and the plate rots.

    Instead — Pressure-treated bottom plate.

  3. 03A flat header in a bearing wall

    It sags and the drywall above cracks.

    Instead — A real header on jack studs.

  4. 04Framing tight to a basement wall

    Moisture and no room for insulation.

    Instead — An inch off, with foam first.

  1. 01Count the field studsLength in inches ÷ spacing, plus one.
  2. 02Add corners and wall joins2 extra for each corner and 2 for each place another wall meets it.
  3. 03Add the openings2 for each door and 3 for each window: jacks and cripples.
  4. 04Add waste10% for crooked and split studs.
  5. 05Count the platesWall length × 3 (bottom and double top), in 12 ft boards.
  6. 06Size the headersTwo plies over each opening in a bearing wall.

Sheets, mud and tape for the walls you just framed.

Then the drywall
On center (OC)
The distance from the middle of one stud to the middle of the next: 16 in is standard, 24 in saves studs, 12 in is for tall or heavy walls.
Precut stud
A stud cut to 92-5/8 in so an 8 ft wall with a bottom plate and a double top plate comes to 97-1/8 in — room for a sheet of drywall and a gap.
Top plate
The horizontal member on top of the studs, doubled on a bearing wall and lapped at corners to tie the walls together.
Bottom plate
The horizontal member under the studs; pressure-treated where it sits on concrete.
King stud
The full-height stud beside an opening.
Jack stud
The shorter stud inside the king that carries the header.
Cripple
A short stud above a header or below a window sill.
Header
The beam over a door or window in a bearing wall, carrying the load around the opening.

Common questions

How many studs do I need?
Divide the wall length in inches by the spacing, add one, then add 2 per corner, 2 per wall join, 2 per door and 3 per window, and 10%. A 40 ft wall at 16 in with two corners, a join, a door and three windows is 53 studs; a plain 10 ft wall is 10.
How many studs per foot of wall?
About one at 16 in on center on a plain wall — the framer's quick check: a 10 ft partition with no openings is 10. Corners and openings push it up: the 40 ft wall here, with a door and three windows, comes to 1.32 a foot, and 1.05 at 24 in.
How much does framing cost per square foot?
About $4.78 a square foot of wall for an exterior 2 × 4 wall with sheathing — $570 of lumber and $960 of labour for 320 sq ft — and $4.36 for an interior partition. The crew is about $3 a square foot of wall; framing it yourself is the lumber alone, $570, and about 13 hours.
How much does it cost to frame a basement?
About $3,696 for 120 ft of 8 ft wall against the foundation — treated bottom plate, 2 × 4 at 16 in, a door — or $816 in lumber if you frame it yourself. Insulation and drywall come after.
How much does it cost to frame an interior wall?
About $418 for a 12 ft partition with a door, 8 ft high: 18 studs, plates and a flat header, framed.
Should I frame at 16 or 24 inches on center?
16 in is standard and required for most bearing 2 × 4 walls with a floor above. 24 in saves studs — 42 instead of 53 here — but little money ($1,480 against $1,530), because plates, headers, sheathing and labour do not change.
2 × 4 or 2 × 6 studs?
2 × 6 for exterior walls in cold climates, so the cavity takes R-20 insulation, and for plumbing walls. The same 40 ft wall is $1,775 in 2 × 6 against $1,530 in 2 × 4.
What size header do I need?
As a rule of thumb for a one-storey bearing wall, two plies of 2 × 6 up to 3 ft, 2 × 8 up to 4 ft, 2 × 10 up to 5 ft, 2 × 12 up to 6 ft; past 6 ft, engineered lumber. A floor or a girder above changes that — the code's header tables or the lumber yard's engineer decide.
How long are studs for a 9 or 10 ft wall?
92-5/8 in for 8 ft, 104-5/8 in for 9 ft, 116-5/8 in for 10 ft — precut so the finished wall height with a bottom plate and a double top plate suits full drywall sheets.

Send this to whoever is paying

The link carries your measurements, so whoever opens it sees the same numbers you are looking at — and you can come back to it yourself tomorrow with the delivery note in front of you.

Plain links, no tracking scripts. Nothing here reports back that you shared it.

Pablo Ruiz Quintero, editor of MaterialsEstimator

About the author

Pablo Ruiz Quintero — Editor

Editor of MaterialsEstimator. Decides which documents count as a source, what every default value is, and where the line sits between what the reader parses and what the engines compute.

More about how this site is edited