Wall Stud Calculator
Enter your wall length, stud spacing, corners and openings, and this wall stud calculator returns the studs to buy, the plate lumber and the cost — using the 16-inch on-centre layout most codes call for.
Planning estimate for a straight stud wall. IRC 2021 R602.3.1 calls for 16-inch spacing on load-bearing walls; 24-inch spacing is allowed only for non-load-bearing partitions in most jurisdictions. Each opening here counts 3 extra studs (king, jack and cripple); some framers count 4 — check your header detail. Confirm spacing and header sizes with your local code before you build.
How the wall stud calculator works
A stud count starts with the field studs: divide the wall length in inches by the on-centre spacing and round up, then add one for the end stud that closes the run. That plus-one is the classic off-by-one error — skip it and the last bay comes up short. Then add the framing that is not field studs: three studs per corner under the standard 3-stud corner method, and three per door or window opening for the king, jack and cripple studs that carry the header. Add 10% waste for cuts, warped boards and culls.
Worked example: a 20-foot wall at 16 inches on centre needs 240 divided by 16, plus 1, or 16 field studs. Two corners add 6 and one door plus one window add 6 more, for 28 studs net. With 10% waste that is 30.8, rounded up to 31 studs to order. The plates are three runs of the wall length — bottom plate plus a double top plate — or 60 linear feet, and the whole wall takes about 308 linear feet of lumber. At $4 a stud the studs cost $124.
Common mistakes: forgetting the end stud; using 24-inch spacing on a load-bearing wall without checking the code (most jurisdictions require 16 inches there); counting only the field studs and discovering the openings need a dozen more; and buying exactly the net count with no waste allowance — a warped stud or a bad cut sends you back to the yard. A 2x4 wall suits interior partitions and single-storey exteriors; 2x6 walls take thicker insulation and taller loads. The Deck Joist Span Calculator sizes the framing under a deck the same way this one sizes a wall.
field studs = ceil(wall length in inches / spacing) + 1 · extra = corners x 3 + openings x 3 · studs to order = ceil((field + extra) x (1 + waste%)) · plates = 3 x wall length
Related tools
Also try the Deck Joist Span Calculator for floor framing, the LVL Beam Span Calculator for beams, and the Drywall Calculator for the sheets that go on the studs.
Wall stud calculator FAQ
How many studs do I need for a 12-foot wall?
At 16 inches on centre: 144 divided by 16, plus 1, or 10 field studs — before corners and openings. Add 3 studs per corner and 3 per door or window, then 10% waste. A plain 12-foot run with two corners orders about 18 studs.
What is the standard stud spacing?
16 inches on centre for load-bearing walls and most exterior walls, per IRC 2021 R602.3.1. Non-load-bearing interior partitions may use 24 inches on centre. Advanced framing (optimum value engineering) uses 19.2 inches — five studs per 8-foot panel.
How many extra studs does a door or window need?
About 3 per opening: a king stud and a jack (trimmer) stud on each side, plus cripples above the header or below the sill. Some framers count 4 per opening for a heavier header detail.
How many studs are in a corner?
Three under the standard 3-stud corner method: two form the outside corner and the third backs the drywall on the inside face. The California corner uses two studs and saves lumber but needs a drywall clip for backing.
How much plate lumber does a wall need?
Three runs of the wall length: one bottom plate and a double top plate. A 20-foot wall needs 60 linear feet of plate stock, usually the same 2x4 or 2x6 as the studs.
Should I use 2x4 or 2x6 studs?
2x4 is standard for interior walls and single-storey exteriors. 2x6 suits exterior walls that need thicker insulation, tall walls, or heavier loads — and it is required by code in some cold-climate zones.
How much waste should I add when ordering studs?
10% is the usual allowance for a hand-framed wall: it covers cut ends, one or two warped or twisted boards, and culls. Order 15% if the lumberyard stock looks rough or the wall has many short pieces.