Calculate the exact number of wall studs for any wall length at 16" or 24" on-center spacing. Includes breakdown of field studs, corners, doors, windows, and plate lumber.
ft
#
#
#
%
$
YOUR RESULTS
Total Studs
—
studs
Stud Length
—
Plates (lin ft)
—
LF
Material Cost
—
est.
Stud Breakdown
Field studs—
Corner studs (3 per corner)—
Door jack & king studs—
Window jack & king studs—
Waste allowance—
This calculator covers standard stud-framed walls for residential construction. Enter your wall length, height, spacing, and number of openings, and the calculator returns total studs needed, precut stud length, plate lumber quantity, and an itemized breakdown so you know exactly what you're buying and why.
How to Calculate Wall Studs
The core formula: divide wall length (in inches) by stud spacing, round up, and add 1 for the end stud. For a 20 ft wall at 16" OC: (20 × 12) ÷ 16 = 15 spaces, + 1 = 16 field studs. Then add extra studs for each corner, door, and window. This calculator does the full breakdown automatically.
Wall Framing Anatomy
The diagram below shows why a door or window opening needs more than just field studs: king studs carry the load down to the plate, jack studs support the header, and cripples fill the gaps above and below.
Header Sizing Basics
Headers span the top of door and window openings and carry the load from above down through the jack studs. For non-load-bearing interior partitions, a flat 2× header or even just a single top plate may be sufficient. For load-bearing exterior walls, header size depends on the opening width and the load above: a common rule of thumb for a single-story load is doubled 2×6 for openings up to 4 ft, doubled 2×8 up to 6 ft, and doubled 2×10 up to 8 ft, though this varies by span tables and local code. Always check your local building code's span table or consult a structural engineer for load-bearing headers wider than a standard door.
Worked example: a 20 ft exterior wall at 16" OC with 2 corners, 1 door, and 2 windows needs 16 field studs + 6 corner studs + 4 door studs + 8 window studs = 34 base studs. Add 10% waste (4 studs) = 38 studs total. At 8 ft wall height, those are standard 92⅝" precut studs. Plates = 20 ft × 3 = 60 linear feet of 2×4 or 2×6 plate lumber.
The precut lengths are shorter than the nominal ceiling height to account for the bottom plate (1.5") and double top plate (3"). A 92⅝" stud + 1.5" + 3" = 97.125" ≈ 8 ft 1⅛" rough opening height, giving a finished ceiling at 8 ft after drywall.
Extra Studs for Openings and Corners
Framing Element
Extra Studs
Purpose
Each corner (California corner)
3
2 king studs + 1 nailer for drywall
Each door opening
4
2 king studs + 2 jack (trimmer) studs
Each window opening
4
2 king studs + 2 jack studs; cripples extra
T-intersection (partition wall)
3
2 full studs + 1 horizontal nailer block
Why a California Corner Needs 3 Studs
A standard corner where two exterior walls meet needs more than a simple butt joint: it needs a nailing surface for drywall on the inside corner. The "California corner" (also called a three-stud corner) uses two studs from one wall plus a third stud turned sideways between them, creating a backer that drywall on the intersecting wall can be nailed or screwed to. Without it, there's no framing behind the inside corner for the second sheet of drywall to attach to. Some builders use a more material-efficient two-stud corner with drywall clips instead, which saves lumber but requires the clips to be on hand and installed correctly.
Plates: Bottom, Top, and Double Top
Every wall needs 3 plates: one bottom plate and a doubled top plate (two layers). That's 3 linear feet of plate lumber per linear foot of wall. A 20 ft wall needs 60 LF of 2×4 or 2×6 plate stock. Use pressure-treated lumber for any bottom plate that will contact concrete or sit on a slab. Even with a moisture barrier, PT lumber is the standard requirement in most codes.
Common Stud Framing Mistakes
Not adding the end stud. The formula "wall length ÷ spacing" gives you the number of spaces, not studs. Always add 1 for the closing stud at the end of the wall: it's the most consistently skipped piece on stud take-offs.
Forgetting corner and opening extras. A basic field-stud count covers none of the king studs, jack studs, or corner nailers. A wall with 2 corners, 1 door, and 2 windows needs 14 extra studs beyond the field count. Skipping these creates a significant shortage.
Using 8 ft (96") studs instead of 92⅝" precut. If you frame an 8 ft ceiling wall with full 8 ft (96") studs, your rough wall height will be 96" + 1.5" + 3" = 100.5": 4½" too tall. Always use precut studs sized for your ceiling height.
Skipping pressure-treated bottom plates on concrete. Even with poly sheeting or sill seal under the plate, most codes require pressure-treated lumber for any bottom plate that contacts concrete or masonry. A code inspector will fail this if it's standard dimensional lumber.
Ordering zero waste. Waste from diagonal cuts, damaged pieces, and layout adjustments adds up. A 10% waste factor is the minimum for a straight wall; complex walls with many openings warrant 15%.
Lumber yard tip: When ordering, specify "precut studs" at your ceiling height. They're already cut to the correct length and are typically the same price or cheaper than full-length 2×4s or 2×6s. Also confirm whether your project requires 2×4 or 2×6 framing: exterior walls in cold climates are often framed at 2×6 for deeper insulation cavities (R-19 vs R-13).
A 10 ft wall at 16" OC needs (120 ÷ 16) + 1 = 8.5, round up to 9 field studs. Add 3 studs per corner and 4 per door or window opening. With 2 corners and no openings, that's 9 + 6 = 15 studs before waste. Add 10% waste (2 studs) = 17 total. Always use this calculator with your specific opening count for an accurate number.
What length studs do I need for an 8 ft ceiling? ▾
For an 8 ft finished ceiling, use 92⅝" precut studs, sold as "8 ft studs" at most lumber yards. This length accounts for the bottom plate (1.5") and double top plate (3"), landing at a rough opening height just over 8 ft before drywall. Never use full 96" studs for an 8 ft ceiling: the wall will be 4½" too tall.
How many studs per linear foot of wall? ▾
A useful rule of thumb: plan for 1 stud per linear foot of wall at 16" OC when accounting for all extras (corners, openings, waste). More precisely, 0.75 field studs per linear foot plus extras. At 24" OC, budget about 0.5 field studs per linear foot, since the wider spacing means roughly one-third fewer studs than 16" OC for the same wall length. This rule of thumb is for quick estimates, use the calculator above for accurate take-offs.
Should I use 2×4 or 2×6 studs? ▾
2×4 framing is standard for interior partition walls and exterior walls in mild climates. 2×6 framing is used for exterior walls in colder climates where deeper insulation cavities are needed: a 2×6 wall cavity can hold R-19 batt insulation vs. R-13 in a 2×4 wall. Many energy codes now require 2×6 exterior framing. Load-bearing capacity is similar for typical residential spans; the key driver is insulation value.
How much does it cost to frame a wall? ▾
Material costs for a standard 8 ft wall run $3–$6 per linear foot in lumber (2×4 at 16" OC, including plates and waste). A 20 ft wall is roughly $60–$120 in framing lumber. Labor adds $5–$15 per linear foot for a framer depending on region and wall complexity. Total framed cost including labor typically runs $8–$20 per linear foot for straightforward walls, more for walls with many openings or special framing.
What is the difference between a king stud and a jack stud? ▾
A king stud runs the full height of the wall, from the bottom plate to the top plate, just like a regular field stud. A jack stud (also called a trimmer stud) is shorter and nailed directly to the inside face of the king stud; it stops at the bottom of the header and supports the header's weight, transferring the load down to the bottom plate and foundation. Every door and window opening in a load-bearing wall needs both: king studs for overall wall height and structural continuity, and jack studs to carry the header load.