Framing calculator

Wall Stud Calculator

A wall stud calculator that turns your wall length and on-center spacing into the stud count for framing it, then adds plates, corners and openings. Miss studs and the framing stops mid-wall while you wait for lumber; over-order and long studs fill the garage. Enter the length and spacing and get the count before you buy.

  • Free to use
  • No sign-up
  • Formula and sources shown
Wall Stud Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app

Studs needed

16

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Studs = ceil((Wall Length × 12) ÷ Spacing) + 1

Worked example. A 20 ft wall framed at 16 in on-center: (20 × 12) ÷ 16 = 15, plus 1 for the starting stud = 16 studs.

Count studs by spacing, then add the starter. Multiply the wall length in feet by 12, divide by the on-center spacing in inches, round up, and add 1 for the starting stud. A 20 ft wall at 16 in on-center needs (240 ÷ 16) + 1 = 16 studs, or 11 studs at 24 in on-center. Wider spacing saves lumber, so check what your wall actually needs before you frame.

Key takeaways

  • •Studs = ceil(wall length in inches ÷ spacing) + 1. A 20 ft wall needs 16 studs at 16 in on-center and 11 at 24 in on-center.
  • •The count covers a straight wall. Add studs for corners, door and window openings, and intersecting walls.
  • •Plates are separate: a standard wall has one bottom plate and a doubled top plate, so three times the wall length in plate lumber.
  • •Buy about 10% extra studs, because some will be bowed, split or twisted.
  • •Stud size and spacing must meet your local code and the loads on the wall. Ask an engineer for anything unusual.

How to use the wall stud calculator

  1. Measure the length of the wall in feet.
  2. Enter the wall length.
  3. Enter the on-center spacing: 16 in is the most common, and 24 in is used in some efficient framing systems.
  4. Read the number of studs for a straight wall.
  5. Add studs for corners, intersections, doors and windows using the rules on this page.
  6. Add plates, headers and blocking, then 10% extra for culls.

Wall stud formulas

Studs (straight wall) = ceil[ Wall length (ft) × 12 ÷ Spacing (in) ] + 1

Studs per foot ≈ 12 ÷ Spacing (in) (0.75 at 16 in, 0.5 at 24 in)

Plate lumber (linear ft) = 3 × Wall length (one bottom plate and a double top plate)

Order = (Studs + Corner and opening studs) × (1 + Waste %)

The +1 is the starting stud. Studs are laid out at the on-center spacing from one end, and the last stud is placed at the far end of the wall, even if it falls closer than the spacing to its neighbor.

Wall stud examples

Example 1: 20 ft wall, 16 in on-center

  • 20 × 12 ÷ 16 = 15; 15 + 1 = 16 studs

Example 2: same wall, 24 in on-center

  • 240 ÷ 24 = 10; 10 + 1 = 11 studs

Example 3: 14 ft wall, 16 in on-center

  • 168 ÷ 16 = 10.5, rounded up = 11; 11 + 1 = 12 studs

Example 4: a 12 ft × 16 ft room (four walls, 16 in on-center)

  • 12 ft walls: 10 studs each; 16 ft walls: 13 studs each; total = 46
  • Add about 2 studs per corner for backing: 46 + 8 = 54
  • With 10% extra for culls = 60 studs

Example 5: 20 ft wall with a 3 ft door and a 3 ft window (estimate)

  • Base count = 16 studs
  • Each opening adds 2 king studs and 2 jack studs (4 studs) and removes about 2 studs that would fall inside the opening: +2 each
  • A window adds about 4 cripple studs above and below, so the total is about 16 + 2 + 2 + 4 = 24 studs, plus two headers and a sill

Example 6: plates for a 20 ft wall

  • 3 × 20 = 60 linear feet of 2×4 or 2×6 plate
  • That is four 16 ft boards (64 ft), with the top plate splices staggered and offset

Studs needed by wall length

Wall lengthStuds at 16 inStuds at 24 in
8 ft75
10 ft96
12 ft107
16 ft139
20 ft1611
24 ft1913
30 ft2416
40 ft3121

Straight walls with no openings. Add the extras described below for corners, intersections and openings.

16 in vs 24 in on-center

