Skip to main content
CalcSummitCalcSummit
Project Calculator · Studs, Plates, Specialty Studs & Headers · IRC R602

Framing Calculator — Stud Calculator for Any Wall

To find the number of studs needed, divide your wall length in inches by your on-center spacing (typically 16 or 24), then add one for the end stud. For a 10-foot wall at 16" OC: 120 ÷ 16 = 7.5, rounded to 8 + 1 = 9 studs. Add plates, openings, and specialty studs below.

Written and reviewed by:Meet the team →
  • Expert Reviewed
  • Updated May 2026
  • Sources Cited
  • No Login Required
  • Free to Use
Live Calculator · 2×4 or 2×6 · 12 / 16 / 19.2 / 24" OC
Framing Calculator
IRC 2021 R602 · PE-Verified

Measure plate-to-plate. Most residential walls are 8–24 ft long.

Standard residential ceiling is 8–10 ft. Walls over 14 ft need a PE review.

16 in. is the IRC R602.3 default for bearing walls. 24 in. is permitted for non-load-bearing partitions and 2×6 bearing walls.

Add 3 studs per corner for the 3-stud corner assembly. Default 0 — single wall input.

Door openings

Standard interior door = 36 in. RO.

Standard 7-ft door = 84 in. RO.

Window openings

Distance from sole plate up to rough sill.

Custom%

10% standard rectangular wall · 12–15% with multiple openings · 5% simple wall, no openings, experienced framer.

Your framing material list

Common studs

11 2×4s

10 raw + 10% waste

Total stud order

28 boards

Common + specialty + corners

Plate lumber

39.6 lin ft

Sole + top + double top (10% waste)

Est. cost (2026)

$152–$220 lumber

Studs + plates · RSMeans / NAHB

King studs

4 full-height

2 per opening · IRC R602.7

Jack studs (trimmer)

4 header height

2 per opening · R602.7

Cripple — above

6 above headers

At OC spacing

Cripple — below

3 below sills

Windows only

Recommended headers — IRC R602.7

  • Door 36" × 84"2×6 header (built-up, 2 boards)· 1 jack each side
  • Window 36" × 48"2×6 header (built-up, 2 boards)· 1 jack each side

Pro tip — order plate stock long

Buy plates in 16-ft lengths and rip on site. Splicing plates over a stud is faster than juggling short stock and cuts mid-bay defects to near zero.

Thermal bridging note

At 16 in. on center, framing fills 20–25% of the wall area and conducts heat ≈5× faster than insulation — cutting effective wall R-value by 20–25% (DOE Building America).

Formula: common studs = ⌊wall length (in.) ÷ spacing (in.)⌋ + 1. Plates = wall length × 3 (sole + top + double top per IRC R602.3.2). Headers per IRC R602.7. Specialty studs (king, jack, cripple) per IRC R602.7. Pricing per RSMeans 2026 + NAHB monthly lumber price reports.

Full specialty stud breakdown

King, jack, cripple, and corner counts — not just a common stud number.

IRC R602 reviewed

Stud spacing per R602.3 · Headers per R602.7 · PE-verified.

2026 RSMeans cost

Framing lumber cost range refreshed quarterly — RSMeans / NAHB.

Estimates are for planning purposes. Verify with your local building department and a licensed structural engineer for load-bearing applications, walls over 14 ft tall, and openings wider than 10 ft.

Section 01

How to use the framing calculator

Framing starts with a count. Enter your wall length and height, choose stud spacing (16" or 24" on center), and add any door or window openings by rough-opening width. The calculator returns common studs, king studs, jack studs, cripple studs, top plates, bottom plate, and recommended header sizes — all in one material list.

Calculator inputs explained

  • Wall length and wall height — measure plate to plate. Default 12 ft × 9 ft.
  • Stud spacing — 16" OC for residential bearing walls; 24" OC for partitions and 2×6 advanced framing.
  • Doors and windows — enter the count and rough opening (RO) width and height for each opening type. Window sill height feeds the cripple-below-sill count.
  • Corners — number of 3-stud corner assemblies. Default 0 for a single-wall input.
  • Waste factor — applied to common studs and plate linear footage; specialty studs are computed exactly per opening.

