Framing Calculator
Estimate wall studs, top plates, and bottom plates for any room, addition, or new wall - with door and window framing included.
Add up every wall in the space, including interior partitions, along the floor plate line.
How to Use
- Enter total wall length - sum every wall, including interior partitions, measured along the floor.
- Set spacing - 16 in OC for exterior and load-bearing walls; 24 in OC is allowed for non-load-bearing partitions.
- Choose the top plate - double for exterior/load-bearing, single for partitions - this sets your plate footage.
- Add openings (Advanced) - enter door and window counts; each adds king, trimmer, and cripple studs.
- Add a stud price (optional) - for a quick material cost, or leave blank for counts only.
A 20 foot wall at 16 inch on-center spacing takes 16 field studs, plus about 3 studs per corner and 2 per opening. So a 20 foot wall with one door and two corners works out to 24 studs before waste, 27 with 10 percent. Use 92-5/8 inch pre-cut studs for a standard 8 foot wall. Plates add 60 linear feet: a single bottom plate plus a double top plate. Open the Advanced options to add doors, windows, and corners for an exact count.
Anatomy of a Framed Wall
How Wall Framing Is Calculated
Field studs come from the spacing: divide the wall length by the on-center spacing and add one for the starting end. At 16-inch centers a 40-foot wall needs 31 field studs; at 24-inch centers, 21. That is the base count before any openings.
Openings add framing rather than remove it. A door or window needs king studs on each side, trimmers (jacks) to carry the header, and - for windows - cripple studs above and below. The net effect is roughly two extra studs per opening once you account for the field studs the opening displaces, which is why this calculator adds opening framing on top of the field count. Plates then run the full wall length: one bottom plate, and either a double top plate (exterior and load-bearing walls) or a single (partitions). Once the walls are up, the roof truss calculator counts the trusses that land on the top plates.
Field Studs by Wall Length and Spacing
Field studs only (no openings, no waste). The calculator adds opening framing and your waste factor on top:
| Wall length | 16" OC studs | 24" OC studs | Double top plate | Single top plate |
|---|---|---|---|---|
| 8 ft | 7 | 5 | 16 ln ft | 8 ln ft |
| 10 ft | 9 | 6 | 20 ln ft | 10 ln ft |
| 12 ft | 10 | 7 | 24 ln ft | 12 ln ft |
| 16 ft | 13 | 9 | 32 ln ft | 16 ln ft |
| 20 ft | 16 | 11 | 40 ln ft | 20 ln ft |
| 24 ft | 19 | 13 | 48 ln ft | 24 ln ft |
| 32 ft | 25 | 17 | 64 ln ft | 32 ln ft |
Extra Studs Around Openings
| Opening type | Width | Framing studs | Notes |
|---|---|---|---|
| Standard door | 2'8"–3'0" | 4–5 | King + trimmer each side, header |
| Wide door / slider | 5'0"–6'0" | 6–7 | Larger header, doubled trimmers |
| Single window | 2'0"–3'0" | 4–5 | King, trimmer, sill + head cripples |
| Large window | 4'0"–6'0" | 6–8 | Bigger header, more cripples |
| Corner | N/A | 3–4 | California or 3-stud corner |
| T-wall intersection | N/A | 2–3 | Ladder blocking or California |
The calculator nets roughly two extra studs per door or window; for many large openings, bump the waste factor to 20–25%.
Framing Formulas
The math behind the counts:
Extra studs = (doors + windows) × 2 + corners × 3 (opening + corner framing)
Bottom plate = 1 × wall length
Top plate = 2 × wall length (bearing) or 1 × (partition)
With waste = (field + openings) × (1 + waste %)
Pre-cut studs for 8-ft walls are 92⅝ inches - they yield an 8-ft ceiling with a single bottom plate and double top plate without trimming. For 9-ft walls use 104⅝-inch pre-cuts.
Framing Lumber Price Guide (typical ranges)
| Lumber | Length | Price each | Use |
|---|---|---|---|
| 2×4 stud (pre-cut) | 92⅝ in | $4–$8 | Standard wall studs |
| 2×4 | 10 ft | $5–$10 | Plates, longer walls |
| 2×6 | 8 ft | $7–$13 | Exterior walls |
| 2×6 | 10 ft | $9–$16 | Rafters, spans |
| Bundle of 208 (8-ft 2×4) | Bulk | $800–$1,500 | 15–25% cheaper than rack |
Lumber prices swing with housing starts and tariffs; regional variation of 20–40% is common. Buying full bundles at a yard usually beats home-center rack pricing by 15–25%.
Code Note
- Stud size and spacing for wood walls is set by IRC Section R602.3.1: 16 inches on center is the general case, and 24 inch spacing is allowed for many walls depending on stud size, wall height, and the load above, with one- and two-story limits. Load-bearing and taller walls have stricter limits, so confirm the table for your exact wall before ordering.IRC 2021 Section R602.3.1 - Stud Size and Spacing
Next Steps
Wall framed on paper, take it to the order and the next trade:
Related Calculators
Framing feeds straight into drywall, insulation, and paint estimates - browse the full construction calculator collection.
Frequently Asked Questions
How many studs do I need per linear foot of wall?
At 16-inch on-center spacing, plan on about three studs for every four feet of wall, plus one end stud - roughly 0.75 studs per foot before openings. This calculator uses the exact spacing math and then adds framing for each door and window you enter, which is more accurate than the old "one stud per foot" rule of thumb.
What is the difference between 16-inch and 24-inch on-center?
16-inch spacing is required for exterior walls, load-bearing walls, and walls receiving tile or stone. It uses about a third more studs than 24-inch but gives better strength and drywall backing. 24-inch on-center is allowed for non-load-bearing interior partitions and saves lumber. Always confirm with local code.
2×4 or 2×6 for exterior walls?
2×4 suits interior walls and mild-climate exteriors with R-13 to R-15 insulation. 2×6 is used for cold-climate exterior walls needing R-19 to R-21, or where plumbing runs in exterior walls. The 2×6 wall costs 30–40% more in lumber but improves energy performance, usually worth it in climate zones 5 and colder.
How many studs come in a bundle?
A standard lumber-yard bundle holds 208 pieces of 8-foot 2×4, or 168 pieces of 10-foot 2×4. Home centers sell individually at higher per-piece prices. For large jobs, buying by the bundle typically saves 15–25% per stud.
What is a pre-cut stud?
A pre-cut stud is a 2x4 or 2x6 cut to 92-5/8 inches for a standard 8 foot wall (or 104-5/8 inches for a 9 foot wall). Add a 1-1/2 inch bottom plate and two 1-1/2 inch top plates and the wall stands at 8 feet 1 inch rough, which gives an 8 foot finished ceiling once the floor and ceiling finishes go on. Buying pre-cuts saves cutting every stud to length.
Do I need a permit to frame a new interior wall?
Non-load-bearing partitions usually do not need a permit in most US jurisdictions. Adding or moving load-bearing walls, framing an addition, or any structural change almost always requires a permit and inspection. When unsure, call your local building department.