Feature16 in on-center24 in on-center
Studs per foot of wall0.750.5
Lumber useMoreLess (about a third fewer studs)
Sheathing and drywall supportMore nailing surface; stiffer wallRequires thicker sheathing or drywall in some cases
Common useStandard residential 2×4 walls2×6 walls and advanced (efficient) framing
InsulationMore framing in the wallMore room for insulation and less thermal bridging

Spacing, stud size and height limits come from the IRC (Section R602) and local code, and they depend on whether the wall carries a roof, ceiling or floors. Check your code, or ask an engineer.

Stud sizes and precut lengths

Ceiling heightPrecut stud length (typical)Note
8 ft92⅝ inWith three plates (4½ in) gives a framed wall height of 97⅛ in
9 ft104⅝ inCommon for 9 ft ceilings
10 ft116⅝ inCommon for 10 ft ceilings

Actual lumber is smaller than nominal size: a 2×4 is 1½ × 3½ in and a 2×6 is 1½ × 5½ in. Taller walls may need a longer stud, and plates and floor thickness change the numbers.

Corners, intersections and openings

DetailStuds to add (allowance)Notes
Outside corner (3-stud)About 2 beyond the end studsGives nailing for drywall on both sides
Advanced or California cornerAbout 1Uses fewer studs and leaves room for insulation
T-intersection (partition meets wall)About 2A backer for the partition wall
Door or window opening2 king + 2 jack, minus about 2 displaced studsPlus a header and cripples
WindowAdd cripples above and belowSill supports the lower cripples

These are planning allowances, not a framing plan. Use your drawings for exact corner and opening details.

Headers and rough openings

  • •A header carries the load over a door or window. Its size depends on the span and the load above it, so use the span table in your code or your plans.
  • •King studs run full height beside the opening. Jack (trimmer) studs sit beside them and support the header.
  • •Rough opening width is often the door or window width plus about 2 in for jambs and shims. Check the manufacturer's rough opening size.
  • •Non-bearing walls and bearing walls need different headers, so confirm which your wall is.

How much waste should you allow?

SituationTypical waste
Plain walls and straight stockAbout 5 to 10%
Standard house framingAbout 10%
Mixed-quality lumber, or many cuts and openingsAbout 10 to 15%

Studs are often bowed, crowned or twisted. Sort them, and put the bad ones where short pieces are needed, like cripples and blocking.

Estimating framing cost

Cost = Studs × Price per stud + Plate and header lumber + Fasteners

Example only: 24 studs at $3.50 each is $84. Plates, headers, blocking, nails or screws and delivery are extra. Use the lumber board feet calculator when your supplier prices lumber by the board foot.

Framing tips

  • •Lay out both plates together with a tape and mark the stud positions so they match.
  • •Crown studs up (the bow to the top) so the wall stays flat.
  • •Check the wall for square and plumb before you fasten the top plate.
  • •Use blocking where code or finishes need it, such as at mid-height for fireblocking in some walls.
  • •Keep lumber dry, flat and off the ground until you use it.

Troubleshooting common framing problems

ProblemLikely causeWhat to do
Wall not plumbUneven plates or poor bracingBrace the wall, plumb it, then fasten the plates
Wavy drywall surfaceBowed or crowned studsSort the studs and install them crown the same way; plane or shim high spots
Stud too short or too longCut mistakes or plate misalignmentCut studs to the same length and check the plate layout
SqueaksFasteners missing or lumber movingAdd fasteners and shims

Terms explained

TermMeaning
On-center (o.c.)Distance from the center of one stud to the center of the next
King studFull-height stud beside an opening
Jack or trimmer studStud that supports the header
HeaderBeam over an opening that carries load around it
Cripple studShort stud above or below an opening
Sole or bottom plateThe bottom horizontal piece of the wall
Top plateThe doubled horizontal piece on top of the studs
Rough openingThe framed opening before the door or window is installed
Advanced framingEfficient framing, often 24 in o.c. and fewer studs and headers

Common wall stud calculator mistakes

  • •Forgetting corner, intersection and opening studs.
  • •Forgetting the plates and headers.
  • •Entering the wall length in inches instead of feet.
  • •Mixing up spacing with the clear distance between studs.
  • •Using 24 in spacing where the code requires 16 in.
  • •Not buying extra studs for culls.

