Skip to the calculator
CalcBuilt

Stud Calculator

Calculate how many studs and plates you need to frame a wall at 16 or 24 in on center, including extra studs for corners and openings and 10% waste.

By CalcBuilt Editorial TeamUpdated September 11, 2026Formulas checked against manufacturer specs, see how we calculate.

Quick answer: To find how many studs you need, divide the wall length in inches by the stud spacing and add one, then add 3 studs per corner and 4 per opening and 10% waste. A 20 ft wall at 16 in on center with 2 corners and 1 opening needs 29 studs and 60 ft of plate lumber.
Your measurements
studStud spacingWall length
Wall framing: studs at a fixed on-center spacing between a bottom plate and a double top plate.
Results update as you type. The link in your address bar saves these entries.

Results

Studs to buy
29 studs
16 field studs + 6 for corners (3 each, conventional framing) + 4 for openings, plus 10% waste
Plate lumber
60 ft
Bottom plate plus double top plate (3 x wall length); top plate laps overlap 24 in minimum and land over a stud (IRC R602.3.2)
16 ft plate pieces
4 pieces
2x4 or 2x6 to match the studs; a bottom plate on a slab is treated lumber over sill seal, anchored with 1/2 in bolts at 6 ft on center (IRC R403.1.6)
Stud length
92.625 in
With three 1.5 in plates the wall stands 97.125 in tall
Headers
1 header
Size bearing-wall headers from IRC Table R602.7(1) by opening width and building width; a non-bearing wall needs only a flat 2x4 and cripples

Stud formula

Field studs = Wall length (in) / spacing, rounded up, + 1
Extra studs = Corners x 3 + Openings x 4
Studs to buy = (Field + Extra) x (1 + waste %)
Plate lumber (ft) = 3 x Wall length  (bottom plate + double top plate)

Worked example

A 32 ft garage wall framed 24 in on center with 2 corners and 3 openings: 32 x 12 / 24 = 16, plus 1 = 17 field studs. Add 6 for corners and 12 for openings = 35. With 10% waste, 38.5, so buy 39 studs. Plates: 3 x 32 = 96 linear ft, or six 16 ft 2x4s.

Quick reference

Field studs by wall length (no corners, openings or waste)
Wall length16 in on center24 in on center
8 ft75
10 ft96
12 ft107
16 ft139
20 ft1611
24 ft1913
32 ft2517

How to calculate studs for a wall

Convert the wall length to inches and divide by the on-center spacing. Round up and add one for the end stud. That gives the field studs. Then add the framing that does not follow the layout. Each corner or T-intersection gets three studs, the conventional detail that gives drywall backing on both faces. Each opening gets at least four for the king and jack studs, plus cripples cut from the drops. Rough openings are the door slab width plus 2 in and 82-1/2 in tall for a standard 80 in door; openings over 6 ft get double jacks.

Order 10 percent extra and cull at the yard: sight down each stud and reject a crown over 1/4 in, a twist or a split end. Mark the crown on the keepers and set every stud with the crown facing the same way so the drywall lies flat. Save the straightest for corners, openings and any wall that gets cabinets.

Plates, headers and spacing

Every wall gets a bottom plate and a double top plate, so plate lumber is three times the wall length. Buy 16 ft pieces. Top plate laps overlap 24 in minimum and land over a stud (IRC R602.3.2), and the cap plate crosses the corners to tie the walls together. On a slab the bottom plate is treated lumber over sill seal, anchored with 1/2 in bolts at 6 ft on center and within 12 in of each plate end (R403.1.6).

16 in on center is the default for bearing walls and lines up with 4 ft sheet goods. IRC Table R602.3(5) allows 2x4 at 24 in on center on a bearing wall that carries roof and ceiling only. With one floor above, frame 16 in on center or use 2x6 at 24 in. Size bearing-wall headers from IRC Table R602.7(1) by opening width and building width. A non-bearing wall needs only a flat 2x4 header and cripples. Fire blocking goes at dropped soffits and every 10 ft horizontal in a concealed wall (R302.11), with backing at T-intersections for the drywall.

What this calculator leaves out

Sheathing, nails (16d for framing, 8d for sheathing), header lumber and plywood spacers, cripples and sills, blocking, anchor bolts and sill seal, and the permit. It also assumes the wall is new. Before removing an existing wall, check joist and truss direction, point loads and beams above, and shore both sides. A bearing wall needs an engineered beam and posts down to footings.