Calculator outputs explained

Every framing job needs the same seven items: common studs, king studs, jack (trimmer) studs, cripple studs above headers, cripple studs below window sills, plate linear footage, and a recommended header size for every opening. The calculator returns each line item separately so you can match your lumberyard order.

Tip
Permalink your inputs. Click Copy link on the result card to share a URL that re-creates the exact wall — useful for a contractor sending a takeoff to a homeowner or for revisiting a plan from your phone on the jobsite.

Section 02

Stud count formula — the math behind the calculator

The formula is studs = floor(wall length in inches ÷ spacing in inches) + 1. The +1 accounts for the end stud. For 10 feet at 16" OC: 120 ÷ 16 = 7.5 → 7 + 1 = 8 common studs. Add king, jack, and cripple studs for each opening.

common_studs = ⌊wall_length_in ÷ spacing_in⌋ + 1
wall_length_in = wall length in inches (length_ft × 12)
spacing_in = on-center spacing (12, 16, 19.2, or 24)
+1 = the end stud at the far edge of the wall
Example A — 10 ft wall at 16" OC: ⌊120 ÷ 16⌋ + 1 = 7 + 1 = 8 common studs.
Example B — 20 ft basement partition at 24" OC: ⌊240 ÷ 24⌋ + 1 = 10 + 1 = 11 common studs.

Worked examples — common stud count by wall length

Wall length16" OC24" OCLumber savings
8 ft7 studs5 studs≈ 29%
10 ft8 studs6 studs≈ 25%
12 ft10 studs7 studs≈ 30%
14 ft11 studs8 studs≈ 27%
16 ft13 studs9 studs≈ 31%
18 ft14 studs10 studs≈ 29%
20 ft16 studs11 studs≈ 31%
24 ft19 studs13 studs≈ 32%

Counts round per the floor() formula and exclude specialty studs (king, jack, cripple, corner) and waste factor. For total order quantity, the calculator sums all categories and applies your waste percentage to common studs and plates.

Section 03

Stud spacing — 16-inch vs. 24-inch on center

The 2021 IRC (R602.3) allows load-bearing walls up to 16" OC for 2×4 studs and 24" OC for non-load-bearing partitions with 2×4, or load-bearing with 2×6. Use 16" OC for exterior bearing walls; 24" OC saves about 25% lumber on interior partitions where code permits.

16-inch on center (standard bearing)

The residential default. IRC R602.3 permits 16" OC for 2×4 bearing walls up to 10 ft tall. Pairs with standard 4×8 sheathing and drywall — every 4-ft edge lands on a stud or splice plate.

24-inch on center (advanced framing)

Permitted for non-load-bearing partitions with 2×4 and for 2×6 bearing walls per IRC R602.3. The DOE-recommended Optimum Value Engineering (OVE) approach pairs 24" OC 2×6 walls with single top plates and 2-stud corners to cut lumber 5–10% and reduce thermal bridging.

12-inch on center (heavy load)

Used in heavy-load conditions, high-seismic zones, or unusual wind loads. Required for tall walls outside the prescriptive table values. Verify with your AHJ (Authority Having Jurisdiction) before ordering.

Note
Code reference: IRC 2021 §R602.3 sets stud spacing requirements; Table R602.3(5) gives maximum stud height by size and spacing for bearing walls. Most jurisdictions follow IRC 2021 directly; some adopt amendments — confirm with your local building department before framing a non-standard wall.

Section 04

Top plate, double top plate, and bottom plate

Standard wood-framed walls require three plates: one bottom (sole) plate and two top plates — a top plate plus a double top plate. Each plate is one board the full length of the wall. For a 10-foot wall: 3 × 10 ft = 30 linear feet of plate lumber.

Why you need a double top plate (IRC R602.3.2)

IRC R602.3.2 requires the second top plate so end joints can be offset from the lower top plate by at least 24 in., tying corners and intersecting walls together. Single top plates are permitted only when the rafters or trusses fall directly over each stud and additional metal connectors are provided. In residential framing the double top plate is the safer, faster default.

Plate linear footage by wall length

