Wall Framing Calculator

Enter the wall length and the stud spacing from your plans, then the corners and openings with the extra studs each one takes in your framing detail. The calculator counts the studs and the plate boards to buy. It counts lumber only – it does not size studs or choose a spacing.

This is a material estimate, not an engineering calculation. Consult a qualified professional for structural or code-sensitive decisions.

Example values are filled in. Replace them with your own measurements.

The length of the wall along the floor, end to end. For several walls, add their lengths or work out each wall separately.

Center-to-center distance between studs, from your plans or local code. The filled-in value is only an example – it is not a recommendation for your wall.

The number of corners and places where another wall meets this one. Enter 0 if you don’t want to count them.

How many studs each corner or intersection adds beyond the regular layout in your framing detail. Leave it empty if you don’t know it yet.

The number of openings in the wall.

Studs each opening adds in your framing detail (for example king and jack studs). Headers, sills and cripples are not counted.

Bottom plate plus top plates. The IRC caps stud walls with a double top plate, so a wall usually has three rows; a single top plate is an exception with its own conditions.

The length of the boards you will buy for the plates. Southern Pine dimension lumber comes in 8 to 20 ft lengths in 2 ft steps; check what your supplier stocks.

Optional extra for warped, split or miscut pieces, added to studs and plates. 0 gives the exact count.

Material needed

Studs
16
Plate boards
4
Studs on the layout
16
Extra studs (corners, openings)
0
Plate length
60 ft
  • Material quantity only – not a structural design.
  • Stud size and spacing come from your plans, local code or an engineer – the IRC sets maximum stud spacing by stud size and load in Table R602.3(5). This calculator only counts studs at the spacing you enter.
  • Only the regular layout is counted. Corners, wall intersections, doors and windows usually need extra studs – enter them to include them.
  • The plates need joints. The IRC requires end joints in a double top plate to be offset at least 24 in (610 mm), so plan where the joints fall; offcuts may not always be usable.

Optional. Enter your supplier’s price – we never fill in prices for you.

Estimates only. Actual material requirements may vary – verify manufacturer specifications before you buy.

Schematic previewFraming layout along 20 ft, members 16 in on center

How it works

The calculator lays the studs out along the wall at the spacing you enter, adds the studs for corners and openings, and counts the plate boards for the number of plate rows.

Layout studs = ⌈ Wall length ÷ Spacing ⌉ + 1
Extra studs = Corners × Studs per corner + Openings × Studs per opening
Studs = ⌈ (Layout studs + Extra studs) × (1 + Extra ÷ 100) ⌉
Plate length = Plate rows × Wall length
Plate boards = ⌈ Boards for the plate rows × (1 + Extra ÷ 100) ⌉

⌈ ⌉ means rounding up. The layout always has one more stud than it has spaces, because the wall needs a stud at both ends. For the plates, a row no longer than a board is cut from one board (two short rows can share a board); a longer row takes whole boards plus one cut piece, and cut pieces come out of further boards only as many times as they fit.

Worked example in words

A 20 ft wall with studs 16 in on center is 240 in long, which is 240 ÷ 16 = 15 spaces, so 16 studs on the layout. Two corners at 2 extra studs each and one window at 4 extra studs add 8, for 24 studs. With three plate rows the plates are 3 × 20 = 60 ft. Each 20 ft row takes one 16 ft board and a 4 ft piece; four 4 ft pieces come out of one board, so the three rows need four 16 ft boards.

What decides the spacing and the plates

The calculator does not choose a stud spacing. In the International Residential Code the size, height and spacing of studs follow Table R602.3(5): the maximum spacing ranges from 24 in down to 16 or 12 in depending on the stud size and on how many floors and roofs the wall carries (Seattle Residential Code 2015, Chapter 6, which adopts the 2015 IRC). Your plans or local code may call for something else, and walls with large openings, tall walls or heavy loads may need an engineer.