Metric conversions

FromTo
16 inches406 mm
24 inches610 mm
1 foot0.3048 metres
92⅝ inches2,353 mm

Whole-house stud takeoff: a worked example

A single wall is easy; a house is a takeoff. The method is the same, done wall by wall: field studs from the formula, then corners, then openings, then waste. Take a single-storey 30 ft × 40 ft house with 8 ft walls at 16 in on-center, two doors and six windows.

Example: 30 ft × 40 ft house, 16 in on-center

  • 30 ft walls: ceil(360 ÷ 16) + 1 = 24 studs each; 40 ft walls: ceil(480 ÷ 16) + 1 = 31 each
  • Field studs: 2 × 24 + 2 × 31 = 110 studs
  • Corners: 4 corners × 2 extra studs = 8 studs
  • Openings: 2 doors × 5 (2 king and jack net, plus 3 cripples above) = 10; 6 windows × 10 (2 net, plus 4 cripples above and 4 below) = 60
  • Subtotal: 110 + 8 + 10 + 60 = 188 studs; with 10% waste, 188 × 1.10 = 206.8, so order 207 studs
  • Plates: perimeter 140 ft × 3 = 420 lin ft of plate lumber, or twenty-seven 16 ft boards before splices

Example: the same house at 24 in on-center (advanced framing)

  • 30 ft walls: ceil(360 ÷ 24) + 1 = 16 each; 40 ft walls: ceil(480 ÷ 24) + 1 = 21 each
  • Field studs: 2 × 16 + 2 × 21 = 74 studs, 36 fewer than at 16 in
  • Corners and openings stay roughly the same: 8 + 10 + 60 = 78, so the subtotal is 152 and the order is about 168 studs
  • That is about 39 fewer studs than the 16 in layout, roughly a 19% saving on the whole order, plus less thermal bridging

Interior partition walls add to the same takeoff: a 12 ft partition at 16 in needs 10 studs, plus about 2 where it meets an exterior wall. Add the wall sheathing with the plywood calculator, the lumber volume with the lumber board feet calculator, and the wall covering with the drywall calculator, then save the full list to your project in the BuildCova app so the yard order and the site crew work from the same numbers.

2×4 vs 2×6 vs engineered studs

StudActual sizeStrengthsWatch out for
2×41½ × 3½ inCheapest; standard for interior and many exterior wallsLimited insulation depth; taller walls may need closer spacing
2×61½ × 5½ inMore insulation room; taller walls; often used at 24 in o.c.Costs more per stud; deeper window and door jambs
Engineered (LVL / LSL)Varies by productStraighter and more uniform; long lengths without warpCosts more; follow the manufacturer's span and fastening rules
Steel studsVaries (e.g. 3⅝ in)Straight, light, non-combustible; common in commercial workDifferent tools and fasteners; thermal bridging unless detailed

Stud size, spacing and height limits come from the IRC tables or an engineer. A 2×6 at 24 in on-center can carry a taller wall than a 2×4 at 16 in, but only within the code's limits for the load and height involved.

Advanced framing, 24 in on-center spacing, single top plates where allowed, two-stud corners and right-sized headers, cuts the stud count by roughly a third on the field studs, as the worked example above shows, and leaves more of the wall open for insulation. It is not a shortcut: it only works where the code allows it, it needs sheathing and drywall thick enough to span 24 in, and window and door headers still have to be sized for the load. Where it is allowed, the saving is real, about 39 studs on the 30 ft × 40 ft house above, and the wall insulates better because there is less wood bridging from inside to outside.

Blocking, fireblocking and bracing checklist