Wall lengthBottom plateTop plateDouble top plateTotal
10 ft10 lf10 lf10 lf30 lf
12 ft12 lf12 lf12 lf36 lf
16 ft16 lf16 lf16 lf48 lf
20 ft20 lf20 lf20 lf60 lf
24 ft24 lf24 lf24 lf72 lf

Buy plate stock in 16-ft lengths and rip on site. Splices land on a stud per IRC R602.3.2; the double top plate joints offset at least 24 in. from the lower top plate joints.

Section 05

Specialty studs — king, jack, cripple, blocking, and corner

Every door or window opening requires four specialty studs beyond common studs: two king studs (full-height, flanking each side), two jack studs (to header height, inside the kings), plus cripple studs above the header (and below windows). Openings wider than 5 ft require four jack studs. Corner assemblies need three-stud corners per IRC.

Wall framing diagram identifying king studs, jack (trimmer) studs, cripple studs above and below openings, headers, common studs, sole plate, and double top plate per IRC R602.7.
Figure B. Specialty studs in a wood-framed wall — king, jack (trimmer), cripple (above header and below sill), and corner studs per IRC 2021 §R602.7.

King studs — purpose and count

A king stud is a full-height stud that runs from the bottom plate to the double top plate on each side of an opening. King studs flank the jack studs and tie the rough opening into the wall's vertical load path. IRC R602.7 requires two king studs per opening — one each side — full wall height.

Jack studs (trimmer studs) — purpose and count

A jack stud — often called a trimmer stud — sits inside the king stud and runs from the bottom plate to the underside of the header. Jack studs carry the header load down to the sole plate. Two jacks per opening (one each side) is the default. Openings wider than 5 ft (60 in.) take two jacks each side per IRC R602.7.

Cripple studs — above header and below sill

A cripple stud is a short stud that fills the space above a header (running up to the double top plate) and below a window rough sill (running down to the sole plate). Cripples sit at the wall's on-center spacing — count = floor(rough opening width ÷ spacing) + 1. They keep sheathing and drywall fastening continuous through the opening.

Corner studs — 3-stud assembly

A standard 3-stud corner uses two studs nailed together at the end of one wall plus a single stud added to the intersecting wall — three studs total — to provide drywall backing on both interior corners. Advanced framing replaces this with a 2-stud corner plus drywall clips, cutting lumber and thermal bridging at the corner.

Blocking — structural and fire blocking

Blocking is short stud-grade lumber installed inside stud bays. Mid-height structural blocking stiffens tall walls and provides backing for grab bars, cabinets, and TV mounts. Fire blocking is mandatory under IRC R602.8: solid material installed at the top and bottom of every stud cavity, at floor and ceiling intersections, and at mid-height in walls taller than 8 ft. The goal is closing the cavity so flames cannot chimney upward.

Warning
Safety-critical — IRC R602.8: Fire blocking is required at the ceiling and floor levels and at mid-height for stud cavities exceeding 8 ft. 2× lumber, gypsum board, mineral wool, and approved foams all qualify; insulation alone does not. Inspectors check this before drywall closes the cavity.

Section 06

Header sizing by opening width (IRC R602.7)

Header size depends on rough opening width per IRC Table R602.7: up to 3 ft → 2×6; 3–5 ft → 2×8; 5–8 ft → 2×10; 8+ ft → 2×12. These are minimum sizes for residential bearing walls. Always verify with your local building department and structural engineer for unusual loads.

IRC R602.7 header size reference table

Framing calculator header sizing chart by rough opening width per IRC 2021 R602.7: 2×6 up to 36 inches, 2×8 up to 60 inches, 2×10 up to 96 inches, 2×12 up to 120 inches, engineered LVL or steel beyond 121 inches.
Figure C. IRC 2021 §R602.7 header size by rough opening width — minimums for single-story residential bearing walls. Adopted by ICC.
Rough opening widthMinimum header sizeJack studs each sideReference
Up to 36 in. (3 ft)2×61 each sideIRC R602.7
37–60 in. (3–5 ft)2×81 each sideIRC R602.7
61–96 in. (5–8 ft)2×102 each sideIRC R602.7
97–120 in. (8–10 ft)2×122 each sideIRC R602.7
121+ in. (10+ ft)Engineered LVL or steelPer designConsult licensed PE

