Stud Calculator

Quick answer

A stud calculator estimates how many wall studs and how much plate stock you need for a framed wall. Enter the wall length, height, spacing, number of corners and openings, and the tool returns the stud count and plate footage. A 20-foot wall at 16 inches on center with 2 corners and 2 doors needs about 26 studs and 60 linear feet of plates.

Updated 2026-10-17By Shakeel Muzaffar | Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Your details
Lumber, Framing and Carpentry
ft
The total wall length in feet.
Standard wall height. 8 and 9 foot walls use pre-cut studs.
16 inches is standard for load-bearing walls. 24 inches is allowed for non-bearing walls or bearing walls supporting only a roof.
Number of corner ends in this wall. Each adds one extra stud.
Number of door openings. Each adds 2 king studs and 2 jack studs (trimmers).
Number of window openings. Each adds 2 king studs and 2 jack studs.
/stud
Cost of one stud at your supplier. Leave blank to skip cost.
Your results

Total studs

—
Field studs—
Opening extras (king + jack)—
Plate stock needed—
Estimated cost—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)
Calculator GuideMethod, worked examples, factors and FAQ
How this calculator works1Your inputs2Verified formulameasurementfactor3Result
How it works: your measurements run through a verified formula to give the result.

How to Use the Stud Calculator

  1. Enter the wall length in feet.
  2. Pick the wall height (8, 9 or 10 ft).
  3. Pick the stud spacing (16 or 24 in OC).
  4. Enter the number of corners, doors and windows.
  5. Optionally enter the price per stud for a cost estimate.
  6. Read the stud count, plate footage and cost.

Here is what each result line means:

ResultWhat it means
Total studsAll studs needed: field, corners and opening extras.
Field studsThe on-center studs along the wall, including both ends.
Opening extrasKing and jack (trimmer) studs for doors and windows (4 per opening).
Plate stockLinear feet of lumber for the bottom plate and double top plate.

For the cost of those studs by board foot, see the rebar weight calculator and the concrete formwork calculator.

What Is a Stud Calculator?

A stud calculator converts a wall length, spacing and opening count into the number of framing studs you need to buy. It also tells you how many linear feet of plate lumber the wall requires for the bottom and double top plates.

Carpenters, DIY builders and estimators use it to build a lumber list before going to the yard.

How the Stud Calculator Works

Stud count
Studs = Ls + 1 + C + 4O

L is the wall length in feet, s is the spacing in feet (16 in = 1.333 ft, 24 in = 2 ft), C is the number of corner posts and O is the number of openings (doors plus windows). Each opening adds 2 king studs and 2 jack studs.

  1. Divide the wall length by the spacing in feet and round up.
  2. Add 1 for the end stud.
  3. Add 1 per corner post.
  4. Add 4 per door or window opening (2 king + 2 jack).
  5. Multiply wall length by 3 for the plate stock (1 bottom + 2 top).

Stud Calculation Example

You are framing a 20-ft exterior wall at 16 inches on center, with 2 corner posts and 2 door openings.

Worked example: 20-ft wall, 16 in OC, 2 corners, 2 doors
Studs = 201.333 + 1 + 2 + 42 = 15 + 1 + 2 + 8 = 26

Calculation: field studs = ceil(20 / 1.333) + 1 = 15 + 1 = 16. Corner extras = 2. Opening extras = 2 doors x 4 = 8. Total = 16 + 2 + 8 = 26 studs. Plates = 20 x 3 = 60 linear feet.

At $4.50 per stud, the stud cost alone is 26 x $4.50 = $117.

Factors That Change Stud Count

Spacing

Switching from 16 to 24 inches OC cuts the field stud count by about one-third, saving material on non-bearing walls.

Corners

Each corner post typically uses one extra stud beyond the field layout. Some codes require two- or three-stud corners for drywall nailing.

Openings

Each door or window adds at least 4 extra studs (2 king, 2 jack). Wide openings over 5 feet may need additional jack studs.

Intersecting Walls

A T-intersection where another wall meets this one adds 1 to 3 extra studs for backing.

Headers

The calculator counts king and jack studs but not the header lumber itself. Add that to your order separately.

Stud Cost Comparison by Spacing

