Use this free wall stud calculator to estimate regular studs along a straight wall run. Enter the length and maximum on-center spacing to find the stud count and the equal spacing between them.
Construction calculator
Wall Stud Calculator
Calculate the number of studs and the spacing for a straight wall run, including a stud at each end.
For stud counts and spacing on your phone, download Unit Converter free. Its Construction Calculator includes a Studs tool.
How to use this tool
- Choose the units for Wall length and Maximum on-center spacing, then enter both measurements.
- Click Calculate to see the stud count, number of spaces and Actual equal spacing. The count includes a stud at each end of the run.
- Choose Spacing and length units for the displayed measurements. The tool spreads spaces evenly; the entered spacing is their maximum.
What are wall studs?
Studs are the upright members in a wall frame. They run between the horizontal bottom and top plates, giving the wall its shape and providing fixing points for drywall, sheathing and other finishes. Together, these vertical and horizontal members form the basic framework described in Home Depot’s guide to framing a wall.
A wall stud calculator helps estimate the regular studs along a straight run. The count depends on the run’s length and the maximum spacing between studs. Those measurements also determine how many spaces fit between the two ends.
What does on-center spacing mean?
On-center spacing is the distance from the center of one stud to the center of the next. It is often abbreviated as OC or O.C. on framing drawings. Measuring from centers gives a consistent layout reference even though each stud has a physical width.
The clear space between neighboring studs is smaller. With equal-width studs, subtract the actual width of one stud from the center spacing to find the opening between their faces:
Clear space = center spacing − stud width
Here, stud width means the dimension occupied along the wall run, not the depth of the wall. This distinction matters when measuring an opening for insulation, blocking or another piece that must fit between the studs.
How the stud count is calculated
A row of studs has one more stud than spaces: each space shares a boundary with the next, and a stud closes off each end of the run. First divide the run length by the maximum spacing. Round that quotient upward to a whole number of spaces, then add the final stud:
Number of spaces = ceiling(run length ÷ maximum spacing)
Stud count = number of spaces + 1
“Ceiling” means the smallest whole number at least as large as the quotient. A whole-number quotient stays unchanged; a fractional quotient rounds up. Rounding down would leave too few spaces to cover the run without exceeding the chosen maximum. Both measurements must use the same length unit in this calculation.
The length here spans the first and last stud positions. For a center-to-center layout, those positions are the end studs’ centerlines, as shown in the tool’s diagram. An outside-to-outside wall measurement also includes the portions of the end studs beyond those centerlines.
Maximum spacing and actual equal spacing
After finding the number of spaces, dividing the run evenly gives the actual spacing:
Actual equal spacing = run length ÷ number of spaces
If the maximum spacing divides the run exactly, the actual spacing equals that maximum. Otherwise, the spaces become slightly smaller so that they all match and both end positions stay fixed. The result is an evenly distributed layout whose spacing does not exceed the entered limit.
In wall framing, an evenly divided run and a repeating panel layout serve different purposes. Sheet joints need suitable support, so framing is often set out to a fixed module that matches the sheet dimensions. That layout may finish with a shorter space at the end instead of spreading the difference across every space. Consider where the panel edges will land before transferring an equal-spacing result to the plates.
From regular studs to a complete framing list
Doors, windows, corners and intersecting walls have their own framing details. An opening can require full-height studs beside it, supports beneath its header and short studs above or below it. Removing the opening’s width from a regular stud estimate does not account for those pieces.
Include the top and bottom plates, corner backing and horizontal blocking when preparing the complete material list. The BC Carpenter training guide describes counting framing members from a detailed layout so that openings and connections are included. A regular stud count provides the starting run; the drawing shows which additional pieces belong to the finished wall.
More tools: Browse all calculators and unit converters.
Plan stud spacing on your phone
Use the Studs tool in Unit Converter’s Construction Calculator for wall-run counts and spacing. Download it free from the App Store or Google Play.

