Skip to content
Woodwork Calculator

Framing Calculator

Enter the wall and its doors and windows. You get studs, plates, king and jack studs, cripples and header lengths, with the layout drawn stud by stud.

Your numbers

in

Feet and inches like 14' or 14' 6, or plain inches.

in

Subfloor to the top of the double top plate.

Doors and windows

Rough opening sizes. Position is from the wall's left end to the opening.

    More options
    studs

    2 for a three-stud corner, 0 if the wall butts into another.

    walls

    Each intersecting wall adds 2 studs for backing.

    %
    Studs to buy—
    Plate 07The wall in elevation, laid out from the left end. Headers and sills are tinted; ticks under the plate are your layout marks.
    Plate stock—
    Headers—
    Linear feet—

    Stud count

    Common studs on layout—
    Corner and end studs—
    Backing for tee walls—
    King studs—
    Jack studs—
    Cripples—
    Studs, net—
    Stud length—

    Plates and headers

    Plates, 1 bottom + 2 top—
    16 ft plate stock—

    Header lengths assume one jack stud each side. Size each header from IRC Table R602.7, which also says how many jacks it needs.

    How the framing calculator counts a wall

    A wall is a repeating pattern with interruptions. The calculator lays out studs from the left end at your spacing, the same way you'd mark the plates with a tape. Wherever a door or window lands, the layout studs inside the opening turn into cripples, and each opening gets a king stud and a jack stud on both sides plus a header across the top.

    layout studs = round up (wall length ÷ spacing) + 1
    plates = wall length × 3
    stud length = wall height − 4 1/2″
    header length = rough opening width + 3″

    Take a 14-foot wall at 16″ on center with no openings. 168 ÷ 16 = 10.5, which rounds up to 11 spaces, so 12 studs. Add 2 for a three-stud corner at each end and you're at 16. The plates are 3 × 14 = 42 linear feet, which is three 16-footers with a little left over. Put a door and a window in that wall, as in the default example, and the count shifts: a few layout studs disappear, kings and jacks show up, and cripples fill in above and below.

    Laying out the plates

    The calculator assumes standard layout: hook your tape on the end of the plate, mark every 16″ (or your spacing), and put the stud centered on the mark. In practice most framers pull the first mark back 3/4″, so 15 1/4″ to the edge of the first stud, then 16″ to each edge after that. Either way, sheet edges land in the middle of a stud, which is the whole point.

    • Tack the top and bottom plates together and mark both at once. The studs come out plumb because the marks match.
    • Mark openings before layout. Draw the king, jack and rough opening on the plates, then mark your layout through them. Studs that fall inside become cripple marks.
    • Crown every stud the same way. Sight down each one and keep the crowns facing out. A wall with mixed crowns makes wavy drywall.

    Doors, windows and rough openings

    Always frame to the rough opening the manufacturer lists, not the door or window size. A 36″ prehung door usually wants a rough opening about 2″ wider and a bit taller than the slab, and windows list theirs on the spec sheet. Enter those numbers and the calculator puts the jacks right at the edge of the opening.

    For doors, the bottom plate runs straight through while you build and gets cut out after the wall is standing. The plate number here counts it as one continuous piece, which is how you'll buy it.

    What the stud count doesn't include

    It covers the wall itself. Plan separately for blocking (fire blocking where your code requires it, backing for cabinets, grab bars and TV mounts), sheathing, and any posts or point loads in the plans. Those vary too much from wall to wall to guess at. A 10% waste allowance covers the usual twisted or split studs at the bottom of the pile.

    Once the walls are up, the rafter length calculator handles the roof, and the roof pitch calculator converts whatever pitch the plans give you.

    Questions people ask

    How many studs do I need for a wall?

    For a plain wall, divide the length in inches by the stud spacing, round up, and add one. A 14-foot wall at 16″ on center is 168 ÷ 16 = 10.5, rounded up to 11, plus 1 = 12 studs. Then add two for each corner, two for each wall that tees in, and the king, jack and cripple studs around doors and windows. The calculator does all of that from your openings.

    Is this a stud calculator for 24-inch spacing too?

    Yes. Pick 12, 16, 19.2 or 24 inches on center. Spacing at 24″ uses fewer studs, but check that your sheathing, drywall and siding are rated for it, and that the wall isn't carrying more load than 24″ framing allows in your area.

    What length studs do I buy for an 8-foot wall?

    Precut studs at 92 5/8″. With a single bottom plate and a double top plate (three layers of 1 1/2″), the wall comes out 97 1/8″ tall. That leaves room for 8-foot drywall sheets plus a little space at the floor. For 9-foot walls the matching precut is 104 5/8″, for 10-foot walls 116 5/8″.

    How do I size a header?

    Header size depends on the opening width, the building width, what the wall carries (roof only, or roof plus floors) and your snow load. The IRC has header span tables for this in section R602.7, and they also list how many jack studs each header needs. This calculator gives header lengths and counts, not sizes. Use the tables, ask your lumber yard, or get an engineer for anything unusual.

    What is the difference between a king stud, a jack stud and a cripple?

    The king stud runs full height from plate to plate beside an opening. The jack (or trimmer) is nailed to the king and holds up the header. Cripples are the short studs that keep your layout going above a header and below a window sill, so the drywall and sheathing still have something to nail to.

    Why does the plate count say three times the wall length?

    Most walls have one bottom plate and two top plates. The second top plate overlaps the joints of the first and ties intersecting walls together. If your plans call for a single top plate with metal ties, the plate number drops by a third.

    Put this calculator on your site

    Lumber yards, sawmills and woodworking blogs are welcome to embed it for free. Paste the code into any page; it loads the calculator only, without our header or articles.