Framing Lumber Calculator

Working out how many studs a wall needs is a quick calculation once you know the wall length and the on-center spacing, but it is easy to forget the extra stud at the end of the run and the framing around corners and openings. This calculator counts the field studs from your wall length and spacing, adds the closing stud, lets you add extras for corners and openings, and estimates plate linear footage. Spacing and extras are editable so the count matches your plan and local building code.

0.00
0.00
0.00
0.00

Framing lumber formula

wall length (inches) = wall length (feet) * 12
bays = ceil( wall length inches / spacing )
field studs = bays + 1
total studs = field studs + extra studs
plate lumber (linear feet) = wall length (feet) * number of plates

The plus-one accounts for the stud closing the final bay (the fence-post rule). Plate footage assumes plates run the full wall length, typically one bottom and two top plates.

Framing facts

  • Common stud spacing is 16 inches or 24 inches on center.
  • A run of N bays needs N plus 1 studs because of the closing end stud.
  • Standard walls use one bottom plate and a doubled top plate.
  • Corners and door or window openings need extra studs beyond the field count.
  • Tighter spacing produces a stiffer wall but uses more lumber.

Framing lumber: frequently asked questions

How do I calculate the number of studs in a wall?

Divide the wall length by the on-center stud spacing and add one for the starting stud. For a 16-foot wall at 16-inch spacing, that is 192 inches divided by 16, which is 12, plus 1, giving 13 studs before extras for corners and openings. This calculator does that and lets you add extra studs.

What is on-center spacing?

On-center (OC) spacing is the distance from the center of one stud to the center of the next. Common framing spacings are 16 inches and 24 inches on center. Tighter spacing means more studs and a stiffer wall. Enter the spacing your plan or code requires; the calculator handles any value.

Why add one extra stud at the end?

Dividing length by spacing counts the gaps between studs, but a wall needs a stud at both ends, so you add one to close the final bay. This is the classic 'fence post' adjustment: a 4-bay run has 5 posts. The calculator includes this plus-one automatically.

How much plate material do I need?

Most walls have one bottom plate and a doubled top plate, so the plate length is roughly three times the wall length. This calculator estimates total plate linear feet as the wall length times the number of plates you specify, defaulting to three for a standard single-bottom, double-top arrangement.

Should I add studs for corners and openings?

Yes. Corners, T-intersections, and the framing around doors and windows (king studs, jack studs, cripples) all add to the count beyond the regular field studs. Because these depend on your specific layout, the calculator provides an editable extra-studs input so you can include them.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.