Framing Calculator
Calculate how many studs, plates, and headers you need for any wall framing project — with a wall-by-wall breakdown and cost estimate.
Whether you're framing a single interior wall or an entire addition, this calculator handles the stud, plate, and header math. Add each wall with its length, door and window count, choose your stud spacing and size, and you'll get a complete lumber list with a wall-by-wall breakdown and cost estimate. A 10% waste allowance is included by default — adjust it for simpler or more complex layouts.
| Wall | Length | Studs | Plate boards | Openings | Headers |
|---|
Field studs only (excludes corner and opening studs). Formula: ceil(length ÷ spacing) + 1.
| Wall length | 12 in OC (305 mm) | 16 in OC (406 mm) | 24 in OC (610 mm) |
|---|---|---|---|
| 10 ft / 3.0 m | 11 | 9 | 6 |
| 20 ft / 6.1 m | 21 | 16 | 11 |
| 30 ft / 9.1 m | 31 | 23 | 16 |
| 40 ft / 12.2 m | 41 | 31 | 21 |
How to calculate wall studs
Wall framing lumber is counted in four categories: field studs (the repeating vertical members along a wall's length), corner studs (extra studs where walls meet), opening studs (king and jack studs around doors and windows), and cripple studs (short studs above and below openings). Getting the count right before ordering material avoids both an expensive second delivery and an oversized pile of offcuts.
The starting point is the field stud count, which depends only on wall length and on-center (OC) spacing — the distance between the centerlines of adjacent studs.
The “+1” accounts for the final stud at the end of the run; without it, a wall would be missing its last vertical support. Spacing is expressed in inches (or millimeters) but must be converted to the same unit as the wall length before dividing — the calculator above handles this automatically regardless of which unit system you’re working in.
Worked example — 20 ft wall, 16 in OC:
- Convert spacing to feet: 16 ÷ 12 = 1.333 ft
- Field studs: ceil(20 ÷ 1.333) + 1 = ceil(15) + 1 = 16 field studs
The same wall in metric: a 6.1 m wall at 406 mm (16 in) OC gives ceil(6.1 ÷ 0.406) + 1 = ceil(15.0) + 1 = 16 studs — the two unit systems agree once you round to a whole stud, since 16 inches and 406 millimeters are the same physical spacing.
Beyond field studs, every wall needs corner studs where it meets another wall (typically 3 studs per corner in standard construction, or 6 per wall if both ends are corners) and additional studs around every door and window opening — normally 2 king studs and 2 jack studs per opening, for 4 extra studs each. The calculator adds all three categories together automatically for each wall you enter.
16 in vs 24 in on-center framing
Stud spacing is one of the first decisions in any framing plan, and it affects both material count and the wall’s finished performance.
| Spacing | Metric equivalent | Field studs per 20 ft wall | Typical use |
|---|---|---|---|
| 12 in OC | 305 mm | 21 | Heavy loads, tall walls, seismic/high-wind zones |
| 16 in OC | 406 mm | 16 | Standard residential framing |
| 24 in OC | 610 mm | 11 | Advanced (optimum value) framing |
Standard 16-inch OC framing is the default for most residential construction in North America. It’s stiff enough to support drywall, tile backer board, and siding without additional bracing, and it aligns with common 4×8 ft sheet goods (48 ÷ 16 = 3 stud bays per sheet).
24-inch OC — sometimes called “advanced framing” or “optimum value engineering” (OVE) — uses roughly 30% fewer studs, which reduces lumber cost and, because studs are thermal bridges, actually improves a wall’s overall insulation performance by leaving more room for continuous insulation between framing members. It’s code-compliant in most jurisdictions but requires thicker sheathing or engineered wall bracing in some cases, and not every finish material is rated to span a 24-inch stud bay without sagging. Always check local code and the sheathing manufacturer’s span rating before switching from 16 to 24 inch OC.
12-inch OC framing is reserved for situations needing extra stiffness or load capacity: tall walls, heavy exterior cladding like stone veneer, high-wind or seismic design categories, or walls carrying unusual point loads from above. It uses roughly 30% more studs than 16-inch OC.
It’s common — and perfectly acceptable — to mix spacing standards within a single building. A garage or shed might use 24-inch OC on non-structural partition walls to save on lumber, while the same building’s load-bearing exterior walls stay at 16-inch OC or tighter. The calculator’s per-wall entry system is built with this in mind: if different walls in your project use different spacing, run them as separate calculations and add the results together, since the tool currently applies one spacing setting to every wall entered in a single session.
Plates, headers, and openings explained
Every stud-framed wall is capped top and bottom by horizontal members called plates, and every door or window opening interrupts the regular stud pattern with its own set of supporting members.
Plates. A standard wall uses three plates: one bottom plate (sole plate), which anchors the wall to the floor, and a double top plate — two plates stacked at the top of the wall. The double top plate ties the wall to intersecting walls and helps distribute roof and floor loads evenly across multiple studs. In linear terms, three plates means the wall requires three times its length in plate lumber, typically the same 2×4 or 2×6 stock as the studs themselves.
Headers. Every door and window opening needs a header — a horizontal beam spanning the top of the opening that carries the load that would otherwise pass through the missing studs down to the king studs on either side. Residential headers are usually built from two boards nailed together with a spacer (a “sandwich” header), which is why the calculator counts 2 header boards per opening as a simple estimate. Larger openings, especially those wider than about 6 feet or carrying significant roof load, often need an engineered header (LVL or built-up dimensional lumber sized by span tables) rather than a simple doubled 2× — see the header span tables in your local building code, such as IRC Table R602.7(1) for prescriptive header sizing in the International Residential Code, for guidance on when a heavier header is required.
King, jack, and cripple studs. A king stud runs the full height of the wall on each side of an opening; a jack stud (also called a trimmer stud) sits inside it and directly supports the header. That’s 2 king + 2 jack studs per opening — 4 extra full-height-adjacent studs beyond the basic field count. Cripple studs are the short vertical pieces above a header (up to the top plate) and below a window’s rough sill (down to the bottom plate); the calculator estimates roughly 3 cripples per window and 2 per door as a reasonable planning figure, though the exact count depends on stud spacing and opening height.
Choosing 2×4 vs 2×6 studs
The two dominant stud sizes for residential wall framing are 2×4 and 2×6 (nominal dimensions; actual dressed lumber measures 1.5 × 3.5 in / 38 × 89 mm for a 2×4, and 1.5 × 5.5 in / 38 × 140 mm for a 2×6).
2×4 framing is standard for interior partition walls and is adequate for many exterior walls in mild climates. It’s less expensive per stud and takes up less floor area, which matters in smaller rooms and additions.
2×6 framing on exterior walls opens up significantly more cavity depth for insulation — commonly R-21 batt insulation versus a practical maximum around R-15 for a 2×4 cavity. In cold climates (roughly IECC zones 5 and above), 2×6 exterior walls are now the norm in new construction specifically for this reason. The lumber itself costs about 40–50% more per piece than 2×4, but the energy savings compound over the life of the building, and many energy codes now push new construction toward 2×6 or better exterior wall assemblies regardless of climate zone once continuous insulation requirements are factored in.
Structurally, either size satisfies standard residential loads at typical spacing — the choice is driven mainly by insulation strategy and wall thickness requirements, not load capacity, except in cases needing 12-inch OC spacing or unusual point loads, where a design professional should confirm the appropriate size and spacing together.
Waste allowance: how much extra to order
Framing crews consistently order more lumber than the bare calculated count, for reasons that are easy to underestimate before the job starts.
- Cutting. Studs get trimmed for height, cripple studs are cut from full-length lumber, and odd wall lengths rarely divide evenly into stock lumber lengths.
- Damage and defects. Warped, cracked, or knotted boards get set aside on-site; a certain percentage of any delivered bundle won’t be usable as-is.
- Layout changes. Framing plans shift slightly once walls go up — an extra blocking piece here, a repositioned opening there.
- Reordering cost. A short trip back to the lumberyard costs more in time than the extra material would have cost upfront, especially if it stalls a framing crew mid-day.
| Project complexity | Recommended waste |
|---|---|
| Simple rectangular walls, few or no openings | 5% |
| Standard residential framing, typical door/window count | 10% |
| Complex layout, many openings, non-standard angles | 15% |
10% is the standard default for most residential framing jobs and is what the calculator above applies unless you choose otherwise. Whatever percentage you use, round up to the nearest full bundle or unit your supplier sells in — ordering exactly to the calculated total, with no allowance at all, is the single most common way framing jobs run short mid-build.
Real-world applications
A typical bedroom addition — four walls, roughly 12 × 14 ft footprint, one door and two windows across the exterior walls, 16-inch OC, 2×4 framing — lands around 90–110 total studs, 15–18 plate boards, and 4–6 header boards once the 10% waste allowance is applied. Material cost at $5–$7 per 8 ft stud typically runs $700–$1,000 before sheathing, insulation, or finish materials.
A full single-story house shell, say 1,800 sq ft with a rectangular footprint and standard door/window count, commonly requires 600–900 total studs depending on spacing and how many interior partition walls are included, plus 90–140 plate boards and 20–35 header boards. This is exactly the kind of larger, multi-wall project the calculator’s “add wall” feature is built for — enter each wall separately and let the running total handle the arithmetic.
Garage and shed framing often uses 24-inch OC advanced framing on non-load-bearing walls to reduce material cost, while keeping 16-inch OC (or tighter) on any wall carrying roof trusses or a heavier snow load — a good example of mixing spacing standards within a single project based on which walls are actually structural.
Basement finishing frequently uses 2×4 framing at 16-inch OC for new partition walls against an existing foundation, since these walls are almost always non-load-bearing and simply need to support drywall and provide a cavity for insulation and wiring. Because these walls typically run shorter and have fewer openings than exterior walls, material counts tend to be lower per linear foot than a comparable exterior wall with windows.
Material cost is only part of the framing budget. Labor for wall framing on a typical residential project runs roughly $2–$4 per square foot of wall area in most US markets as of 2025–2026, meaning labor frequently costs more than the lumber itself once a project moves past a small addition. Getting an accurate material count matters not just for the lumber bill, but for giving a framing crew or contractor a realistic basis for a labor estimate as well.
When to consult a professional
This calculator is built for planning material quantities on standard, code-typical residential wall framing — it is not a substitute for structural engineering. Involve a licensed engineer, architect, or your local building department’s plan review before framing in any of these situations:
- Load-bearing walls carrying floor, roof, or point loads from above, especially where a wall is being removed or altered
- Openings wider than about 6 feet, or any header supporting more than a standard residential roof/floor load
- Buildings in high-wind, high-seismic, or heavy-snow-load design categories, where prescriptive spacing tables (like IRC Table R602.3(1)) may not apply without modification
- Multi-story construction where lower walls carry cumulative loads from floors above
- Any departure from standard stud spacing, size, or species that isn’t already covered by your local code’s prescriptive framing tables
For straightforward, single-story, non-load-bearing partition walls and typical exterior walls within standard prescriptive code limits, the estimates above are a reliable planning tool for material takeoff — just confirm your final framing plan against local code requirements before pulling a permit.
Common mistakes to avoid
- Forgetting the waste allowance entirely. Ordering the bare calculated count with zero cushion is the fastest way to stall a framing crew mid-wall.
- Mixing up nominal and actual lumber dimensions. A “2×4” is actually 1.5 × 3.5 inches (38 × 89 mm) once dressed — using the nominal 2-inch and 4-inch figures in spacing or clearance calculations overstates available space.
- Underestimating header size for wide openings. A doubled 2× header is only appropriate for modest residential spans; wide openings need span-table or engineered sizing — don’t assume every opening takes the same header.
- Ignoring corner and opening stud counts. Counting only field studs (length ÷ spacing) significantly undercounts a real wall — corner and opening studs commonly add 20–40% more lumber than the field count alone.
- Applying interior partition spacing to exterior load-bearing walls. Advanced 24-inch OC framing is a great cost-saver on non-structural walls but isn’t automatically appropriate for every exterior or load-bearing wall — confirm which walls in your plan are actually structural before choosing wider spacing.
- Ordering from a single delivery with no contingency. Lumber dimensions and moisture content can vary slightly between bundles; a small overage protects against warped or unusable pieces discovered during framing, not just miscounts.