Home › Stud Calculator

Timber, fencing & layout

Stud Calculator

Estimate the lumber for framing a wall. Enter the wall length and stud spacing, add corners and openings, and choose how many plates the wall has to get the studs and plate boards to buy.

US & metric · No account needed · Calculations stay in your browser

View the measurement guide
Measurement guideNot to scale
Measurement guide for Stud CalculatorEnter the wall run and specified stud spacing. Corners, openings and plate detailing require separate checks. All geometry is schematic and does not depict a structural design.Wall runSpecified center spacing
Enter the wall run and specified stud spacing. Corners, openings and plate detailing require separate checks. View detailed drawings
  1. MeasureEnter your project measurements.
  2. MatchCheck product values and allowances.
  3. ReviewCheck quantities, inputs and sources.

Your project

Change an input to update the estimate. Check units and product assumptions before ordering.

Units
Wall
Extras
Plates

YOUR MATERIALS

Purchase estimate

Headers, cripple studs, blocking and sheathing are not included. Stud length depends on your wall height and plate setup.

Detailed drawings & current dimensions

Not to scale. Dimension values follow your inputs; the drawing proportions do not. Displayed numbers may be rounded. This is a measurement aid, not an approved construction detail.

Measurement overview

Measurement overviewSchematic measurement view, not to scale. Lettered dimensions correspond to the current input list. Layer heights and repeated items are illustrative, not design details.Wall runSpecified center spacing

Current calculator inputs

Hidden shape inputs are omitted. These values are entered assumptions, not independently verified product data.

Keep this estimate

Export the current estimate as a visual report. Print it or save as PDF. Local saving is optional; no account is required.

Back up or restore saved projects

Data files (JSON) are for restoring editable projects, not for reading or printing. They include saved projects only; save the current estimate first if you want it in the backup.

UNDERSTAND THE ESTIMATE

Treat openings as detailing work

The base count covers a straight run at the entered center spacing. Corner and opening entries add simple allowances; they do not lay out king studs, trimmers, cripples or headers for a real framing elevation.

Plate linear length is a total, and stock pieces are rounded from that total. Required laps, joints over supports, bracing and unusable offcuts can increase the order. Check each wall rather than joining unrelated walls into one run.

Try a checked example

A straight 12 ft wall at an entered 24 in spacing has six spaces and seven base studs. With no corner or opening allowance, that remains seven. Two plate runs need 24 linear ft, or two 12 ft stock lengths before joints and cutting details. This example does not establish a permitted framing layout.

Show all example inputs
Inputs used in this example
UnitsUS customary
Wall length (ft)12
Stud spacing (on center)24 in
Corners0
Doors and windows0
Extra for waste (%)0
Plates (bottom + top)2 – single top plate
Plate board length12 ft
  • Base studs: 7
  • Studs including entered allowances: 7
  • Plate length (ft): 24
  • 12 ft plate pieces: 2

Illustrative project geometry and stated assumptions; not a product endorsement or construction specification.

Example checked on October 22, 2026. Calculation method and limits.

How to use the stud calculator

  1. Enter the length of the wall and choose the stud spacing measured from the center of one stud to the center of the next. 16 in is the most common spacing in the US.
  2. Enter the number of corners and of doors and windows in the wall. Each adds extra studs.
  3. Choose the number of plates. Most load-bearing walls have one bottom plate and a double top plate, which is 3 plates.
  4. Choose the length of the boards you will cut the plates from.

The formulas

Studs at regular spacing = wall length ÷ spacing (rounded up) + 1 Extra studs = 2 per corner + 2 per door or window Total studs = (regular + extra) × (1 + waste %) Plate length = wall length × number of plates Plate boards = plate length ÷ board length (rounded up)

Each door or window needs jack studs on both sides to carry the header, so the calculator adds two per opening. Corners need extra studs so both walls have something to nail into. The waste allowance covers crooked boards, blocking and other small pieces.

Pre-cut stud lengths

Wall heightCommon pre-cut stud
8 ft92⅝ in
9 ft104⅝ in
10 ft116⅝ in

Pre-cut studs are sized so that a stud plus a bottom plate and a double top plate gives the nominal ceiling height.

Worked example

A 20 ft wall with studs 16 in on center, 2 corners, 1 window and a double top plate:

Tips

Calculation basis, defaults & source review

What this model calculates

Regular studs = ceil(wall length / entered spacing) + 1. Add stated corner/opening allowances and waste. Plate stock is pooled total length divided by selected stock length.

Fixed assumptions and limits

  • Extra framing allowance: Two studs per entered corner and opening. Simplified project allowance, not a header/trimmer design.

Stud/plate quantities are preliminary and may require additional stock at joints. Headers, loads, anchors, fire and lateral detailing are not designed.

Reset inputs for comparison

These are starting values, not a prescription or a record of your current inputs. Your estimate and exported report show the values actually used. Select a matching manufacturer reference or enter exact product data where supported.

ParameterUS reset / unitMetric reset / unitStatus
Wall length20 ft6 mIllustrative project input; not a prescribed value
Stud spacing (on center)16 in 400 mm Illustrative project input; not a prescribed value
Corners2 2 Illustrative project input; not a prescribed value
Doors and windows1 1 Illustrative project input; not a prescribed value
Extra for waste10 %10 %Illustrative project input; not a prescribed value
Plates (bottom + top)3 – double top plate 3 – double top plate Illustrative project input; not a prescribed value
Plate board length12 ft 3.6 m Illustrative project input; not a prescribed value

Evidence and applicability

  • American Wood Council — decks and DCA 6 resources — Resource index including DCA 6 (2015); not a selected local code. Construction/design context, not validation of fence/deck/stud default quantities or structural adequacy. Review status: primary resource index reviewed.
  • NIST — revised unit conversion factors — International foot definitions; web reference checked 22 October 2026. Unit definitions and conversion factors only; not material density or product coverage. Review status: primary content reviewed.

Arithmetic, model and source-scope review: 22 October 2026. Indexed-only or access-limited sources are identified explicitly. Review does not verify your measurements, every product or every possible input. Independent professional engineering approval has not been obtained.

Sources and technical limitations

The AWC site provides framing context. The calculator does not size members, verify load paths or design a header, connection or bracing system.

Engineering safety: This tool only estimates materials or selected geometry. It does not check structural adequacy, loads, connections, foundation stability or full building-code compliance. Use a qualified design professional and the locally adopted code before construction.

Frequently asked questions

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

At 16 in on center, a 20 ft wall needs 16 studs before extras. With 2 corners, 1 opening and 10% waste, plan on about 25 studs.

Should studs be 16 or 24 inches apart?

16 in on center is the most common spacing for walls in the US. 24 in spacing uses less lumber and is allowed for some walls, but check your local building code and the requirements of your sheathing and drywall.

Why do you add 1 to the stud count?

Dividing the wall length by the spacing gives the number of spaces between studs. You need one more stud than spaces so both ends of the wall are covered.

What length are pre-cut studs?

Common pre-cut studs are 92⅝ in for 8 ft walls and 104⅝ in for 9 ft walls, sized for one bottom plate and a double top plate.

Related calculators

Browse all calculators by task