When to upgrade header size

The Table R602.7 sizes assume single-story residential bearing walls supporting roof and ceiling loads only. Multi-story conditions, point loads from above (concentrated roof beams, hip ends), high-snow zones, and sliding-glass-door openings often push the design above the prescriptive minimum. Engineered LVL or steel headers replace built-up dimensional headers for openings wider than 10 ft or when point loads land on the header.

Note
Built-up dimensional header:A 2×8 header is two 2×8 boards nailed together with a 1/2-in. plywood spacer to match the wall's 3.5-in. thickness (2×4 wall). For 2×6 walls, use three 2×8 boards or insert a thicker spacer per the framer's preference. The calculator's header recommendation defaults to the built-up form.

Section 07

What the results mean — reading your material list

Your framing material list includes: (1) common studs, (2) king studs × 2 per opening, (3) jack studs × 2 per opening, (4) cripple studs above headers, (5) bottom plate linear feet, (6) double top plate linear feet × 2, and (7) recommended header sizes. Order 10% extra for waste.

Sample material list — 12 × 8 ft bedroom wall with one door

Inputs

Wall length 12 ft · Wall height 8 ft · 16" OC · 2×4 studs · 1 door (36" × 84") · 0 windows · 0 corners · 10% waste

Material list

  • 10 common 2×4 studs (raw 10 + 10% waste = 11; rounded down because none fall in the door bay)
  • 2 king studs (full 8-ft 2×4)
  • 2 jack studs (cut to 84" underside-of-header height)
  • 3 cripple studs above the header at 16" OC
  • 0 cripple studs below sill (door, not window)
  • 36 lf of plate lumber (12 lf bottom + 12 lf top + 12 lf double top), order 40 lf with waste
  • 1 × 2×6 header built-up from two 2×6 × 4-ft pieces with a 1/2-in. plywood spacer

2×4 vs 2×6 framing — which do you need?

Factor2×4 at 16" OC2×6 at 24" OC
Stud actual size1.5 × 3.5 in.1.5 × 5.5 in.
Default OC spacing (bearing)16 in. (IRC R602.3)24 in. (IRC R602.3)
Insulation cavity3.5 in. (R-13 to R-15 batt)5.5 in. (R-19 to R-23 batt)
Effective wall R-value*R-10 to R-11 (framing factor 23%)R-15 to R-17 (framing factor 19% at 24 OC)
Stud cost (2026, each)$4.50–$6.50$7.50–$9.50
Code basisIRC R602.3 prescriptiveIRC R602.3 prescriptive (24 OC)

* Effective wall R-value accounts for thermal bridging through wood studs (DOE Building America). Energy-code IECC climate zones 5–8 typically require 2×6 walls or continuous exterior insulation to meet prescriptive R-value targets.

Section 08

Pro tips — thermal bridging, fire blocking, and advanced framing

At 16" OC, wood studs account for 20–25% of the wall area and conduct heat 5× faster than insulation — reducing your wall's effective R-value by 20–25%. Fire blocking is required by IRC R602.8 at mid-height (~4 ft) in walls taller than 8 ft. Advanced framing at 24" OC reduces studs and thermal bridging.

Thermal bridging and effective R-value

Wood is roughly five times more conductive than fibreglass batt insulation. At 16" OC framing, studs occupy 20–25% of the opaque wall area depending on opening count and corner detailing. The DOE Building America Solution Center quantifies the effect: a nominally R-13 cavity-insulated 2×4 wall delivers an effective R-value closer to R-10 to R-11 once the framing factor is applied. The remedy is reducing the framing fraction (24" OC, 2-stud corners, single top plate) or adding continuous exterior insulation that bypasses the studs entirely.

Fire blocking requirements (IRC R602.8)

IRC R602.8 mandates fire blocking at every concealed vertical and horizontal stud cavity intersection: top and bottom of stud cavities, at floor and ceiling intersections, at openings around vents and chimneys, and at mid-height for stud cavities exceeding 8 ft. Acceptable materials include 2× lumber, two layers of 3/4-in. wood structural panels, 1/2-in. gypsum, mineral wool, and approved fire-blocking foams. Inspectors verify before drywall closes the cavity, so frame with this in mind from day one.

