Wall framing calculator
Count the studs, jack studs, headers, cripples and plates for a timber stud wall, with the cut lengths. Enter the walls, the height and the doors and windows.
Walls
Wood stud walls after the IRC: studs on a layout at 16 or 24 in, a single bottom plate, a double top plate, a king and a jack stud at each side of an opening.
Each straight wall as you will build it. Walls of the same length: enter the quantity.
Wall build-up
From the floor to the top of the top plate.
16 in is the usual layout; 24 in is the most the IRC allows for 2×4 and 2×6 studs.
Where two of your walls meet.
The length you buy for plates.
Doors and windows
From the floor to the bottom of the rough opening.
Rough opening: the hole in the frame, from the window or door maker's instructions.
Add this calculator to your website
Free for any website: paste this code where the calculator should appear. It keeps itself up to date, fits its height to the content and links back to the full page with the explanations.
How to use it
- 01Enter each straight wall as you will build it. Four walls of a room are four lines, or two lines with quantity 2.
- 02Enter the wall height from the floor to the top of the top plate, the stud spacing and whether the top plate is single or double.
- 03Enter the number of corners and how you frame them, and how many jack studs carry each header.
- 04Add the doors and windows with their rough opening sizes. Read the studs, the cut lengths and the plate boards to buy.
How it is calculated
Each wall is laid out from one end at the stud spacing, with a stud at both ends. Openings take out the layout studs that fall inside them and add their own framing around them.
- Layout studs per wall
- n = ⌈L / s⌉ + 1
- Studs inside an opening
- m = ⌊W / s⌋
- Full-length studs
- Σn + corners × extra + 2 × openings − Σm
- Stud length
- H − plates × t
- Jack stud
- sill + opening height − t
- Header length
- W + 2 × jacks × t
The IRC caps stud walls with a double top plate and sets them on a single bottom plate (R602.3.2, R602.3.4). Table R602.3(5) allows 2×4 and 2×6 studs at up to 24 in on center; a 2×4 bearing wall that carries a floor is limited to 16 in.
At each opening the header sits between two king studs and bears on at least one jack stud at each side. Where full studs would stand on the layout, short cripples fill in above the header and below a window sill (Fine Homebuilding, APA).
A conventional corner uses three studs: the end studs of both walls plus one more as backing for the drywall. Advanced framing leaves the third stud out and uses drywall clips or blocking (APA).
In German timber frame building the studs usually stand at 62.5 cm, so the boards go on with little waste (BauNetz Wissen). The calculator counts pieces and lengths; it does not size studs or headers.
Worked example
A 12 × 10 ft room, 8 ft 1 1/8 in walls, studs at 16 in, one door and two windows
- Layout: 12 ft walls take 10 studs each, 10 ft walls 9 each, 38 in total. Four three-stud corners add 4: 42.
- The 38 in door and two 36 in windows add 6 king studs and remove 6 layout studs: still 42 studs at 92 5/8 in.
- Jack studs: 2 × 81 in for the door, 4 × 82 1/2 in for the windows (36 in sill + 48 in opening − 1 1/2 in plate).
- Headers 41 in and 2 × 39 in; 6 cripples above; 4 cripples of 33 in below the windows; 132 ft of plate in three rows.
Getting the order right
Run the bottom plate across doors
Lay the bottom plate in one piece and cut it out at the door once the wall stands. The wall stays straight while you lift it.
Mark both plates together
Lay the top and bottom plates side by side and mark the studs, kings and jacks across both at once. The studs then stand plumb.
Buy a few spare studs
Some studs are bowed or twisted. The count here is exact, so add a few for the pile you will not use.
Common mistakes
- Entering the window size instead of the rough opening. The frame is built to the rough opening given by the window maker.
- Measuring the wall height to the ceiling finish. Enter the height to the top of the top plate.
- Forgetting the extra plate when the top plate is double. The stud gets 1 1/2 in shorter.
- Choosing header sizes by eye. Header size depends on the span and the load above and comes from the code tables.
Questions
How many studs do I need for a wall?
Divide the wall length by the spacing, round up and add one. A 12 ft wall at 16 in needs 10 studs, at 24 in 7. Add studs for corners and for the king studs at each opening.
How long are the studs for an 8 ft wall?
Take the wall height and subtract the plates. A wall of 8 ft 1 1/8 in with one bottom plate and two top plates of 1 1/2 in takes 92 5/8 in studs.
What are king, jack and cripple studs?
King studs run full height beside an opening. Jack studs stand against them and carry the header. Cripples are short studs above the header and below a window sill, at the layout spacing.
Do I need a double top plate?
The IRC calls for a double top plate on wood stud walls, with joints offset at least 24 in. A single top plate is possible when rafters, trusses and joists stand directly over the studs.
What stud spacing is used in Europe?
In German timber frame building 62.5 cm is the usual spacing, matching common board widths.
Related calculators
Sources
- [1]Seattle Residential Code 2012 (IRC 2012 with amendments), Chapter 6 Wall Construction. City of Seattle. R602.3.2: wood stud walls capped with a double top plate, end joints offset at least 24 in. R602.3.4: studs bear on a 2-by bottom plate. Table R602.3(5): 2×4 and 2×6 studs at not more than 24 in on center (16 in for 2×4 carrying a floor). Table R602.7.1 note: header bears on at least one jack stud at each end.. Checked November 10, 2026
- [2]Anatomy of a Load-Bearing Wood-Framed Wall (M. Guertin). Fine Homebuilding. The header sits between two king studs and bears on one or more jack studs at each side of the opening; cripples sit at the on-center positions where full studs would have been; the rough sill sits between the jacks; bottom plates are single boards.. Checked November 10, 2026
- [3]Advanced Framing Construction Guide. APA – The Engineered Wood Association. Conventional three-stud corners against two-stud corners with drywall clips or ladder blocking; one pair of king studs and one pair of jack studs per opening, cripples only at on-center spacing.. Checked November 10, 2026
- [4]JLC Field Guide: Wall Framing (2023-01-01). Journal of Light Construction. Exterior load-bearing studs should not be more than 10 ft high without being engineered.. Checked November 10, 2026
- [5]Tafelbau/Rahmenbau (S. Krötsch). BauNetz Wissen. Timber frame studs (Ständer) are mostly at 62.5 cm on center so the sheathing goes on with little waste; studs from KVH, e.g. 60/120 mm for interior load-bearing walls.. Checked November 10, 2026
Formulas and sources last checked on November 10, 2026. How we calculate