The same chapter says wood stud walls are capped with a double top plate, with end joints offset at least 24 in, and that studs bear on a bottom plate at least as wide as the studs. That is why three plate rows are filled in. If your plans use a single top plate under the code’s exception, change the plate rows to 2.

Corners, openings and lumber lengths

Corners, intersections and openings are framed in different ways, so the number of studs each one takes is yours to enter. Headers, sills, cripple studs and blocking are separate pieces and are not counted. Southern Pine dimension lumber is specified in standard lengths from 8 to 20 ft in two-foot steps (Southern Forest Products Association); pick the plate length you can buy, and choose stud lengths from your wall height after deducting the plates. In metric, enter your stud spacing in millimetres and the board length your supplier stocks – none is filled in.

This is a count of lumber, not a structural design. Stud size, spacing, headers and bracing must follow your plans and local code; have a qualified professional check anything you are unsure about.

Worked example

Inputs

Wall length
20 ft
Stud spacing (on center)
16 in
Corners and wall intersections
2
Extra studs per corner
2
Doors and windows
1
Extra studs per opening
4
Plate rows
3
Plate board length
16 ft
Extra lumber
0 %

Result

Studs on the layout
16
Extra studs (corners, openings)
8
Studs
24
Plate length
60 ft
Plate boards
4

Common mistakes

  • Dividing the wall length by the spacing and stopping there. A wall needs one more stud than it has spaces, because there is a stud at both ends.
  • Forgetting the extra studs at corners, wall intersections, doors and windows. They often add more studs than you expect – count them from your framing detail.
  • Counting only one top plate. Most walls under the IRC get a double top plate, which makes three rows of plates in total.
  • Choosing a stud spacing to save lumber. The spacing depends on the stud size, the loads and the sheathing, and is set by the plans, the code or an engineer.
  • Buying plates at the exact length with no allowance for joint offsets. Top-plate joints have to be staggered, which can leave offcuts that cannot be used.

Assumptions and limits

  • Studs are laid out at the spacing you enter from one end of the wall, with a stud at both ends; the number of spaces is rounded up.
  • Extra studs are your own figure per corner and per opening. Headers, sills, cripple studs, blocking and fire blocking are not counted.
  • Plates run the full wall length in every row. A row longer than a board takes whole boards plus one cut piece, and cut pieces are reused across rows only where they fit.
  • Studs are counted, not sized – choose the stud length from the wall height and the plates you use.
  • This is a lumber count, not a structural design. It does not check stud size, height, spacing, loads, headers or bracing.

Frequently asked questions

How many studs do I need for a wall?

Divide the wall length by the stud spacing, round up and add one for the stud at the far end. A 20 ft wall at 16 in on center has 240 ÷ 16 = 15 spaces, so 16 studs on the layout. Then add the extra studs your corners, intersections, doors and windows take.

Should studs be 16 or 24 inches on center?

That is a design decision, not something this calculator can choose. The IRC lists maximum stud spacing in Table R602.3(5) depending on stud size, height and what the wall carries, and your plans or local code may require less. Enter the spacing from your plans.

How many plates does a wall need?

Under the IRC, wood stud walls sit on a bottom plate and are capped with a double top plate, which is three rows. A single top plate is allowed only as an exception with specific ties at joints and corners, so follow your plans.

How many studs does a corner or a window take?

It depends on the framing detail – the type of corner, how intersecting walls are backed, and the king and jack studs at each opening. Enter the number of extra studs from your detail; the calculator multiplies it by the number of corners and openings.

How many plate boards should I buy?

The calculator multiplies the wall length by the number of plate rows and fits the runs onto the board length you enter. For a 20 ft wall with three rows and 16 ft boards, each row needs one full board and a 4 ft piece, and four 4 ft pieces come out of one board, so four boards in total.

Sources

Method reviewed November 4, 2026

Privacy choices

Choose whether this site may use analytics cookies to measure which calculators are used. Your calculator inputs are never sent.