Studs alone do not make a finished wall. Blocking and bracing are the parts most often missed in a stud count, and they are the parts an inspector asks about. Blocking is short pieces of lumber fitted horizontally between studs; fireblocking closes the hidden vertical passages inside a wall so fire and smoke cannot travel freely up through the framing.

  • •Fireblocking: fit blocking at ceiling and floor levels, at soffits, and at intervals in tall walls, commonly where the concealed space exceeds about 10 ft vertically, using lumber, plywood or approved material. Check your local code for the exact locations.
  • •Mid-height blocking: in walls over about 8 ft, a row of blocking at mid-height keeps long studs straight and gives a nailing line for finishes. Count one block per stud bay per row.
  • •Let-in bracing vs sheathing: older walls used diagonal 1×4 let-in bracing; most modern walls get their bracing from structural sheathing nailed to the studs. If a wall has no structural sheathing, it needs another approved bracing method.
  • •Backing for fixtures: add blocking where towel bars, grab bars, heavy mirrors, cabinets and handrails will be fixed, before the drywall goes on. Finding a stud after the wall is closed is the expensive way to do it.
  • •Top plate laps: stagger the joints of the doubled top plate so they do not line up with the joints in the plate below, and lap plates at corners and intersections to tie walls together.

A practical allowance for a house is one block per stud bay for each row of blocking, plus backing pieces at every fixture location on the plans. Count the bays from the stud count: a 20 ft wall with 16 studs has 15 bays, so one row of mid-height blocking needs 15 short pieces, each cut to fit between studs at 16 in on-center.

Ordering and sorting lumber like a pro

The cheapest studs are the ones you do not have to replace. At the yard, sight down each stud and reject the ones with a bow, twist or crook you can see, plus any with large knots at the edge or splits at the ends. A 10% cull allowance covers normal stock; if the pile looks poor, take 15% and tell the yard why. Sort the delivery on site before framing starts: straight studs for long walls, slightly crowned studs installed crown-up for walls that must stay flat, and the worst pieces cut down for cripples, blocking and short walls where the defect can be cut out.

  • •Keep lumber flat, off the ground and covered until it is used; wet studs shrink and twist as they dry.
  • •Order precut studs (92⅝ in for 8 ft ceilings) where they fit, and cut the rest from longer stock.
  • •Check the grade stamp: No. 2 is the usual framing grade, and Select Structural costs more for a reason on heavily loaded walls.
  • •Count the delivery against your list before the truck leaves, and photograph any short or damaged bundles.
  • •Save the takeoff to your project in the BuildCova app, so a second order for the same house uses the same numbers instead of a fresh guess.

The sill the walls sit on needs its own count. Use the anchor bolt calculator for the foundation bolts, and the stairs that serve the framed floors need the stair calculator.

Related framing tools

Assumptions

  • •Assumes a straight wall with no openings. Add extra studs for door and window king studs, jack studs and headers, which this calculator does not include.
  • •16 inches on-center is standard for most residential wall framing. 24 inches on-center is common for advanced framing.
  • •Plates, blocking, corners and sheathing are separate. Stud size and spacing must meet your local code.

Sources✓ Verified

  • Standard residential wall framing convention. 16 in on-center is the most common stud spacing in North American residential construction; the +1 accounts for the starting stud at one end of the wall.
  • International Residential Code (IRC) Section R602, Wood Wall Framing. Stud size, spacing, height and header requirements.
  • AWC Wood Frame Construction Manual and Span Tables. Engineering guidance for wood framing.
  • Your local building department. Adopted code edition and amendments.

Formula reviewed November 2026.

At standard 16 in on-center spacing, a 20 ft wall needs 16 studs. At 24 in on-center, it needs 11.

About 0.75 studs per foot at 16 in on-center and 0.5 per foot at 24 in on-center. Add studs for corners, openings and intersections.

16 inches on-center is the most common spacing for residential walls. 24 inches on-center is used in some advanced or efficient framing systems and with 2×6 walls.

At 16 in on-center, an 8 ft wall needs 7 studs. At 24 in on-center it needs 5.

At 16 in on-center, a 10 ft wall needs 9 studs. At 24 in on-center it needs 6.

At 16 in on-center, a 12 ft wall needs 10 studs. At 24 in on-center it needs 7.

Each 12 ft wall needs 10 studs at 16 in on-center, so four walls need 40. Add about 8 for corners and extras for doors and windows.

No. Openings need additional king studs, jack studs (trimmers) and a header. Window openings also need cripples above and below. See the opening example on this page.

Many corners use three studs, so you add about two beyond the end studs already counted. Advanced framing corners use fewer. Check your plans.

A precut stud for an 8 ft ceiling is typically 92⅝ inches, which with three plates makes a wall about 97⅛ inches tall. 9 ft and 10 ft precuts are 104⅝ and 116⅝ inches.

