Tallyard

Lumber, framing, and structural

Five tools for the skeleton of any building project. Every dimension is code-mandated by the IRC.

Framing is the one phase where every dimension is code-mandated

Stud spacing, joist sizing, stair rise and run, header dimensions, window egress — all of these have exact minimums set by the International Residential Code (IRC). Unlike paint (where an extra gallon just sits in the garage) or mulch (where an extra inch is harmless), framing mistakes fail inspection and require rework. The calculators in this category reference specific IRC sections so you can verify that your project meets code before the inspector arrives.

Stud spacing and stud count

The basic stud count formula is wall length divided by spacing plus one. A 12-foot wall at 16 inches on center needs 10 studs. But that formula only counts the regular studs. Every door and window opening adds king studs (full-height, flanking the opening), jack studs (shortened, supporting the header), and cripple studs (short, filling above doors and above/below windows). A 20-foot wall with two windows and a door needs 10 to 12 more studs than the basic formula predicts. The stud spacing calculator accounts for all of these per IRC R602.3, R602.7, and R602.9.

Standard load-bearing walls use 16-inch on center spacing. Non-bearing interior partitions can use 24-inch spacing per code. Some 2×6 exterior walls also allow 24-inch spacing with engineering approval. The calculator lets you select your spacing and wall type.

Stairs: the tightest code requirements in residential construction

The stair calculator enforces IRC R311.7: maximum 7.75-inch rise, minimum 10-inch run, 36-inch minimum width, and maximum 3/8-inch variation between any two risers. These are not guidelines. Stairs that do not meet code fail inspection and must be rebuilt, which means tearing out and reframing. The calculator computes code-compliant rise and run from your total height and outputs the number of treads, total run distance, and stringer cut dimensions.

The stair riser rule creates a counterintuitive constraint: a total height of 9 feet (108 inches) with a 7.5-inch rise needs exactly 14.4 risers. You cannot build 14.4 steps. You build 15 steps at 7.2 inches each, or 14 steps at 7.71 inches each. Both are code-compliant. The calculator finds the combination that keeps the rise uniform and within the maximum.

Window sizing: three code checks in one

The window sizing calculator checks three IRC requirements simultaneously. Egress (IRC R310): every bedroom needs at least one window with 5.7 square feet of clear opening area, minimum 20 inches wide, minimum 24 inches tall, sill no higher than 44 inches above the floor. Natural light (IRC R303): total glazing area must be at least 8 percent of the room's floor area. Natural ventilation: operable window area must be at least 4 percent of floor area. Most standard windows pass all three, but basement bedrooms and small rooms are where one of these requirements often forces a larger window than the homeowner initially planned.

Lumber pricing: board feet vs linear feet

Lumber is priced two ways. Big-box stores price by the piece: a 2×4×8 costs $4.50. Lumber yards price by the board foot: one board foot equals 144 cubic inches (1 foot × 1 foot × 1 inch). A 2×4 that is 8 feet long contains 5.33 board feet. The lumber calculator converts between the two systems and estimates cost at your local price per board foot. This matters most when comparing quotes from different suppliers, since you need to be comparing the same unit.

Shed: a small building with full framing

The shed calculator estimates framing lumber, sheathing, and roofing for backyard storage buildings. A shed uses the same construction principles as a house — floor joists, wall studs at 16 or 24 inches on center, roof rafters or trusses, sheathing, and shingles — just at a smaller scale. Most jurisdictions exempt sheds under 120 square feet and under 10 feet tall from building permits, but setback requirements (distance from property lines) usually apply regardless of size.