Construction calculators

Stud Calculator

Updated Nov 12, 2026 By Infinity Calculator Formulas Sources
Rate

Wall Sections
Wall 1

Openings (Doors & Windows)


Framing Material Estimate
Stud Summary
Total Wall Length20.00 ft
Wall Height8.00 ft
Regular Studs16
Wall End Studs0 (extra)
Corner Extra Studs0
T-Intersection Studs0
King Studs0
Jack (Trimmer) Studs0
Cripple Studs0
Studs Before Waste16
Waste Factor10%
Total Studs Needed18
Plate & Header Summary
Bottom Plate Length20.00 ft
Top Plate Length40.00 ft
Total Plate Length60.00 ft
Plate Boards (8 ft)8
Plate Boards (10 ft)6
Plate Boards (12 ft)5
Header MaterialNone
Stud Size2×4
Wall Framing Diagram

Introduction

The Stud Calculator helps you figure out how many studs you need for a wall. When framing a wall, studs are the vertical boards that make up the wall's structure. They are usually spaced 16 inches or 24 inches apart, measured from center to center. Getting the right stud count before you start building saves you time and money at the lumber yard. This tool takes your wall length and stud spacing, then works out how many studs you need. It also accounts for the extra stud you need at the end of the wall and any additional studs required for corners or openings. This calculator gives you a quick and accurate stud count so you can plan your framing project with confidence.

How to Use Our Stud Calculator

Enter the details of your wall and this calculator will tell you how many studs you need for your framing project.

Wall Length: Type in the total length of the wall you plan to frame. This is the distance from one end of the wall to the other. You can enter this in feet or inches.

Stud Spacing: Choose how far apart you want your studs to be. The most common spacing is 16 inches on center, but 24 inches on center is also used. On center means the distance from the middle of one stud to the middle of the next.

Wall Height: Enter how tall your wall will be. A standard wall height is 8 feet, but some homes use 9-foot or 10-foot walls. The calculator shows it in the results and the framing diagram, and checks that each opening is shorter than the wall.

Corners and T-Intersections: Enter how many corners your wall layout has, and how many places one wall meets the middle of another. Corners need extra studs to give the framing proper support and a nailing surface for drywall. The calculator adds 3 studs for each corner and 3 for each T-intersection.

Openings: Click Add Opening for each door or window size. Choose Door or Window, then enter the rough opening width and height and how many openings of that size the wall has. For each opening the calculator adds one king stud and one jack stud on each side, cripple studs above a door or above and below a window, and header material.

Wall End Studs: Choose how many studs stand at each end of every wall section. Leave it at 1 when you count corners and T-intersections in their own boxes, so the studs where walls meet are not counted twice.

Waste Factor (%): Enter a percentage for extra studs to cover mistakes, damaged boards, or bad lumber. A waste factor of 10% to 15% is a good rule of thumb for most framing jobs.

What Is a Stud Calculator?

A stud calculator helps you figure out how many studs, plates, and headers you need to frame a wall. Instead of doing math by hand on the job site, you enter your wall height, wall length, and stud spacing, and the calculator gives you an accurate material list. This saves time, reduces waste, and helps you buy the right amount of lumber before you start building.

How Wall Framing Works

A framed wall is made up of vertical boards called studs that run between a horizontal bottom plate (also called a sole plate) on the floor and one or two top plates at the ceiling. The studs are spaced at regular intervals, measured from the center of one stud to the center of the next. This measurement is called on-center spacing, and the most common values are 16 inches and 24 inches on-center.

Most residential walls use 2×4 studs spaced 16 inches on-center. Load-bearing walls or walls that need extra insulation depth may use 2×6 studs, and our Insulation Calculator can determine how much insulation you need to fill those stud bays. Under the IRC, nonbearing 2×4 partition walls may use 24-inch spacing, which saves material.1

Key Framing Components

  • Regular studs: The evenly spaced vertical boards that make up the main body of the wall.
  • End studs: The studs at each end of a wall. Exterior wall corners are usually framed with three studs, and the third stud mostly gives the drywall inside the corner a nailing edge.2
  • Top plate: The IRC requires a double top plate on load-bearing stud walls, which means two boards stacked on top of each other along the full length of the wall.1 This ties the wall together and helps transfer roof loads evenly. A single top plate is allowed when it is tied with metal ties at corners, intersecting walls and splices, and the rafters or joists above sit centered over the studs to within 1 inch.1
  • Bottom plate: A single board that runs along the floor. It gets nailed or bolted to the subfloor or concrete slab.
  • King studs: Full-height studs on each side of a door or window opening. They carry loads from the header down to the bottom plate.
  • Jack studs (trimmers): Shorter studs that sit inside the king studs and directly support the header above a door or window.
  • Cripple studs: Short studs above a header or below a window sill that maintain the regular stud spacing and support the wall covering.
  • Headers: Horizontal beams above doors and windows that carry the load across the opening. They are typically made from doubled-up lumber. Nonbearing walls do not need a load-bearing header, and in them a single flat 2×4 can serve as the header over an opening up to 8 feet wide when the nailing surface above it is no more than 24 inches higher.1

