Lumber Calculator — Studs, Plates & Board Feet

Enter your wall length and height and get studs, plates, total linear feet and board feet — framed at 16 in on center with a bottom plate and double top plate.

Quick answer

A 20 ft wall, 8 ft high needs 16 studs, 60 ft of plates and 188 ft of 2×4.

Lumber calculator

Results update as you type. Your numbers are saved in the page link, so you can bookmark or share them.

Units
Wall dimensions
ft
ft
Price (optional)
16
studs
188
total linear ft
82.3
board feet
Plates (bottom + double top)60 linear ft
Stud lumber128 linear ft
Board feet per linear ft0.44 bd ft/ft

Studs are counted at the spacing you chose plus one end stud, and are assumed to be the full wall height. Plates are always three runs: one bottom plate and a double top plate. Add extra studs for doors, windows and corners — this calculator sizes a plain run of wall.

How the lumber calculator works

This lumber calculator estimates the framing lumber you need for a straight interior wall. You enter the wall length and wall height, pick your stud spacing and lumber size, and enter a price per linear foot if you want a cost estimate. The calculator then gives you three numbers: how many studs to buy, how many linear feet of plate material you need, and the total lumber in linear feet and board feet.

The two measurements that matter most are length and height. Length drives the stud count and the plate run. Height determines how long each stud has to be, and it feeds directly into the total linear footage because every stud in the wall is cut to the wall height. If you measure the wall wrong by even a foot, the error compounds — more studs, more plate, more board feet. Measure the finished wall length from inside corner to inside corner, and measure height from floor to ceiling at the tallest point.

The math, step by step

studs = ceil(wall length × 12 ÷ spacing) + 1
plates = 3 × wall length (bottom plate + double top plate)
total linear ft = studs × height + plates
board feet = total linear ft × thickness (in) × width (in) ÷ 12
  • The +1 stud: a wall needs a stud at each end plus one every 16 in between — that is why the count is ceil(length ÷ spacing) + 1, not just the division.
  • Plates: three runs of plate stock — one bottom plate and a double top plate — so plates are always 3 × wall length.
  • Board feet: a 2×4 measures 1.5 × 3.5 in, so one linear foot is 0.44 board feet; a 2×6 is 1.5 × 5.5 in, so 0.69 board feet per foot.
  • Nominal vs actual: a "2×4" is really 1.5 × 3.5 in after dressing — always plan finished dimensions on the actual size.
20 ft 8 ft framed wall — double top plate (yellow), studs at 16 in
A 20 ft wall, 8 ft high: 16 studs at 16 in on center, 60 ft of plate stock, 188 ft of 2×4 total.

Here is how the math works, using the default settings: a 20 ft wall, 8 ft high, framed with studs at 16 in on center, out of 2×4, priced at $1.25 per linear foot.

Studs come first. The formula takes your wall length in feet, multiplies it by 12 to get inches, divides by the 16 in spacing, rounds up to the next whole stud, and adds one for the stud at the far end of the wall. For the 20 ft wall: 20 × 12 = 240 in, 240 ÷ 16 = 15 spaces, and one more stud at the end gives 16 studs. That +1 matters — spacing alone tells you how many gaps there are, not how many sticks of lumber.

Plates are next. Every wall gets a bottom plate and a double top plate, which is 3 plate members running the full length of the wall. So plates = 3 × wall length. For a 20 ft wall, that is 3 × 20 = 60 ft of plate stock. You can rip plates from the same dimension lumber as the studs, which is why they fold into the total.

Total linear feet combines both: studs × height + plates. Each of the 16 studs is 8 ft long, so 16 × 8 = 128 ft, plus 60 ft of plates, gives 188 ft of 2×4 total.

Board feet converts that linear footage into volume, which is how lumber is often priced and compared. A 2×4 is nominally 2 in × 4 in but actually measures 1.5 in × 3.5 in. That cross-section works out to 1.5 × 3.5 ÷ 12 = 0.4375 board feet per linear foot. So 188 ft × 0.4375 = 82.3 bd ft.