2×4 is the standard for interior and many exterior walls. 2×6 gives more room for insulation, can span taller walls and is often used at 24 inches on-center. The right choice depends on code and design.

A standard wall has one bottom plate and a doubled top plate, so you need three times the wall length in plate lumber, plus extra for splices.

About 10%, since some studs will be bowed or split. Buy more if the lumber looks poor.

On-center means the distance measured from the center of one stud to the center of the next. A 16 in on-center layout puts a stud center every 16 inches.

Lay out studs at 16 inches from one end and place the last stud at the end of the wall, even if the spacing is shorter there. The calculator's +1 covers it.

They can. Bearing walls often have limits on stud size, height and spacing that come from the code tables or an engineer, so do not assume 24 inches is allowed.

At 16 in on-center, a 30 ft wall needs 24 studs for the straight run. At 24 in on-center it needs 16. Add studs for corners and openings, plus about 10% for culls.

At 16 in on-center, the two 10 ft walls need 9 studs each and the two 12 ft walls need 10 each, so 38 field studs. Add about 8 for the four corners, plus openings; a door adds about 5 and a window about 10, then 10% waste. A room with one door and two windows works out to about 38 + 8 + 5 + 20 = 71, or about 79 studs with waste.

Advanced framing, also called optimum value engineering, uses 24 in on-center spacing, two-stud corners, single top plates where allowed and right-sized headers. On a 30 ft × 40 ft house it cuts the field studs from 110 to 74 and the whole order from about 207 studs to about 168, a saving of roughly 39 studs, or about 19%, and leaves more room for insulation. It only applies where the code allows it, and sheathing and drywall must span 24 in.

Converters to use with the Wall Stud Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More framing calculators

Ramp Slope CalculatorFramingRamp Slope CalculatorThis ramp slope calculator turns your vertical rise and chosen slope ratio into the horizontal run, total ramp length and incline angle you need, so you can build a ramp that is safe to use and fits the space. Then plan landings and handrails around it. A 24 in rise at the ADA maximum 1:12 slope needs a 288 in, or 24 ft, run, a ramp length of about 24.1 ft and an angle of about 4.76 degrees.Plywood & Sheathing CalculatorFramingPlywood & Sheathing CalculatorA plywood calculator that turns your roof, wall or floor area into the exact number of standard 4×8 ft sheets of plywood or OSB you need, then helps you choose the right thickness and plan the nailing. A sheet short leaves a patch of deck uncovered; extra sheets tie up money and truck space. Enter the area and get the sheet count the job takes.Lumber Cost CalculatorFramingLumber Cost CalculatorA lumber cost calculator that turns your board list into board feet, the cost per board foot and per piece, and the total with waste, delivery and tax. Enter how many boards you need, their size and the wood species, then compare all six species side by side for the same order. The species choice matters more than the board count, so compare it before you order.Anchor Bolt CalculatorFramingAnchor Bolt CalculatorThis anchor bolt calculator works out how many foundation anchor bolts your sill plate needs, and where the code says to put them, so the frame is anchored correctly the first time. Enter your sill plate's total length and the maximum allowed spacing. At the IRC maximum of 6 ft spacing, a 20 ft plate needs 5 bolts, with at least 2 bolts per plate section.Floor Joist CalculatorFramingFloor Joist CalculatorThis floor joist calculator finds the smallest joist size that works for your span, from 2 by 6 to 2 by 12, and counts the joists, so you order the right lumber and avoid a floor that bounces. Pick the species, spacing and loads, then enter the span and floor length. Each size is checked three ways, bending, deflection and shear. A Douglas Fir-Larch joist at 16 in on-center spans 13.87 ft as a 2 by 10 and 16.87 ft as a 2 by 12.Log Weight CalculatorFramingLog Weight CalculatorThis log weight calculator works out the weight of a log before you fell it, load it or mill it, so the trailer, crane or mill is never overloaded. A log's weight is its volume times the species density, and the density depends on whether the wood is green or dry, because green wood can be a third water by weight. Enter the length, the diameter at each end and the species to get the green weight, the dried weight and the water lost as it seasons.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.