HowMuchStuff

Lumber Calculator

By Taro Schenker | Updated February 18, 2026

Quick Answer: To calculate lumber for wall framing, divide the wall length by the stud spacing (typically 16" OC) and add 1 for the end stud. Then add boards for plates: 3 runs (double top plate + single bottom plate) of the wall length. For a 20-foot wall with 2x4 studs at 16" OC using 8-foot boards, you need about 16 studs + 8 plate boards = 24 pieces. Add 10% waste for 27 total. Board feet = (2 x 4 x 8) / 12 = 5.33 BF per piece.

Calculate how many boards, studs, or joists you need for your construction project. Choose from wall framing, floor framing, deck joists, or general lumber estimation. Get total board feet, linear feet, and cost in seconds.

How to Calculate Lumber for Framing

The number of pieces you need depends on the type of framing:

Wall Framing

Studs = (Wall Length ÷ Spacing) + 1
Plate Boards = 3 × ⌈Wall Length ÷ Board Length⌉
Total Pieces = Studs + Plate Boards

The “3” accounts for a double top plate (two runs) and a single bottom plate (one run). The studs are spaced evenly along the wall length, typically at 16 inches on center for load-bearing walls.

Floor Framing

Joists = (Room Length ÷ Spacing) + 1
Rim Boards = 2 × ⌈Room Length ÷ Board Length⌉
Total Pieces = Joists + Rim Boards

Floor joists span the width of the room and are spaced along its length. Rim joists (also called band joists) run along both ends to cap the joist bays and provide lateral support.

General Lumber

Pieces = ⌈Total Linear Feet Needed ÷ Board Length⌉

For projects where you just need a certain amount of lumber (shelving, bracing, blocking, trim), enter the total linear feet required and the calculator divides by your chosen board length.

Nominal vs. Actual Lumber Sizes

Lumber is sold by its nominal size, but the actual dimensions are smaller after milling and kiln drying. Here is the reference table:

Nominal SizeActual Size (in)Common Use
2 x 41.5 x 3.5Wall studs, non-load-bearing partitions
2 x 61.5 x 5.5Exterior walls, short-span floor joists
2 x 81.5 x 7.25Floor joists (up to ~12 ft span)
2 x 101.5 x 9.25Floor joists, headers, beams
2 x 121.5 x 11.25Long-span joists, stair stringers

Board foot calculations use nominal dimensions by industry convention. When planning layouts and clearances, use the actual dimensions.

Stud Spacing Guide

SpacingWhen to UseStuds per 10 ft
12" OCHeavy loads, stair walls, some commercial11 studs
16" OCStandard load-bearing walls and floors8.5 studs
24" OCNon-load-bearing partitions, 2x6 exterior walls6 studs

“OC” means on center — the distance from the center of one stud to the center of the next. Always check your local building code for required spacing.

Tips for Ordering Lumber

  • Inspect every board: Sight down the edge to check for bowing, twisting, and cupping. Reject boards with large knots near the edge or splits at the ends.
  • Buy 10-15% extra: Lumber yards often have a return policy for unused full-length boards. Buying extra avoids costly project delays from a second trip.
  • Choose the right length: Match board length to your wall height or joist span to minimize cuts and waste. For 8-foot ceilings, use 8-foot studs (they will be trimmed slightly to fit with plates).
  • Store lumber flat: Stack boards on a flat surface with stickers (spacer strips) between layers. Keep lumber off the ground and covered to prevent warping from moisture.
  • Check moisture content: Kiln-dried lumber (KD or S-DRY stamp) should be below 19% moisture. Green lumber will shrink as it dries, causing nail pops and drywall cracks.
  • Buy in bulk for savings: Many lumber yards offer unit pricing (bundles of 100+ pieces) at 5-15% below per-piece pricing. Ask about contractor discounts if your project is large.

Formula Summary

Wall Framing Formula:

Studs = ⌈L(ft) / (Spacing(in) / 12)⌉ + 1
Plates = 3 × ⌈L(ft) / BoardLength(ft)⌉
Total = (Studs + Plates) × (1 + Waste%)

Floor Framing Formula:

Joists = ⌈L(ft) / (Spacing(in) / 12)⌉ + 1
Rim = 2 × ⌈L(ft) / BoardLength(ft)⌉
Total = (Joists + Rim) × (1 + Waste%)

Board Feet (per piece):

BF = (NominalThickness(in) × NominalWidth(in) × Length(ft)) / 12

Board SizeBF per 8 ftBF per 12 ftBF per 16 ft
2x45.338.0010.67
2x68.0012.0016.00
2x810.6716.0021.33
2x1013.3320.0026.67
2x1216.0024.0032.00

Standard Assumptions: Default waste factor is 10%. Wall framing includes a double top plate and single bottom plate. Board foot uses nominal dimensions (not actual). Spacing options: 12", 16", or 24" on center. Board lengths: 8, 10, 12, 16, or 20 feet.

Related Calculators

Estimates are for planning purposes only. Consult a qualified contractor for critical projects. Actual material requirements may vary based on site conditions, waste, and installation methods.

Pricing last verified: February 2026. Material prices vary by region, season, and supplier. Prices shown are national averages for planning purposes.

Frequently Asked Questions

How many 2x4s do I need to frame a wall?
For a standard wall at 16 inches on center, divide the wall length in inches by 16 and add 1 for the studs. Then add boards for a double top plate and single bottom plate. For example, a 20-foot wall needs about 16 studs plus 8 plate boards (3 runs of 20 ft using 8-foot lumber), totaling around 24 pieces before waste. Add 10% for a safe order of 27 boards.
What is the difference between nominal and actual lumber sizes?
Nominal size is the name used at the lumber yard (e.g. 2x4), while actual size is what you measure after milling and drying. A nominal 2x4 actually measures 1.5 x 3.5 inches. A 2x6 is 1.5 x 5.5 inches. A 2x10 is 1.5 x 9.25 inches. A 2x12 is 1.5 x 11.25 inches. Board foot calculations use nominal dimensions by industry convention.
Should I use 16 or 24 inch on-center spacing?
16 inches on center is the standard for most load-bearing walls and floor joists. Use 24-inch spacing only for non-load-bearing interior partition walls or where allowed by code with larger lumber (2x6 or bigger). Some jurisdictions require 12-inch spacing for specific applications like stair stringers or headers. Always check your local building code.
How do I calculate board feet for lumber?
Board feet = (Nominal Thickness in inches x Nominal Width in inches x Length in feet) / 12. One board foot equals a piece of wood 1 inch thick, 12 inches wide, and 1 foot long. For example, a 2x6 that is 8 feet long contains (2 x 6 x 8) / 12 = 8 board feet. Board feet is the standard unit for pricing rough lumber and hardwoods.
How much waste factor should I add when ordering lumber?
Add 10% for straightforward projects with mostly straight cuts (wall framing, basic decks). Add 15% for projects with angled cuts, complex layouts, or if the lumber quality is variable. For high-grade finish carpentry, some builders add 20% to ensure they have enough matching pieces. It is always cheaper to return unused boards than to make a second trip to the lumber yard.
What size lumber do I need for floor joists?
Floor joist size depends on the span (distance between supports) and spacing. For 16-inch on-center spacing: 2x6 joists span up to 9 feet, 2x8 up to 12 feet, 2x10 up to 15 feet, and 2x12 up to 18 feet. These are general guidelines for residential construction with standard lumber grades. Always verify with your local building code and an engineer for specific load requirements.