Framing Calculator: Studs, Plates and Headers for a Wall
By FindMySum · Last reviewed
Framing a wall takes more lumber than "one stud every 16 inches". Corners, intersections, door and window openings each add studs, every wall has three rows of plates, and every opening needs a header. This calculator does the take-off for a wall (or for several walls added together): studs to buy, plate boards, header lumber, cripples, board feet and cost. It counts material; it doesn't size anything for loads.
Step 1: common studs
Studs are laid out from one end of the wall at a fixed spacing, 16 in (400 mm) or 24 in (600 mm) on centre, with one at each end. So:
common studs = ⌈wall length ÷ spacing⌉ + 1
A 20 ft (240 in) wall at 16 in needs 240 ÷ 16 = 15, plus 1 = 16 common studs. The calculator lays these out across openings too, because the studs that a door or window displaces are cut up to make the cripples, rough sills and blocking.
Step 2: corners, intersections and openings
- Corners: two extra studs per corner (a three-stud corner), so there is backing for the drywall on the inside.
- Intersections: two extra studs where another wall meets this one, for the same reason.
- Openings: each door or window has a full-height king stud on each side and a shorter jack (trimmer) stud inside each king that carries the header: four studs per opening.
Then add about 10% for crooked boards, blocking and mistakes.
Worked example (the calculator's defaults). A 20 ft wall, 8 ft high, 2×4 at 16 in on centre, two corners, one door with a 38 in rough opening and one window with a 36 in rough opening: 16 common studs + 4 corner studs + 4 king studs + 4 jack studs = 28; with 10% extra, 31 studs.
Step 3: plates
Most walls have a single bottom plate and a double top plate. That is three rows the length of the wall. With 16 ft plate boards, each row of a 20 ft wall takes two boards, so six in total. The joints in the two top plates are offset, and the upper plate laps over the walls at corners and intersections.
Step 4: headers and cripples
A header spans each opening and sits on the jack studs, so it is the rough opening plus 3 in long (1½ in of bearing at each end). A typical built-up header is two plies of 2× lumber. In the example, the door header is 41 in and the window header 39 in, two plies each: 160 in, or 13.3 ft of header stock.
Cripples are the short studs above a header and below a window's rough sill that continue the stud layout. Above each opening there are ⌈width ÷ spacing⌉ − 1 of them; below a window, the same number again. They come from the displaced common studs, so they don't add to the order.
How deep the header must be (2×6 to 2×12, or engineered lumber) depends on the span and on the floors and roof above. That is a structural question: use the header span tables in Part 9 of the National Building Code of Canada or the International Residential Code, or ask your building department.
Stud length
Precut studs are made for standard wall heights: 92 5/8 in for 8 ft walls, 104 5/8 in for 9 ft walls and 116 5/8 in for 10 ft walls. Add three 1½ in plates and a 92 5/8 in stud gives a 97 1/8 in frame, which fits a sheet of 8 ft drywall on the wall, the ceiling board above and a small gap at the floor.
Board feet
Softwood framing lumber is measured at its nominal size, so board feet = thickness × width × length (in) ÷ 144. A 92 5/8 in 2×4 is 5.15 board feet; a 16 ft 2×4 plate 10.67. The example wall comes to 159.5 board feet of studs, 64 of plates and 22.2 of 2×10 header: 245.7 board feet in all.
Canada and the US
The arithmetic is the same on both sides of the border, and Canadian lumberyards sell the same 2×4 and 2×6 sizes (38 × 89 and 38 × 140 mm). The rules that decide spacing, stud size and headers come from different codes: Section 9.23 of the National Building Code of Canada (and the provincial codes based on it) and Section R602 of the International Residential Code in the US.
What the calculator leaves out
It doesn't size studs or headers for loads, and doesn't handle gable or rake walls, custom heights, fire blocking, sheathing, fasteners or advanced framing layouts. Use it to price and order material; follow your code and your building department for the structure.
More questions
Should I use 2×4 or 2×6 studs for exterior walls?
2×6 walls leave room for thicker insulation (a 140 mm cavity instead of 89 mm), which is why they are common for exterior walls in colder parts of Canada and in energy codes that ask for higher wall R-values. They also allow 24 in spacing in more situations. Interior partitions are usually 2×4.
What is advanced framing?
Advanced (or optimum value) framing uses less lumber: studs at 24 in on centre, two-stud or California corners, ladder blocking at intersections, single top plates with aligned framing and right-sized headers. It saves wood and leaves more room for insulation, but each technique has to be allowed by your code and designed so loads line up.
How much extra lumber should I order?
Ten percent extra studs is a common allowance for crooked or split boards, blocking, backing for cabinets and fixtures, and mistakes. Lumber with a lot of wane or crook may need more. Plates and headers are bought by length, so plan the cut list to limit offcuts.
Do I need a permit to frame a wall?
New construction, additions and changes to load-bearing walls almost always need a building permit in Canada and the US. Moving a non-load-bearing partition may not, depending on your municipality. Ask your building department before you start, especially if a wall carries floor or roof loads.
What is the difference between a load-bearing and a partition wall?
A load-bearing wall carries weight from the floors or roof above to the foundation, so its studs, headers and plates are sized for that load. A partition wall only divides space. Removing or cutting a large opening in a load-bearing wall needs a properly sized beam and often an engineer.
Sources
- National Research Council Canada: National Building Code of Canada 2020 (Part 9, Section 9.23 Wood-Frame Construction)
- International Code Council: 2021 International Residential Code, Chapter 6 Wall Construction (R602)
- Canadian Wood Council: Wood-frame construction
- Weyerhaeuser: kiln-dried studs (precut lengths)
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.