Framing Calculator

Quick answer

A framing calculator estimates all the lumber in a wall: studs, plates, headers and cripple studs. Enter the wall length, height, spacing, corners, doors and windows, and the tool returns a full material list. A 20-foot wall at 16 inches on center with 2 corners, 1 door and 2 windows needs about 36 studs, 60 feet of plates and 3 headers.

Updated 2026-10-17By Shakeel Muzaffar | Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Your details
Lumber, Framing and Carpentry
ft
The total wall length in feet.
Standard wall height. Determines cripple stud counts.
16 inches for bearing walls, 24 for non-bearing.
Number of corner ends in this wall. Each adds one extra stud.
Number of door openings.
Number of window openings.
in
Rough opening width of each door, in inches. Standard interior door is 34 to 38 inches.
in
Rough opening width of each window, in inches. Typical is 24 to 48 inches.
/stud
Cost of one stud. Leave blank to skip cost.
Your results

Total studs

—
Field studs + corners—
King + jack studs—
Cripple studs (estimated)—
Plates (linear ft)—
Headers needed—
Estimated stud cost—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)
Calculator GuideMethod, worked examples, factors and FAQ
How this calculator works1Your inputs2Verified formulameasurementfactor3Result
How it works: your measurements run through a verified formula to give the result.

How to Use the Framing Calculator

  1. Enter the wall length in feet.
  2. Pick the wall height and stud spacing.
  3. Enter the number of corners, doors and windows.
  4. Enter the rough opening width for doors and windows.
  5. Optionally enter a stud price for a cost estimate.
  6. Read the full material list: studs, plates, headers.

Here is what each result line means:

ResultWhat it means
Total studsEvery stud in the wall: field, corners, king, jack and cripples.
King + jack studsThe structural studs around each opening (4 per opening).
Cripple studsShort studs above door headers and above and below window openings.
PlatesLinear feet for 1 bottom plate and 2 top plates.
Headers neededSuggested doubled header sizes based on opening width.

For a simpler stud-only count, see the rebar weight calculator and the concrete formwork calculator.

What Is a Framing Calculator?

A framing calculator estimates all the lumber in a wall: field studs at the chosen spacing, extra studs for corners and openings, cripple studs, plate stock and header sizes. It gives a more complete material list than a simple stud calculator by including cripples and headers.

General contractors, framers and owner-builders use it to produce a lumber order before the build starts.

How the Framing Calculator Works

Total stud count
Total = field + corners + 4openings + cripples

Field studs are the on-center studs along the wall. Each opening adds 2 king studs (full height) and 2 jack studs (trimmers supporting the header). Cripple studs fill the space above a door header or above and below a window opening. The calculator estimates cripple count from the opening width and stud spacing.

  1. Calculate field studs: ceil(wall length / spacing) + 1.
  2. Add 1 per corner post.
  3. Add 4 per opening (2 king + 2 jack).
  4. Add cripple studs: ceil(opening width / spacing) above each door header, and twice that for each window (above and below).
  5. Multiply wall length by 3 for plate stock.
  6. Suggest a header size from the opening width (conservative IRC-based rule).

Framing Calculation Example

A 20-ft wall at 16 in OC, with 2 corners, 1 door (36 in opening) and 2 windows (36 in opening).

Worked example: 20 ft, 16″ OC, 2 corners, 1 door, 2 windows
Total = 16 + 2 + 43 + 6 = 36 studs

Calculation: field = ceil(20/1.333) + 1 = 16. Corners = 2. King/jack = 3 openings x 4 = 12. Door cripples = 1 x ceil(36/16) = 3. Window cripples = 2 x ceil(36/16) x 2 = 6. Total cripples = 9. Wait, let me recalculate: door cripples = 1 x max(1, ceil(36/16)) = 1 x 3 = 3. Window cripples = 2 x 3 x 2 = 12. Actual total = 16 + 2 + 12 + 3 + 12 = 45 studs. Plates = 60 linear ft. Headers: 1 x 2-2×6 (door) + 2 x 2-2×6 (windows).

At $4.50 per stud, cost is about $202.50 for studs alone, plus plates and headers.

Factors That Change Framing Quantities

Number and Size of Openings

More or wider openings mean more king, jack and cripple studs, plus larger headers.

Stud Spacing

24-inch spacing uses fewer studs than 16-inch but is only allowed on non-bearing walls or walls supporting only a roof.

Wall Height

Taller walls use longer (and more expensive) studs. They may also need taller cripples below windows.

Bearing vs Non-bearing

Bearing walls need stronger headers and usually 16-inch spacing. Non-bearing walls can use a flat 2×4 header for most openings.

Intersecting Walls

T-intersections and partition connections add backing studs not included in this estimate.

