Stud Calculator

Framing a straight 12-foot wall at standard 16-inch on-center spacing requires 11 precut 2×4 studs (including a 10 percent lumber reserve) and 36 linear feet of plate lumber, costing $106 to $127 in DIY materials.

Free · No sign-up · Last reviewed

Quick start:

Your project size

(feet)
feet
(corners)
corners
(doors)
doors
(windows)
windows

Total Precut Wall Studs Required

76 Studs (8-Ft Wall Precut Stock)

Top & Bottom Plate Lumber

144 Linear Feet (1 Treated Bottom Plate + 2 Top Plates)

Materials list

MaterialQuantityUnitNotes
2×4 Precut Studs (92-5/8")76StudsIncludes 37 field studs + 12 corner studs + 20 opening trimmers
2×4 Horizontal Plate Lumber (16-Ft Boards)916-Ft BoardsTreated bottom sill plate + double top tie plates
16D Common Framing Nails (3-1/2")5BoxesIRC Table R602.3(1) fastener schedule compliant

Estimated cost: DIY vs. contractor

National Average
DIY Raw Materials Only
$450 – $540

Cost of raw lumber, concrete, shingles, wire, or stone without equipment rentals or labor.

Hired contractor
$845 – $1,459

Full installation: permits, site prep, skilled trade labor, equipment, and structural warranty.

Estimated Sweat Equity
~$657

Average trade labor savings if executed as a skilled DIY homeowner project.

IRC Chapter 6 Wall Assembly & Opening Framing Model

Rendering formula...

Wall Framing Stud Layout for 48 Lin Ft (16" OC)

  1. Field Studs: ceil((48 × 12) / 16) + 1 = 37 studs.
  2. Corners (4): 4 × 3 studs = 12 studs.
  3. Openings (2 doors + 3 windows): 5 × 4 king/jack studs = 20 studs.
  4. Adding 10% bow/crown lumber reserve: ceil(69 × 1.10) = 76 studs.
  5. Plate lumber: 48' × 3 continuous runs = 144 linear feet.
Tip: Use pressure-treated lumber for the bottom sole plate whenever mounting directly to a concrete slab.

Quick Reference Sizing & Coverage Table

Standard commercial specifications and pre-calculated project benchmarks.

Wall Length16" OC Studs (Inc Openings)24" OC StudsPlate Lumber (Lin Ft)Framing Cost (DIY)
20 ft Wall28 Studs22 Studs60 Lin Ft$160 – $240
48 ft (12×12 Room)62 Studs48 Studs144 Lin Ft$360 – $520
88 ft (2-Car Garage)108 Studs84 Studs264 Lin Ft$640 – $920
160 ft (House Perimeter)196 Studs152 Studs480 Lin Ft$1,150 – $1,650
International Residential Code (IRC 2024) Chapter 6

IRC Table R602.3(5) Size, Height and Spacing of Wood Studs

Requires minimum 2x4 studs spaced 16 inches OC or 2x6 studs spaced 24 inches OC for exterior load-bearing walls supporting roof and ceiling. Top plate must be doubled with end joints lapped at least 24 inches; bottom plate must be pressure-treated when in direct contact with concrete slab.

How to use the stud calculator

  1. Enter the total linear footage and ceiling height (8, 9, or 10 feet) of the walls you plan to frame.
  2. Select your stud spacing: 16 inches on center for standard load-bearing walls or 24 inches on center for non-structural partitions.
  3. Enter the number of corners, door openings, and window openings so the calculator can add required corner studs and opening trimmers.

What is the distance between studs?

The standard distance between wall studs in North American residential construction is 16 inches on center (O.C.), measured from the center of one stud to the center of the adjacent stud. On non-load-bearing interior partition walls and energy-efficient advanced framing systems, residential building codes allow 24 inches on center.

Because nominal 2×4 lumber measures 1.5 inches wide, the clear physical gap between two studs is:

  • 14.5 inches for 16-inch on-center framing.
  • 22.5 inches for 24-inch on-center framing.

Standard 16-inch spacing ensures that standard 48-inch wide building materials (drywall panels, OSB exterior wall sheathing, and plywood) span exactly three stud cavities, allowing panel edges to meet directly over the 0.75-inch bearing center of a wooden stud without custom ripping.

How many studs do I need for a wall?

To calculate the number of field studs for a straight wall, convert the total wall length to inches, divide by the on-center spacing, round up to the next whole number, and add one stud for the end of the wall:

Field Studs = ceil((Wall Length in Feet × 12) ÷ Spacing in Inches) + 1

After determining field studs, add 3 studs for every 90-degree corner, add 4 studs for every door or window opening (two king studs plus two jack/trimmer studs), and add a 10 percent lumber reserve to account for bowed, twisted, or crowned boards.

Here is the math for a 12-foot straight wall (8-foot height):

  • Field Studs (16″ OC): (12 ft × 12 in ÷ 16 in) + 1 = 9 + 1 = 10 field studs.
  • Waste Reserve (10%): ceil(10 × 1.10) = 11 total precut studs (92-5/8″ length).
  • DIY Material Cost: $106 to $127 ($49.50 in studs + $16.88 in plate lumber + $40 baseline fasteners).
  • Adding Corners: If this 12-foot wall connects two corners, add 6 corner studs (2 × 3 = 6). The subtotal rises to 16 studs, requiring 18 total studs with the 10 percent lumber reserve ($138 to $166 DIY).
  • Plate Lumber: 12 ft × 3 continuous runs (one sole plate plus a double top plate) = 36 linear feet (3 boards of 16-foot 2×4 lumber).

For a complete 12×12 room (48 linear feet, 4 corners, 1 door, 2 windows):

  • 37 field studs + 12 corner studs + 12 opening trimmers = 61 subtotal.
  • Adding 10 percent lumber reserve = 68 precut studs (92-5/8″).
  • Plate lumber = 48 × 3 = 144 linear feet (9 boards of 16-foot 2×4).
  • Fasteners = 5 boxes of 16D framing nails.
  • DIY Material Cost = $414 to $497; Turnkey Installed Cost = $845 to $1,459.

16″ vs 24″ on center

Choosing between 16-inch and 24-inch on-center spacing depends on structural loading, local building code requirements, and thermal insulation goals:

Specification16 Inches On Center (Standard)24 Inches On Center (Advanced / Partition)
Permitted Wall TypesExterior load-bearing, interior bearing, multi-storyNon-bearing interior partitions, single-story roof-only bearing
Studs for 12-Ft Wall (Straight)11 precut studs (incl. 10% reserve)8 precut studs (incl. 10% reserve)
Clear Cavity Width14.5 inches22.5 inches
Drywall RequirementStandard 1/2-inch drywallWalls: 1/2″ standard OK · Ceilings at 24″: 1/2″ sag-resistant or 5/8″ (IRC Table R702.3.5)
Thermal BridgingHigher (more wood conducting heat)Lower (wider cavities allow more cavity insulation)
Structural RigidityHighest; ideal for tile backing and cabinetryAdequate for standard drywall partitions

Framing a 12-foot straight wall at 24 inches on center requires only 8 studs compared to 11 studs at 16 inches on center, reducing framing lumber materials to $93 to $112. On walls, standard 1/2-inch drywall is permitted at 24-inch spacing, though ceilings framed at 24 inches require 1/2-inch sag-resistant or 5/8-inch drywall per IRC Table R702.3.5.

Extra studs for corners, doors and windows

Standard field stud calculations only cover repetitive wall bays. Every architectural intersection requires additional vertical framing members:

  • Corners (3 studs per corner): A standard residential corner assembly requires three full-length studs nailed together in an L-configuration or U-channel. This provides structural tie-in between intersecting walls and solid interior backing so drywall hangers can fasten wallboard edges securely.
  • Door and Window Openings (4 studs per opening): Every opening interrupts repetitive stud spacing. Framing requires:
  • King Studs (2 per opening): Full-length vertical studs running continuously from bottom sole plate to top plate, flanking each side of the opening.
  • Jack / Trimmer Studs (2 per opening): Shortened vertical studs fastened inside each king stud, cut to fit directly under the horizontal structural header beam to transfer roof and floor loads downward to the foundation.
  • Cripple Studs: Short vertical framing pieces installed above headers and below window rough sills, maintaining 16-inch on-center spacing for drywall fastening.

A helpful estimating rule of thumb is 1 stud per linear foot of wall, which approximates field studs, corners, opening trimmers, and typical lumber cull rates on standard residential floor plans.

Frequently asked questions

How many inches between studs in an older house?

Older homes often do not follow exact 16-inch on-center spacing. Prior to the widespread adoption of 48-inch standardized gypsum wallboard, carpenters constructing plaster-and-lath walls placed rough-sawn studs at irregular intervals to suit room dimensions or window placements rather than modular sheet layouts. In addition, older framing lumber was often true 2-by-4-inch rough-sawn timber rather than modern surfaced 1.5-by-3.5-inch dimensional lumber, producing different clear cavity widths.

How do I find studs behind drywall?

Locate wall studs behind finished drywall using three dependable physical indicators:

  1. Magnetic Fastener Locators: Rare-earth magnetic stud finders detect the steel drywall screws or nails driven into studs at 12-to-16-inch vertical intervals along framing lines.
  2. Electrical Receptacle Boxes: Most new-work outlet and switch boxes are fastened directly to the side of a wall stud. Remove the plastic wallplate to inspect which side holds the stud mounting bracket, then measure outward in 16-inch increments (note that old-work remodel boxes clamp directly to drywall rather than framing).
  3. Baseboard Trim Nails: Finish carpenters face-nail baseboard moldings directly into wall studs. Locating filled trim nail divots near the floor indicates vertical framing locations.

How many framing nails per stud?

IRC Table R602.3(1) sets the nail count and size for each connection — check it and your local code.

Sources and review

Prices and quantities come from the calculator above. Last reviewed . How our calculators work.