Optimum Value Engineering (OVE) — 24" OC advanced framing

Advanced framing — also called Optimum Value Engineering — is a DOE-recommended package of changes to standard 16" OC framing: 24" OC 2×6 stud spacing aligned with rafters or trusses (in-line framing), single top plate, 2-stud corners with drywall clips, ladder T-wall intersections, and right-sized headers. NAHB studies report 5–10% lumber savings, faster framing time, and a measurable reduction in framing fraction (and therefore thermal bridging). Most jurisdictions accept OVE under IRC R602.3 with the standard prescriptive provisions.

Tip
Field note from Alex Rivera, PE: The framing detail most commonly missed on residential plans I review is the second jack stud on openings wider than 5 ft. The header transfers double the load when one jack carries it — and a single jack stud crushes the sole plate over time. The calculator flags this automatically; check it on every site-built header before you nail it off.

Section 09

Framing calculator — your project build sequence

Framing sits between rough work and finish. Your sequence: ✓ Foundation/Footings → ✓ Framing (this page) → ☐ Plywood Sheathing → ☐ Insulation → ☐ Drywall → ☐ Paint. After framing, your lumber order drives sheathing and drywall quantities — use those calculators before your materials run out.

  1. Foundation and footings

    Pour the slab and anchor sole plates with anchor bolts per IRC R403.1.6.

    Concrete Calculator
  2. Framing — this page

    Cut plates, lay out studs at 16 in. on center, plumb walls, install headers, double the top plate, and tie corners.

  3. Plywood sheathing

    Sheath exterior walls in 4×8 panels — your stud count drives sheet count. Tape and flash openings before windows.

    Plywood Calculator (coming soon)
  4. Drywall

    After insulation, hang drywall on interior side. Stud spacing decides sheet orientation and butt joints.

    Drywall Calculator
  5. Roof framing

    If your project includes roof framing, the rafters or trusses bear on the double top plate of these walls.

    Roofing Calculator

Next step after framing — drywall

The step after framing is hanging drywall — see our Drywall Calculator for sheet count and waste.

Drywall Calculator

Section 10

Framing calculator FAQ

Common framing-calculator questions, answered first and explained second. Each answer cites the IRC section it draws from so a building inspector or homeowner can verify the basis.

Standards & methodology

Formulas verified against:

IRC 2021 §R602.3
IRC 2021 §R602.3.1
IRC 2021 §R602.3.2
IRC 2021 §R602.7
IRC 2021 §R602.8
DOE BASC
RSMeans 2026

Last reviewed: May 2026 · Next scheduled review: August 2026 · Version 1.0 · See our corrections policy for how to report a formula or code-citation issue.

About the author

Alex Rivera, PE, PE — CalcSummit expert reviewer

Reviews: volume calculators · 38 calculators reviewed

Alex Rivera is a Licensed Professional Engineer (PE) with 18 years of structural and civil engineering experience. He holds PE licenses in California (#C-89412) and Texas (#P.E.-98765). He previously served as Engineer of Record on 250+ residential foundation designs at Thornton Tomasetti. At CalcSummit, he writes and personally reviews every structural, concrete, rebar, deck, and framing calculator against current IRC and ACI 318 standards.

Full profile →
Marcus Johnson, CCM, CCM — CalcSummit expert reviewer

Reviews: project calculators · 31 calculators reviewed

Marcus Johnson is a Certified Construction Manager (CCM) with 20 years of experience in residential and commercial site work. He holds CCM certification from CMAA (member #2019-1247). He has managed NALP-member landscape installation projects covering more than 2 million square feet of site work. At CalcSummit, he writes all landscape volume and bulk-material calculators, applying field-tested coverage rates for mulch, gravel, sand, topsoil, and fill dirt.

Full profile →

Verify with your local building department and a licensed structural engineer

This calculator follows the prescriptive provisions of IRC 2021 for residential bearing and partition walls. Walls taller than 14 ft, openings wider than 10 ft, multi-story bearing conditions, hillside or seismic-design-category sites, and any wall outside the IRC prescriptive scope require a custom structural design by a licensed Professional Engineer. Final framing decisions are the responsibility of the project's designer of record.