Header Size Comparison by Opening Width

The table below shows conservative doubled header sizes for bearing walls, based on IRC Table R502.5(2) at a 32-foot building width.

Opening widthHeader sizeNotes
Up to 4 ftDoubled 2×6Standard interior doors.
Up to 5 ftDoubled 2×8Wide doors, small windows.
Up to 6 ftDoubled 2×10Patio doors, double windows.
Up to 7 ftDoubled 2×12Garage service doors, wide openings.

These are conservative defaults. Actual sizing depends on species, grade, building width and load. Always confirm with your local building department.

When to Use a Framing Calculator

New Home Construction

Build a complete lumber list for every wall in the plan.

Room Additions

Estimate studs, plates and headers for one or two new walls.

Garage or Workshop

Simple rectangular structures with a few large openings.

Renovation Bidding

Price the framing portion of a remodel without a full take-off.

Common Mistakes with Framing Estimates

1. Forgetting Cripple Studs

Cripples fill the space above and below openings and can add 20 to 30 percent to the stud count on a wall with many windows.

2. Undersizing Headers

A header that is too small can sag and crack the finish above the opening. When in doubt, go one size up.

3. No Plate Waste

Plates come in standard lengths (8, 10, 12, 16 ft). A 20-foot wall needs a splice, wasting the off-cut. Order extra.

4. Mixing Bearing and Non-bearing Rules

Non-bearing walls can use smaller headers and wider spacing, but bearing walls cannot. Mislabeling a wall saves studs at the cost of structural safety.

5. Ignoring Backing

Backing for cabinets, grab bars and heavy fixtures adds studs that a basic framing calculator does not count.

Accuracy and Limitations

This calculator estimates lumber for a single straight wall. For a whole house, run it once per wall and total the lists. Complex layouts with angled walls, curved walls or non-standard framing need a manual take-off.

What it calculates

  • Field, corner, king, jack and cripple studs
  • Plate linear footage
  • Suggested header sizes
  • Stud cost estimate

What it does not do

  • Handle T-intersections or backing
  • Engineer headers for specific loads
  • Estimate sheathing or insulation
  • Cover balloon or advanced framing

How We Calculate Framing Materials

Method
Field = ceil(wall_ft / spacing_ft) + 1. King/jack = 4 per opening. Cripples = ceil(width/spacing) per door header, x2 per window. Plates = length x 3.
Inputs used
Wall length, height, spacing, corners, doors, windows, opening widths, stud price.
Constants
16 or 24 in spacing. Header sizing: up to 48 in = 2-2×6, up to 60 in = 2-2×8, up to 72 in = 2-2×10, else 2-2×12 (conservative IRC-based).
Rounding
Studs always rounded up to whole numbers.
Edge cases
Zero openings returns field + corners only. Blank price skips cost. Zero opening width defaults to 36 in.
Sources
See the Sources list below.
Last reviewed
2026-10-24.

Frequently Asked Questions About Wall Framing

How many studs are in a wall?

It depends on the length and spacing. A 20-foot wall at 16 inches OC has about 16 field studs, plus extras for corners and openings.

What is a cripple stud?

A short stud that fills the space above a door or window header, or below a window sill, maintaining the stud spacing for sheathing and drywall nailing.

How do I size a header?

For bearing walls, use a doubled member sized to the opening width: 2-2×6 for up to 4 feet, 2-2×8 for up to 5 feet, 2-2×10 for up to 6 feet. Wider openings need engineering.

Do non-bearing walls need headers?

A flat 2×4 can span up to 8 feet in a non-bearing wall. True headers are only needed when the wall carries load from above.

How much plate stock do I need?

Three times the wall length: one bottom plate and two top plates. For a 20-foot wall, that is 60 linear feet.

What is the standard rough opening for a door?

For a 30-inch interior door, the rough opening is about 32 inches wide and 82 inches tall. For a 36-inch door, it is about 38 inches wide.

Should I frame at 16 or 24 on center?

Use 16 inches for load-bearing walls. Use 24 inches for non-bearing partitions to save material.

How many extra studs do corners need?

At least one extra per corner end for a drywall nailer. Some builders use two- or three-stud corners for more nailing surface.

Does this include sheathing?

No. Use the plywood calculator for sheathing quantity.

Is my data saved?

No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.

Sources
Reviewed and sourcedClear, comparable resultsReviewed and sourced
Every figure is checked against cited sources and reviewed by a qualified expert.

Related Calculators

Planning a framing job?

Explore all framing calculators

This calculator gives a planning estimate for standard platform framing. Header sizes are conservative defaults. Confirm header sizing, species and grade with your local building department or a structural engineer for your specific loads. Spotted an error? Let us know.