The calculator runs this same chain of math for any wall length you enter, and it switches the board-foot factor automatically if you choose 2×6 instead of 2×4. If you enter a price per linear foot, it multiplies the total linear feet by that price for a planning cost. All of it assumes a simple, straight, flat-framed wall — no openings.

The calculator lets you pick between 2×4 and 2×6 framing because the choice changes both cost and performance. A 2×4 is the standard choice for most interior walls and many exterior walls in mild climates, while a 2×6 gives you a deeper cavity for insulation, which matters on exterior walls where energy codes are strict. The trade-off is material: a 2×6 wall uses more lumber per stud, so your board-feet total and your bill both go up. The calculator handles this through board feet, which measure lumber volume rather than just length. A 2×4 yields 0.44 board feet per linear foot, based on its actual dressed size of 1.5 × 3.5 in. That actual size matters whenever you plan around finished dimensions — a stud framed "2 by 4" is really three and a half inches deep, not four. The same gap between nominal and actual size applies up the whole range, which is why the board-feet figures per linear foot climb as the board gets wider: 2×6 comes to 0.69, 2×8 to 0.91, 2×10 to 1.16, and 2×12 to 1.41. If you switch the calculator from 2×4 to 2×6, every stud and plate on your wall gets about 0.25 more board feet per foot of length, and the price estimate rises accordingly. The plates follow a fixed rule: the calculator adds three times your wall length in plate stock, because a framed wall needs a single bottom plate plus a double top plate. The bottom plate anchors the studs to the floor and carries the wall's layout marks; the double top plate ties adjacent walls together, spreads loads across the studs below, and lets a stud land on solid framing even when it misses the single top plate on a joint. That is why the plate total is always 3 × L no matter which stud spacing or board size you choose — change the wall length and the plate footage changes with it, but the three-run rule stays the same. When you price the job, remember that studs and plates are usually sold by the linear foot, so the total linear feet figure, not just the stud count, is what your supplier will charge against.

Worked example: a 20 ft wall, 8 ft high

Worked example: a 20 ft wall, 8 ft high, framed at 16 in on center with 2×4 lumber, priced at $1.25 per linear foot.

  1. Convert the wall length to inches: 20 ft × 12 = 240 in.
  2. Divide by stud spacing: 240 ÷ 16 = 15 stud spaces.
  3. Add one for the end stud and round up: 15 + 1 = 16 studs.
  4. Calculate plate stock at one bottom plate plus a double top plate: 3 × 20 ft = 60 ft of plates.
  5. Calculate stud linear footage: 16 studs × 8 ft = 128 ft.
  6. Add stud footage and plate footage for total lumber: 128 + 60 = 188 ft of 2×4.
  7. Convert to board feet: 188 × 0.4375 = 82.3 bd ft. (A 2×4 measures 1.5 × 3.5 in, so each linear foot is 1.5 × 3.5 ÷ 12 = 0.4375 bd ft.)
  8. Estimate cost: 188 ft × $1.25 = $235.00.

So the wall takes 16 studs, 60 ft of plates, 188 total linear feet, 82.3 board feet, and about $235 at the entered price.

Quick reference tables

Speed sheetQuick reference for walls framed 8 ft high at 16 in stud spacing with 2×4

Quick reference for walls framed 8 ft high at 16 in stud spacing with 2×4:

Quick reference for walls framed 8 ft high at 16 in stud spacing with 2×4
Wall lengthStudsPlatesTotal linear ftBoard feet
12 ft1036 ft116 ft50.8 bd ft
20 ft1660 ft188 ft82.3 bd ft
30 ft2490 ft282 ft123.4 bd ft

Board feet per linear foot by lumber size — remember these are nominal names, so a 2×4 actually measures 1.5 × 3.5 in:

Board feet per linear foot by lumber size — remember these are nominal names, so a 2×4 actually measures 1
Lumber sizeBoard feet per linear ft
2×40.44 bd ft/ft
2×60.69
2×80.91
2×101.16
2×121.41

What framing lumber costs

