Wall Framing Calculator

Studs, top and bottom plates and board feet for a wood-framed wall at 16 or 24 inches on center.

King and jack studs, minus the regular stud the opening replaces.
One bottom plate plus a double top plate = 3.
%
$
Studs to buy
49 studs
Plates
9 plate boards × 16 ft (120 linear ft of plate)
Working
31 studs at 16 in on center + 13 for corners and openings, plus waste
Lumber volume
235 board feet of lumber
Estimated stud cost
Enter a price per stud to estimate cost

Framing a wall starts with a simple count: one stud every 16 (or 24) inches along the wall, plus one at the end. Then come the extras: corners and wall intersections need additional studs to give the drywall something to attach to, and every door or window adds king and jack studs. This wall framing calculator handles all of it, adds the plates (a bottom plate and a double top plate), and reports board feet and cost. A 40 ft wall at 16 inches on center has 31 layout studs, and about 49 studs to buy with two corners, three openings and 10% waste.

Next steps: sheathe the outside with the plywood & osb sheathing calculator, insulate with the insulation r-value calculator and close it up with the drywall calculator.

How to use the wall framing calculator

  1. Enter the wall length. For a room or building, add up all the walls or run each wall separately.
  2. Choose the stud spacing: 16 inches on center is the most common; 24 inches is allowed for many walls under the IRC stud-spacing tables, especially 2×6 walls.
  3. Choose the stud length for your wall height and the lumber size.
  4. Enter corners and intersections (each adds about two studs) and the number of doors and windows.
  5. Keep the plate rows at 3 for a standard bottom plate and double top plate, and choose the plate board length you will buy.

Formula

Layout studs = Wall length (in) ÷ Spacing, rounded down, + 1
Studs = (Layout studs + 2 × Corners + Extra per opening × Openings) × (1 + Waste%), rounded up
Plate boards = Wall length × Plate rows × (1 + Waste%) ÷ Board length, rounded up

Worked example

A 40 ft wall, 2×4 at 16 inches on center, 8 ft precut studs, 2 corners, 3 openings at 3 extra studs each, 16 ft plates and 10% waste.

  1. Layout studs: 480 in ÷ 16 = 30, + 1 = 31.
  2. Extras: 2 × 2 + 3 × 3 = 13. Subtotal 44.
  3. With 10%: 44 × 1.10 = 48.4, so 49 studs.
  4. Plates: 40 × 3 = 120 ft × 1.10 = 132 ÷ 16 = 8.25, so 9 boards of 16 ft.
  5. Board feet: (49 × 8 + 9 × 16) × 1.5 × 3.5 ÷ 12 = 536 × 0.4375 = 234.5 bf.

A quick check many framers use, one stud per linear foot of wall, gives 40, close to the 44 before waste.

Studs per wall length

Layout studs only (no corners, openings or waste) and linear feet of plate for a single bottom and double top plate.

Wall lengthStuds at 16 in O.C.Studs at 24 in O.C.Plate (3 rows), linear ft
8 ft7524
10 ft8630
12 ft10736
16 ft13948
20 ft161160
24 ft191372
32 ft251796
40 ft3121120

Headers, cripples and blocking

Each opening also needs a header sized for its span and load (the IRC has header span tables), plus short cripple studs above the header and below windows. Cripples can often be cut from offcuts and waste studs, which is one reason a 10% waste allowance is common. Fire blocking, nailers for cabinets and backing for grab bars add a few more pieces. Use the board foot calculator to price header stock.

Code basics

Chapter 6 of the International Residential Code sets stud size, height and spacing limits (Table R602.3(5)), top plate overlap at corners and intersections, and header requirements. The American Wood Council's Wood Frame Construction Manual covers the same topics for higher wind and seismic loads. Exterior walls sit on a sill plate anchored to the foundation; size that footing with the concrete footing calculator. After drywall, finish the joints with the drywall mud & tape calculator.

Caveats and assumptions

  • Openings vary: wide openings with double jacks or doubled kings use more studs. Adjust the extra per opening.
  • California corners and ladder blocking use fewer full studs than a traditional three-stud corner.
  • Plates on long walls need staggered splices; the 10% waste covers typical offcuts.
  • This calculator does not size headers, beams or bracing. Follow your local code or engineer.

Frequently asked questions

How many studs do I need for a 12 ft wall?

At 16 inches on center, 144 ÷ 16 + 1 = 10 studs, plus extras for corners and openings. At 24 inches on center, 7 studs.

How many studs for a 10 ft wall at 16 inches on center?

120 ÷ 16 = 7.5, rounded down to 7, plus 1 = 8 studs, before corners, openings and waste.

What is the rule of thumb for studs?

Many framers estimate one stud per linear foot of wall at 16 inches on center, which roughly covers layout studs, corners and openings.

Why are studs 92-5/8 inches long?

Precut studs for 8 ft walls are 92-5/8 inches so that with a bottom plate and double top plate (3 × 1.5 in) the wall is 97-1/8 inches tall, leaving room for 8 ft drywall plus a ceiling layer.

Can I frame walls 24 inches on center?

The IRC allows 24 inch spacing for many 2×4 and 2×6 walls depending on height and load. Check Table R602.3(5) and your local code.

Sources

This calculator gives estimates for planning and education. Check measurements, local codes, supplier specs and your school's official policy before relying on a result. See our disclaimer and how we build and check calculators.