Wall Framing Calculator

Calculate studs, plates, and lumber for wall framing by length and spacing.

By Konstantin Iakovlev · Updated September 2026 · Source: 2021 International Residential Code, Section R602 (Wood Wall Framing)

ft
ft

Studs Needed

16

Plate LF

60.00 ft

Board Feet

125

Framing Breakdown

Studs (2x4)16
Stud Linear Feet128.0 ft
Plates (3 runs)60.00 ft
Total Linear Feet188.0 ft
Total Board Feet125

Use the Wall Framing Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only. Results are estimates from the numbers you enter and the assumptions described on this page; check them against local building codes, product specifications and current prices, and have structural, electrical or gas work designed or checked by a licensed professional.

How It Works

Framing a wall starts with a parts count: studs, a doubled top plate, and a bottom plate, all sized to the wall you're building. Pin those numbers down and you buy close to exactly what you need, which trims the offcut pile and keeps cash in your pocket.

The stud count is the wall length divided by the stud spacing, rounded up, plus one stud to close the far end: 16 studs for a 20-foot wall at 16 inches on center. Plates are three runs of the wall length, one bottom plate and a doubled top plate, with no waste factor. The IRC requires that double top plate on wood stud walls, with end joints offset at least 24 inches, unless the wall meets its single-top-plate exception (R602.3.2); interior nonbearing walls need only a single top plate (R602.5). The calculator multiplies the stud count by the wall height for stud linear feet and adds the plates for a 2x4 lumber total.

Lumber only comes in whole pieces, so every quantity rounds up, since there's no such thing as buying part of a stud. The base figures here don't include extra studs at corners and wall intersections or the framing around doors and windows; in a bearing wall each opening needs a header carried on jack studs (IRC R602.7), while a nonbearing wall needs no load-bearing header (R602.7.4). When in doubt, lean toward a few extra pieces, because a small surplus beats a stalled wall and a return trip mid-job.

Example: Framing a 20-foot wall with 16-inch on-center spacing

  1. 1 Input: wall length 20 feet, wall height 8 feet, studs at 16 inches on center.
  2. 2 Studs: 20 ft / (16 / 12 ft) = 15 spaces, plus 1 to close the end = 16 studs, or 16 × 8 = 128 linear feet.
  3. 3 Plates: 3 runs × 20 ft = 60 linear feet, one bottom plate and a doubled top plate. Total: 128 + 60 = 188 linear feet of 2x4.
  4. 4 Shopping list: 16 studs plus extras for corners, wall intersections and any door or window framing, and plate stock such as six 10-foot boards, with top-plate joints staggered at least 24 inches apart (IRC R602.3.2). The calculator adds no waste, so buy a spare or two.

Frequently Asked Questions

How many studs do I need for a wall?
Divide the wall length in feet by the stud spacing (1.33 feet for 16-inch OC), add one for the end, then add extras for corners, intersections, and openings. A 20-foot wall at 16 inches on center needs about 16 studs plus extras for a total of 18-22.
What is the difference between 16-inch and 24-inch stud spacing?
Under IRC Table R602.3(5), 2x4 studs may be spaced 24 inches on center in a bearing wall that supports only a roof-ceiling assembly, but no more than 16 inches when they also carry one floor, and 2x4s may not carry two floors plus a roof; 2x6 studs allow 24 inches with one floor above. Bearing 2x4 studs are limited to 10 feet of laterally unsupported height, and nonbearing 2x4 walls may use 24-inch spacing. At 24-inch spacing, wall drywall must be at least 1/2 inch thick, because 3/8-inch board is limited to 16-inch framing (Table R702.3.5).
How many plates do I need for wall framing?
A bearing or exterior wall needs one bottom plate and a double top plate (IRC R602.3.2, which allows a single top plate only under specific tie and alignment conditions); an interior nonbearing wall needs only a single top plate (R602.5). Multiply the wall length by 3 to get total plate linear footage. For a 20-foot wall, you need 60 linear feet of plate lumber, typically 2x4 or 2x6.