Code limits that apply

  • IRC Table R602.3(5)

    2x4 at 24 in OC only under roof and ceiling; a floor above means 16 in OC or 2x6 at 24 in

    If you miss it: A two-story wall framed 2x4 at 24 in gets tagged at framing; the fix is a stud between every pair

  • IRC R317.1

    Bottom plate on a concrete slab is treated lumber or set over an approved moisture barrier

    If you miss it: An untreated plate wicks moisture off the slab and rots behind the drywall; the framing inspector checks the stamp

  • IRC R403.1.6

    1/2 in anchor bolts at 6 ft OC max, within 12 in of each plate end, 2 min per piece

    If you miss it: A plate end with no bolt within 12 in means drilling and epoxying anchors after the wall is standing

  • IRC R602.3.2

    Double top plate, end joints offset 24 in min and lapped at corners and intersecting walls

    If you miss it: A joint that lands between studs with no 24 in lap leaves the wall unconnected; the inspector wants a strap or a new plate

  • IRC Table R602.7(1)

    Header size by span, building width and snow load; a flat 2x4 only in a non-bearing wall

    If you miss it: A doubled 2x6 over a 6 ft window sags and the sash binds; the header comes out with the sheathing already on

  • IRC R302.11

    Fireblocking every 10 ft horizontally in concealed walls, at soffits and at each floor line

    If you miss it: A dropped soffit over the cabinets with no blocking fails the framing inspection after drywall is hung on one side

Rows marked checked produce a warning in the results when an entry crosses the limit. The others are on the plans or on site and this calculator does not test them. Local amendments can be stricter; the adopted edition and the inspector govern.

Mistakes that cost money

  • Removing a wall without checking bearing: check joist and truss direction, point loads and beams above, then shore both sides before cutting.
  • Buying 96 in studs for an 8 ft wall: it comes out 100-1/2 in and every stud gets cut; 92-5/8 in precuts cost the same.
  • Not culling at the yard: every bundle has studs with a 1/2 in crown, and each one shows as a wave in the drywall.
  • Untreated bottom plate on a slab: it wicks moisture and rots; use treated lumber over sill seal (IRC R317.1).
  • No fire blocking at dropped soffits and every 10 ft horizontal in a concealed wall (IRC R302.11): the framing inspection fails.
  • Two-stud corners and T-intersections with no backing: drywall has nothing to screw to, so add the third stud or ladder blocking.

Key facts

  • At 16 in on center, a wall needs about one stud per 16 in of length plus one; at 24 in, one per 2 ft plus one.
  • Precut studs are 92-5/8 in long so that with three 1-1/2 in plates the wall comes to 97-1/8 in, which fits 8 ft drywall with room for the ceiling.
  • Each corner uses 3 studs in conventional framing and each door or window opening uses at least 4 (two king studs and two jack studs).
  • A 20 ft wall at 16 in on center uses about 29 studs once corners, one opening and waste are counted.
  • Bottom plates on a concrete slab must be pressure-treated or separated by a moisture barrier (IRC R317.1), and anchored with 1/2 in bolts at 6 ft on center (R403.1.6).

Frequently asked questions

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

16 field studs at 16 in on center, plus 3 per corner and 4 per opening. With two corners, one door and 10% waste that is 29 studs.

How do I know if a wall is load-bearing?

Exterior walls are bearing. An interior wall is bearing when the joists or trusses above run perpendicular to it, or when it stacks over a beam or wall below. A wall carrying a post or point load is bearing too. Trusses can clear span the house, but many still bear on an interior wall. If in doubt, open the ceiling and look, or pay an engineer for a letter; the inspector will want one for a beam anyway.

Why are precut studs 92-5/8 inches?

So that with a bottom plate and a double top plate (three 1-1/2 in plates) the wall stands 97-1/8 in, which leaves room for 8 ft drywall on the walls plus a 1/2 in ceiling and a gap at the floor.

Should I frame at 16 or 24 inches on center?

16 in is the default for bearing walls and gives stiffer walls and easier drywall. 24 in uses about 30% fewer studs. IRC Table R602.3(5) allows 2x4 at 24 in on a bearing wall carrying roof and ceiling only; with a floor above, use 16 in or 2x6 at 24 in.

Sources and references

Next steps for this project

  1. Post Holes
  2. Floor Joists
  3. Deck
  4. Stairs
  5. Baluster Spacing
  6. Fence
  7. Board feet

The usual order for a framing, decks & fences project. See all framing, decks & fences calculators.

Embed this calculator

Results are estimates based on standard formulas and typical product specifications. Confirm quantities with your supplier and local code before ordering.