Corners and T-Intersections

Where two walls meet at a corner, extra studs are needed to provide structural support and a surface to attach drywall on the inside corner. A standard corner assembly uses two to three extra studs. Exterior corners are traditionally framed with three or more studs, and two-stud corners that hold the drywall with clips are also built.2 A T-intersection is where an interior wall meets another wall in the middle. This also requires extra backing studs (usually two or three), or horizontal blocking, so the drywall on both sides has something to nail to, and you can estimate how much of that drywall you need with our Drywall Calculator.

Why Include a Waste Factor?

Lumber is not always perfect. Some boards will be warped, cracked, or have large knots that make them unusable. Cuts around openings create offcuts that may be too short to reuse. A waste factor of 10% is a common allowance for most framing projects. If you are working with lower-grade lumber or a complex layout with many openings, bumping it up to 15% is a smart choice. Simple walls with few cuts can get by with 5%.

Common Wall Heights and Stud Lengths

Standard wall height in most homes is 8 feet. Pre-cut studs sold at lumber yards are 92⅝ inches long. With one bottom plate and a double top plate (1½ inches each), the framed wall stands 97⅛ inches tall, which leaves room for the ceiling drywall above an 8-foot (96-inch) wall sheet. For 9-foot and 10-foot ceilings, you will need longer studs: typically 104⅝-inch and 116⅝-inch pre-cuts, or full-length 10- and 12-foot boards trimmed to size.

Tips for Accurate Estimates

Measure each wall section separately rather than guessing a total length. Add each door and window as its own opening with the correct rough opening size, not the finished door or window size. For a door, the rough opening is usually about 2 inches wider and 2 inches taller than the door itself. For a window, use the rough opening size the window maker lists. Double-check your stud spacing against your local building code, since load-bearing and exterior walls often have stricter requirements than interior partitions.


Formulas used

Regular Studs (per wall)
S_{\text{regular}} = \left\lceil \frac{L}{d} \right\rceil + 1
End Extra Studs
S_{\text{end}} = N_{\text{walls}} \times 2 \times (n_{\text{end}} - 1)
Corner & T-Intersection Extra Studs
S_{\text{corner}} = 3\,N_{\text{corners}}, \quad S_{\text{T}} = 3\,N_{\text{T}}
Cripple Studs per Opening
S_{\text{cripple}} = \max\!\left(1,\; \left\lfloor \frac{w}{d} \right\rfloor\right) \times \begin{cases} 2 & \text{window} \\ 1 & \text{door} \end{cases}
Total Studs Before Waste
S_{\text{sub}} = \max\!\left(0,\; \sum S_{\text{regular}} - \sum_{\text{openings}} \max\!\left(0,\; \left\lfloor \frac{w}{d} \right\rfloor - 1\right)\right) + S_{\text{end}} + S_{\text{corner}} + S_{\text{T}} + 2\,N_{\text{openings}} + 2\,N_{\text{openings}} + S_{\text{cripple}}
Total Studs (with Waste)
S_{\text{total}} = \left\lceil S_{\text{sub}} \times \left(1 + \frac{W\%}{100}\right) \right\rceil
Plate Lengths
L_{\text{plate}} = L_{\text{total}} + L_{\text{total}} \times n_{\text{top}}
Plate Boards Needed
B_{n} = \left\lceil \frac{L_{\text{plate}}}{n} \right\rceil, \quad n \in \{8,\,10,\,12\} \text{ ft}

Frequently asked questions

How many studs do I need per foot of wall?

With standard 16-inch on-center spacing, you need 3 studs for every 4 feet of wall, plus 1 for the starting end. So a 10-foot wall (120 inches) needs 120 ÷ 16 = 7.5, rounded up to 8, plus 1 = 9 studs. With 24-inch spacing, you need 1 stud for every 2 feet, plus 1. This does not include extra studs for corners, openings, or waste.

What is the difference between 16-inch and 24-inch on-center spacing?

16-inch on-center is the most common spacing for load-bearing walls and exterior walls. 24-inch on-center uses fewer studs but gives less support for heavy items like cabinets or wall-mounted TVs.