The calculator uses a price you enter per linear foot — the default is $1.25 per linear foot for 2×4 framing lumber. That figure is a national planning range checked November 2026, not a quote. Actual pricing at your local yard will move with species, grade, treated versus untreated stock, and region, and framing lumber in particular can swing week to week.

Using the worked example, a 20 ft wall needs 188 linear feet of 2×4. At $1.25 per linear foot, that is 188 × $1.25 = $235.00 in lumber. Treat that as a planning number for the studs and plates only. It does not include nails or fasteners, headers and cripples over openings, extra studs for corners and intersections, or waste. A common practice is to add one or two spare studs per wall and a modest overage on plate stock for cutting losses. If you switch the calculator to 2×6, per-linear-foot pricing runs higher than 2×4, so update the price field before comparing costs. Check current prices at your supplier before ordering, since the number you enter drives the whole estimate.

Frequently asked questions

How many studs do I need for a 20 ft wall?

At 16 in on center, a 20 ft wall needs 16 studs. The math is 20 × 12 = 240 in, 240 ÷ 16 = 15 spaces, plus one stud for the end of the wall.

How much plate material does a wall need?

Three times the wall length in feet — one bottom plate and a double top plate. A 20 ft wall needs 60 ft of plates; a 30 ft wall needs 90 ft.

How many board feet is a 2×4 per linear foot?

A 2×4 actually measures 1.5 × 3.5 in, so each linear foot is 0.4375 board feet, shown as 0.44 bd ft/ft in the table. A 20 ft wall at 8 ft high works out to 82.3 bd ft of 2×4.

Why does the stud formula add one stud?

Dividing length by spacing counts the gaps between studs, not the studs themselves. A 240 in wall has 15 sixteen-inch spaces but needs a stud on each end, so you round up the count and add one — 16 studs total for a 20 ft wall.

Does the wall height change the stud count?

No. Height changes how long each stud is, not how many you need. For an 8 ft wall, 16 studs means 16 × 8 = 128 ft of stud stock, which becomes part of the 188 total linear feet for a 20 ft wall.

What does the calculator include in the total linear feet?

Stud lumber plus plate lumber only: studs × wall height + 3 × wall length. It does not add headers, jack studs, king studs, cripples, or extra studs for corners and wall intersections.

How does the cost estimate work?

The calculator multiplies total linear feet by the price per linear foot you enter — the default $1.25 per linear foot is a national planning range checked November 2026, not a quote. For the 20 ft example wall, 188 ft × $1.25 = $235.00.

Is 16 in on center the only spacing option?

This calculator is built around 16 in stud spacing, which is the standard for residential walls and matches the formula and tables here. If your plans call for different spacing, the stud count changes and you should count studs directly from your layout rather than using these figures.

Assumptions and limitations

  • Studs are framed at 16 in on center; the stud count is wall length in inches ÷ 16, rounded up, plus one end stud.
  • Every wall carries one bottom plate and a double top plate, so plate stock equals 3 × the wall length in feet.
  • Each stud is cut to the full wall height as entered — the calculator does not deduct for a bottom plate or top plates.
  • The wall is straight, flat-framed, and has no openings; headers, king studs, jack studs, cripples, and corner post framing are not included.
  • Board feet are calculated on actual dressed dimensions, so a 2×4 is 1.5 × 3.5 in, giving 0.4375 board feet per linear foot.
  • No waste factor is added; the counts are net figures, so buy spare studs and extra plate stock for cutoffs and defects.

Sources

  • American Wood Council (awc.org) — wood framing standards and stud spacing requirements for residential walls.
  • Home Depot (homedepot.com) — current dimension lumber sizing and per-piece framing lumber pricing.
  • Lowe's (lowes.com) — framing lumber listings in 2×4 through 2×12 sizes and linear-foot cost planning.
  • National Lumber Grades Authority (nlga.com) — grading rules for dimension lumber and nominal versus actual sizing.

Last reviewed: November 20, 2026, by the YardMath Editorial Team. Formulas re-checked against manufacturer datasheets; national price ranges refreshed quarterly.