The table below compares stud counts and costs for a 20-foot wall with 2 corners and 2 doors at different spacings.

SpacingField studsTotal studsCost at $4.50
16 in OC1626$117
24 in OC1121$94.50

The 24-inch layout saves 5 studs and about $22.50 on a single 20-foot wall.

When to Use a Stud Calculator

New Construction

Build a lumber list for every wall in the floor plan.

Garage or Shop

Estimate studs for a detached structure with simple walls and few openings.

Basement Finishing

Count studs for partition walls at 16 or 24 inches on center.

Bid and Estimate

Price the framing package for a client proposal.

Common Mistakes with Stud Estimates

1. Forgetting Opening Extras

King and jack studs are easy to miss. Each opening adds 4 studs beyond the field layout.

2. Using the Wrong Spacing for Bearing Walls

Load-bearing walls typically require 16-inch spacing. Using 24-inch on a bearing wall can fail inspection.

3. No Waste Allowance

Add 10 percent for bowed, twisted or damaged studs. Pre-cut studs are better but still have culls.

4. Ignoring Intersecting Walls

Every T-intersection needs backing studs that the basic formula does not count.

5. Mixing Stud Lengths

A 92-5/8 stud fits an 8-foot wall, not a 9-foot wall. Ordering the wrong length means cutting or reordering.

Accuracy and Limitations

The calculator uses the standard formula for platform framing with one extra stud per corner and 4 per opening. Complex layouts with many intersections, balloon framing or advanced framing need a detailed take-off.

What it calculates

  • Field, corner and opening studs
  • Plate linear footage
  • Cost estimate

What it does not do

  • Count header or cripple lumber
  • Handle T-intersections
  • Size the header for each opening
  • Account for advanced framing techniques

How We Calculate Studs

Method
Field = ceil(wall_ft / spacing_ft) + 1. Total = field + corners + 4 per opening. Plates = length x 3.
Inputs used
Wall length, height, spacing, corners, doors, windows, price per stud.
Constants
16 in = 1.333 ft; 24 in = 2 ft. 4 extra studs per opening (2 king + 2 jack). 3 plates per wall (1 bottom + 2 top).
Rounding
Field studs rounded up to next whole number.
Edge cases
Zero openings or corners returns field studs only. Blank price skips cost.
Sources
See the Sources list below.
Last reviewed
2026-10-24.

Frequently Asked Questions About Stud Calculations

How many studs do I need for a 10-foot wall?

At 16 inches on center with no openings or corners: ceil(10/1.333) + 1 = 8 + 1 = 9 studs. Add extras for corners and openings.

What is the difference between 16 and 24 on center?

16-inch spacing puts studs closer together for more strength, required on most bearing walls. 24-inch saves material and is allowed on non-bearing walls or bearing walls supporting only a roof.

What is a king stud?

A full-height stud that runs from the bottom plate to the top plate, positioned on each side of a door or window opening to carry the header.

What is a jack stud?

A shorter stud (trimmer) that runs from the bottom plate to the underside of the header, directly supporting the header. Each opening has at least one jack stud on each side.

How long is a pre-cut stud?

92-5/8 inches for an 8-foot wall and 104-5/8 inches for a 9-foot wall. These lengths, combined with three 1.5-inch plates, produce the standard wall height.

Why do I need a double top plate?

The double top plate ties walls together at corners and intersections and distributes the load from above. The IRC requires it in standard platform framing.

Should I add waste?

Yes. Add about 10 percent for bowed, twisted or split studs that cannot be used.

Does this count header lumber?

No. The calculator counts king and jack studs but not the header beams or cripple studs. Order header lumber separately based on the opening width.

Can I frame a bearing wall at 24 inches?

Only if it supports a roof and ceiling and no floor above, per IRC Table R602.3(5). Most bearing walls under a second floor need 16-inch spacing.

Is my data saved?

No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.

Sources
Reviewed and sourcedClear, comparable resultsReviewed and sourced
Every figure is checked against cited sources and reviewed by a qualified expert.

Related Calculators

This calculator gives a material estimate for standard platform framing. Actual stud counts depend on the floor plan, intersecting walls and local code. Add 10 percent for waste and culls. Spotted an error? Let us know.