Under the IRC, a load-bearing 2×4 wall may use 24 inches when it carries only a roof and ceiling, but no more than 16 inches when it also carries a floor.1 A 2×6 bearing wall may use 24 inches under a roof and one floor.1 These bearing-wall limits are for studs up to 10 feet tall between points of lateral support, and 2×4 studs that carry a habitable attic are limited to a roof span of 32 feet.1 Nonbearing 2×4 and 2×6 walls may use 24 inches.1

What size studs should I use for my wall?

Use 2×4 studs for most interior walls and standard exterior walls. Use 2×6 studs for exterior walls that need more insulation depth or for load-bearing walls that carry heavy roof or floor loads. 2×3 studs are sometimes used for thin partition walls. The IRC allows them in interior nonbearing walls but not in exterior walls.1

Do I need a single or double top plate?

The IRC requires a double top plate on load-bearing stud walls.1 The two boards overlap at corners and at intersections with bearing partitions to tie the framing together.1 A single top plate is allowed on interior nonbearing walls, and on other walls when it is tied with metal ties at corners, intersecting walls and splices, and the rafters or joists above sit centered over the studs to within 1 inch.1 If you are not sure, go with a double top plate. It is the standard for residential framing.

What are king studs and jack studs?

King studs are full-height studs that sit on each side of a door or window opening. They run from the bottom plate all the way to the top plate. Jack studs (also called trimmers) are shorter studs that fit inside the king studs and directly hold up the header beam above the opening. The IRC requires one or more jack studs at each end of a header, and sets the minimum number of full-height studs at each end by the header's span.1 Where the header tables call for one jack stud, an approved framing anchor fastened to the full-height stud and the header may take its place.1 Longer or more heavily loaded headers can need two, three or four jack studs at each end.1

What are cripple studs?

Cripple studs are short studs that fill in the spaces above a door header, above a window header, or below a window sill. They keep the regular stud spacing consistent so your drywall and sheathing have proper nailing support. Cripple studs above a header bear on the header.1 In a load-bearing wall, that means they carry the weight from above down onto the header.

How do I account for door and window openings?

Click the Add Opening button in the calculator, then choose door or window. Enter the rough opening width and height, not the finished door or window size. For a door, the rough opening is usually about 2 inches wider and 2 inches taller than the door. For a window, use the rough opening size the window maker lists. The calculator will then add the king studs, jack studs, and cripple studs needed for each opening.

How much waste factor should I add?

A 10% waste factor works well for most framing projects. Use 5% for simple, straight walls with few openings and high-quality lumber. Use 15% for complex layouts with many doors and windows, or if you are using lower-grade lumber that may have more warped or damaged boards.

What does on-center mean?

On-center (O.C.) means the distance is measured from the center of one stud to the center of the next stud. So 16 inches on-center means there are 16 inches between the middle of one stud and the middle of the next one. The actual gap between the studs is smaller, about 14.5 inches for 2×4 studs at 16-inch spacing.

How do I calculate plate boards needed?

The calculator adds up all your wall lengths for the bottom plate, then multiplies by your top plate count (1 or 2) for the top plates. It then divides the total plate length by standard board lengths (8, 10, or 12 feet) to tell you how many boards to buy. Pick the board length that best fits your wall sections to reduce waste and the number of joints.

What is the difference between a partition wall and a load-bearing wall?

A partition wall just divides space. It does not hold up anything above it. It can use lighter framing like single end studs and sometimes 24-inch spacing. The IRC lets it use 24-inch stud spacing, a single top plate and no load-bearing headers.1 A load-bearing wall supports the weight of the roof, upper floors, or both. Its stud spacing has a code limit: under the IRC, a 2×4 bearing wall that also carries a floor may not exceed 16 inches on center.1 It also needs proper headers over its openings.1

How do I know what wall end stud option to pick?

Choose 1 stud for most walls, and count the places where walls meet in the Corners and T-Intersections boxes. Choose 2 studs or 3 studs only if you leave those boxes at 0 and want the extra studs added at both ends of every wall section instead. Using both counts the same corner twice.

What is a T-intersection in framing?

A T-intersection is where one wall ends into the middle of another wall, forming a T shape. This happens when an interior wall meets an exterior wall or another interior wall. Each T-intersection needs 2 to 3 extra studs to provide backing and a nailing surface for drywall on both sides of the intersecting wall. Horizontal ladder blocking can take the place of two of them.


Sources

  1. 2024 International Residential Code (IRC), Chapter 6: Wall Construction. International Code Council. § R602.3.2, § R602.5, § R602.7.5, Table R602.3(5). Accessed September 26, 2026.
  2. Advanced Framing: Insulated Corners. Building America Solution Center. Pacific Northwest National Laboratory. 2022;Description; Technical Description. Accessed November 12, 2026.