Framing Calculator
Enter your wall dimensions and this calculator instantly tells you how many studs, plates, headers and cripple studs you need, how many sheets of sheathing to buy, and what the lumber will cost once waste is included. Choose 16-inch or 24-inch on-center stud spacing, add a door or window opening, and switch between imperial and metric units. Results update as you type.
How to calculate wall framing studs
The basic stud count formula is: studs = (wall length in inches divided by on-center spacing) + 1. For example, a 16-foot wall at 16-inch O.C. needs (192 / 16) + 1 = 13 field studs. That figure only covers the evenly spaced field studs, not the extra lumber for corners, openings, headers or plates. A complete framing takeoff adds all of those pieces, applies a waste factor of 10-15%, and converts everything to full 8-foot sticks for purchasing.
Understanding each type of framing member
A framed wall contains several distinct member types beyond the regular studs. Field studs are the main vertical members spaced at 16 or 24 inches O.C. End and corner studs double or triple up at each wall end to provide nailing surface and structural continuity. When a wall has a door or window, king studs run full height beside the opening, jack (trimmer) studs carry the header, the header itself spans the clear opening and transfers load around it, and cripple studs fill the space above the header and below a window sill. Top plates (doubled) and a single bottom plate complete the assembly. The International Residential Code (IRC) prescribes minimum header sizes based on the opening width and whether the wall carries structural load.
Stud spacing: 16-inch vs 24-inch O.C.
Standard residential framing uses 16-inch on-center spacing, which meets all IRC requirements and supports drywall, sheathing and most finish materials without extra blocking. Advanced framing (optimum value engineering) at 24 inches O.C. reduces the number of studs by roughly a third, which lowers material cost and opens more cavity for insulation. The trade-off is that 24-inch spacing requires thicker sheathing or additional blocking for some exterior claddings, and some local codes still require 16-inch spacing for specific wall types or seismic zones. Always check your local code adoption and inspector expectations before choosing 24-inch O.C. for exterior or load-bearing walls.
Waste factor and buying the right quantity
Lumber is ordered in standard lengths (8, 10, 12, 14 and 16 feet), so odd cuts always create offcuts. A waste factor of 10% is a reasonable starting point for a simple rectangular wall; 15% is more appropriate for walls with multiple openings or angles. For larger projects, compare the board-foot total to the stud count from this calculator and adjust the waste if your plans include non-standard cuts. Always buy a few extra studs: lumber yards charge restocking fees and delivery minimums, so a few spare sticks on site cost far less than a second trip.
IRC-prescriptive header sizes by opening width
| Clear opening width | Load-bearing header | Non-bearing header |
|---|---|---|
| Up to 36 in (3 ft) | 2x6 doubled | 2x4 flat or 2x6 on edge |
| 37-60 in (3-5 ft) | 2x8 doubled | 2x4 flat or 2x6 on edge |
| 61-72 in (5-6 ft) | 2x10 doubled | 2x4 flat or 2x6 on edge |
| 73-96 in (6-8 ft) | 2x12 doubled | 2x4 flat or 2x6 on edge |
| 97-120 in (8-10 ft) | LVL/PSL engineered | 2x4 flat or 2x6 on edge |
| Over 120 in (10+ ft) | Engineered beam, consult engineer | Engineered recommended |
Doubled solid-sawn lumber header sizes for exterior load-bearing walls per IRC Section R602.7. Verify with your local building department.
Frequently asked questions
How many studs do I need for a 12-foot wall at 16-inch O.C.?
A 12-foot (144-inch) wall at 16-inch O.C. needs (144 / 16) + 1 = 10 field studs. Add the extra studs for each end (typically 2 or 3 per end) and apply a 10% waste factor, and you should buy about 13-14 studs for a plain wall with no openings.
What is the formula for stud spacing calculations?
The standard formula is: stud count = (wall length in inches / on-center spacing in inches) + 1. This always gives one more stud than the number of bays, because you need one at each end. For a 16-foot wall at 16-inch O.C.: (192 / 16) + 1 = 13. This does not include corner extras, jack studs, king studs or cripple studs.
What size header do I need for a 36-inch door?
A 36-inch rough opening in an exterior load-bearing wall typically requires a doubled 2x6 header per IRC prescriptive tables. For non-load-bearing interior walls, a 2x4 laid flat or a single 2x6 on edge is usually sufficient. Always consult your local building department or a structural engineer when in doubt, especially for larger openings or multi-story applications.
What is the difference between a king stud and a jack stud?
King studs are full-height studs that run beside an opening from the bottom plate all the way to the top plate - they frame each side of the opening. Jack studs (also called trimmer studs) are shorter and sit directly under the header, carrying the header load down to the bottom plate. The jack stud is nailed to the inside face of the king stud. Wide openings (over 6 feet) typically need two jack studs on each side to handle the increased load.
How many plates does a standard wall have?
A standard framed wall has three plates: one bottom plate and two top plates. The bottom plate is nailed to the subfloor or slab. The first top plate is nailed to the top of the studs. The second top plate (also called the double top plate or cap plate) laps the joints of the first plate and ties corners and intersecting walls together. For purchasing, multiply the wall length by 3 and divide by 8 feet to get the number of full sticks needed.
Should I use 2x4 or 2x6 studs for exterior walls?
Most residential exterior walls are framed with 2x4 studs, which meet minimum structural requirements in most climates. 2x6 walls are common in colder climates because the deeper cavity holds more insulation (R-19 to R-21 batts vs R-13 to R-15 in 2x4 walls). 2x6 construction also adds rigidity and is required in some high-wind or high-seismic zones. The downside is higher lumber cost (roughly 40% more per stud) and slightly reduced interior floor area.
What is advanced framing (OVE) and when should I use it?
Optimum Value Engineering (OVE), or advanced framing, uses 24-inch O.C. stud spacing, single top plates, two-stud corners and in-line framing where rafters or joists align with studs. It reduces lumber by 15-25%, lowers cost and creates more insulated wall area. It is best suited to simple rectangular plans, mild-to-moderate wind and seismic zones, and builders experienced with the system. Always verify that your local code, sheathing specification and inspector accept 24-inch O.C. before committing.