Stud Count Calculator

Enter the wall length and stud spacing to count the studs you need.

How it is calculated

base = floor(length × 12 ÷ spacing) + 1 and studs = base + 2. Length is the wall length in feet (multiplied by 12 to get inches) and spacing is the on-center distance in inches; if spacing is empty it defaults to 16. The floor drops any partial gap, so a wall that does not divide evenly gets no extra stud for the leftover bit. The final +2 is a flat allowance for end or corner studs and openings: it is not computed from your actual corners, doors or windows. Length and spacing must be above zero. The count is for one straight wall, and spacing standards differ by country and building code.

Worked example

A wall 20 ft long with studs at 16 in on center. Length in inches = 20 × 12 = 240. Gaps = 240 ÷ 16 = 15. Base studs = 15 + 1 = 16. Add the flat 2 for ends and corners: 16 + 2 = 18 studs. The tool shows 18 studs, with a base of 16 studs at 16 in O.C.

Try this example →

Common mistakes

  • Entering the wall length in inches. The length field is feet, so 240 would be treated as a 240-foot wall.
  • Entering spacing as 1.33 feet or 40 cm: the field is inches, and on-center means centre to centre, not the clear gap between studs.
  • Treating the +2 as a full allowance for doors and windows. Each opening needs its own king and jack studs and a header, which this count does not model.
  • Adding corner studs by hand without noticing the result already includes two extra studs.
  • Counting studs for a wall length that includes a corner overlap, then summing walls: adjacent walls share a corner, so the totals overlap.

About this calculator

In standard wood-frame construction, wall studs are placed at a fixed on-center spacing — typically 16 inches in most US residential framing, sometimes 24 inches for lighter loads — so that drywall sheets and sheathing panels land squarely on a stud edge for fastening. The basic count is the wall length divided by the spacing, plus one extra stud to close out the run, and framers add further studs at corners, wall intersections, and around window and door openings (king and jack studs).

Carpenters and framing contractors run this calculation to order the right amount of lumber before a job starts, and DIY builders use it when framing a new interior wall, since under-ordering means a mid-project lumber run and over-ordering wastes material and money. This calculator takes your wall length in feet and stud spacing in inches and shows the basic count, plus a total that adds a flat two extra studs for the ends, corners and openings. Walls with many corners, intersections or openings will need more than that.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Counting starts from a wall's length, so treat each wall separately and add the totals, then remove the corner studs that two walls share. Twenty-four inch spacing needs fewer studs than sixteen, but whether it is allowed depends on the wall's load, sheathing and local code, so confirm with your plans. Which parts of a wall, such as doors, windows or partitions, would you like the count to handle?

Popular calculators

All Calculators