Calculator example · Carpentry

Studs for a 20 ft interior basement wall with one door

One straight wall across a basement, with a door in it, takes 20 studs. Most of them are set by the spacing; a fifth come from the single door, which is the share of a stud count people forget.
  • 20 studsThe answer
  • 4Steps shown
  • US, imperial firstWritten for

The job

Modelled, not recorded. Every figure here is the answer the Framing Stud Calculator gives for these inputs, written down in both unit systems and re-run whenever the site is built. No job was carried out, so there is no measured overrun on this page.

The wall divides an unfinished basement into a family room and a storage room: one straight run of 20 ft (6.1 m), floor to joists, with a single interior door. It is not a load-bearing wall and is framed in standard dimensional lumber on a bottom plate fastened to the slab and a top plate fastened to the joists above.

The spacing is 16 in (standard), the calculator's default and the spacing most interior walls are framed at, because drywall, insulation and electrical boxes are all made to suit it. The wider spacing that the calculator offers as its other option is run in the section on changing the job.

The door is entered as one opening. The calculator does not ask how wide it is: it adds a fixed set of extra studs for every opening, a full-height king stud and a jack stud on each side, so a closet door and a wide pocket door count the same. Its first source gives the base count; the opening allowance is the calculator's own rule, and it is worth seeing where it sits.

Open this job in the calculator

The inputs, exactly as entered

Every input the calculator takes for this job, and why it is what it is
InputValueWhy
Wall Length20 ft (6.1 m)Measured along the slab where the bottom plate will sit, end to end, not along the joists above, which may not run square to the wall.
Stud Spacing (on-center)16 in (standard) (400 mm (~16 in, standard))Left at the calculator's own default.
Number of Doors/Windows1Left at the calculator's own default.

The working, step by step

  1. 1. Whole bays at the spacing entered

    15

    The calculator first sees how many full spacings fit in the wall: 15 bays from one end to the other. A bay is the space between two studs, and it is the unit an installer of insulation or drywall thinks in, so it is worth knowing before the first stud is cut.

  2. 2. Short bay left at the end of the wall

    0 in (0 mm)

    Whatever is left over after the whole bays is a short bay at the far end, which still needs a stud to close it: 0 in on this wall. This length happens to divide exactly by the spacing, which is rarely true on a real wall and is why the row exists.

  3. 3. Regular-spacing studs

    16 studs

    One stud for every bay plus the closing stud at the end gives 16 studs, the count the calculator's first source describes: length over spacing, plus one. Corners and the place where this wall meets another wall are not part of it, because they belong to the junction rather than the run.

  4. 4. Extra studs for openings

    4 studs

    The door adds 4 studs: a king stud and a jack stud on each side, the jacks being the ones the header sits on. They are added on top of the spacing count, and the studs the opening displaces are not taken out, which keeps the count on the safe side; the short cripples over the header are left out of it.

Studs needed

20 studs

The order is 20 studs, cut to the wall's height or bought as precut studs if the ceiling height suits one of the lengths the yard stocks. The calculator counts studs only: the bottom and top plates, the header over the door, the short cripples above it and any blocking are separate pieces and a separate count. Framing lumber is never perfectly straight, so picking through the pile, or buying a few extra to reject the crooked ones, is a judgement the calculator leaves to you.

What to buy

The quantities this job comes to, and what each is for
QuantityFigureWhat it is for
Studs needed20 studsStuds for the run and the door, in the wall's height; plates and the header are counted separately.

The allowance, and what it does here

There is no waste input on this calculator. A stud is a whole piece, so the count is already rounded at every step, and the allowance a framer adds is for bad lumber rather than offcuts: the bowed, twisted or split stud that is set aside. That depends on the yard and the grade, not on the wall, so the calculator leaves it out and the reader decides how many spares to add.

The common mistake

Counting the spacing and forgetting the openings

The simple rule, one stud per spacing plus one, is the rule everyone remembers, and on a wall with no openings it is the whole answer. Every door or window adds several studs that the rule does not see: on this wall the one door adds a quarter as many again as the spacing count, and a wall with three openings adds more than half again. A framer who counts only the spacing stops halfway through the last opening. Enter every opening, including the closet door that seems too small to matter.

Change the job, and see what moves

  • The same wall, framed at the wider spacing

    Stud Spacing (on-center): 24 in (advanced framing) (600 mm (~24 in, advanced framing)) → 15 studs

    Frame the same wall at 24 in (advanced framing), the calculator's other option, and the count drops to 15 studs. The wider spacing saves studs only in the run; the door still needs its full set, so the saving is smaller than the change of spacing suggests, and the drywall and insulation must suit the wider bays.

  • The same wall, with a door and two windows

    Number of Doors/Windows: 3 → 28 studs

    Put a door and two windows in the same wall and the count rises to 28 studs. The run is unchanged; all of the increase is the openings, 12 studs of them, which is why a wall with several openings can take more lumber than a longer wall with none.

What to run next

Sources

The method and every constant behind these figures belong to the Framing Stud Calculator, version 1.0.1, last verified 2026-09-05. It rests on:

  • Standard residential wall framing uses studs spaced 16 in or 24 in on-center; stud count = (wall length / spacing) + 1

Frequently asked questions

How many studs for a 20 ft wall?
At 16 in (standard) with one door, the calculator gives 20 studs: 16 studs for the run and 4 studs for the door. Plates and the header are extra pieces.
How many extra studs does a door need?
The calculator adds 4 studs for each opening, whatever its width: a king stud and a jack stud on each side. The cripples above the header are not in the count.
Does framing at the wider spacing save much lumber?
On this wall it saves the difference between 20 studs and 15 studs. The openings still need their full set, so the saving is all in the run.