Skip to content
TROWELLY

Wall Framing Calculator

Enter the wall length and height, stud spacing and the number of corners and openings to see how many precut studs, 16 ft plates and header boards to buy.

Units
ft

Add up every wall you are framing.

ft
%

Covers crooked boards, blocking and mistakes.

Add prices for a cost estimate (optional)

Quantities work without prices. Material prices start as typical prices for your area, marked “Regional estimate”; type over any of them with the price you are quoted or see in store. Clear a price if you don’t know it, or enter 0 for something you already have.

Estimates use the US average.

each
each
each
per hour
hours
%
total

Results

Studs
54 studs
Studs on layout
31 studs
Extra studs at corners, walls and openings
18 studs
Plate length (1 bottom + 2 top)
120 ft
Plate boards (16 ft)
8 boards
Header boards (2×8, 12 ft)
2 boards
  • Headers are sized for typical openings in non-bearing or lightly loaded walls. Wide openings and bearing walls may need 2×10, 2×12 or engineered headers; follow your plans and local code.
  • You will also need framing nails or screws, and pressure-treated lumber for any bottom plate on concrete.

Where to buy

Quantities from your result, with links to search each store.

Your ZIP code stays on this device. We use it to show stores and suppliers in your area.

You may also need

Sight down each stud at the store and skip crowned or twisted boards; a lumber yard will often let you pick through a unit.

Links search each store’s website. Check prices and stock before you go.

How to use the wall framing calculator

  1. Enter the total length of the walls you are framing and pick the wall height and lumber size.
  2. Choose 16 in or 24 in stud spacing.
  3. Count the outside corners, the places where another wall meets this one, and the windows and doors, then enter the average opening width.
  4. Check the prices, which start at typical lumber prices for your area.

How it works

Each opening gets two king studs and two jack studs. The short cripple studs above and below an opening are cut from the full studs the opening replaces, so they are not counted twice.

Precut studs are 92-5/8, 104-5/8 and 116-5/8 in long so that with one bottom plate and two top plates the wall comes out at 8, 9 or 10 ft.

Studs on layout = wall length in inches ÷ spacing, rounded up, + 1

Extra studs = 2 per corner + 2 per wall intersection + 4 per opening

Studs to buy = (layout + extra) × (1 + extra %)

Plates = 3 × wall length (1 bottom, 2 top) + 5%, in 16 ft boards

Headers = 2 plies × (opening width + 3 in) per opening, in 12 ft 2×8 boards

Worked example

With the default inputs, 40 ft of 2×4 wall at 16 in spacing needs 31 studs on layout.

Two corners, one intersection and three openings add 18 studs, and 10% extra brings the total to 54 precut studs.

The plates take 120 ft of lumber, or 8 boards of 16 ft, and three 3 ft openings need 2 header boards.

Tips before you buy

  • A quick check: at 16 in spacing, plan on about one stud per foot of wall, plus extras for corners and openings.
  • Use pressure-treated lumber for any bottom plate that sits on concrete.
  • Lay out the plates side by side and mark every stud and opening on both before you nail anything.
  • Bearing walls and wide openings need headers sized by your plans or code; 2×8 is a common size for short openings in non-bearing walls.

Frequently asked questions

How many studs do I need for a wall?

Divide the wall length in inches by the spacing, round up and add 1, then add 2 for each corner, 2 for each intersecting wall and 4 for each window or door. 40 ft at 16 in needs 31 plus extras.

Are studs 16 or 24 inches apart?

Most walls are framed 16 in on center. Some 2×6 exterior walls are framed 24 in apart to save lumber and leave more room for insulation, where the code and loads allow it.

What length studs do I buy for an 8 ft wall?

Buy 92-5/8 in precut studs. With a bottom plate and a double top plate, they make a wall 97-1/8 in tall, so 8 ft drywall fits with room at the floor.

How much lumber do I need for wall plates?

Three times the wall length: one bottom plate and a doubled top plate. A 40 ft wall needs 120 ft of plate, or 8 boards of 16 ft with a little extra for splices.

How do I size a header?

Header size depends on the opening width and the load above it. Your plans or the span tables in your local building code give the size; this calculator assumes doubled 2×8.

Results are estimates based on the measurements you enter and typical material properties, and costs are planning estimates: actual costs vary. Products vary, so check quantities with your supplier and follow product labels and your local building codes. Read the full disclaimer. Last reviewed October 9, 2026.