A rake wall calculator generates a per-stud cut list for a gable end wall where the top plate follows the roof slope. Enter the base wall height, roof pitch, wall run and spacing, and the tool returns each stud length from eave to ridge. At 7/12 pitch and 16 in OC, each stud is 9-1/3 inches longer than the one before it.
Stud count
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Rake Wall Calculator
- Enter the base wall height in inches (shortest stud at the eave).
- Pick the roof pitch.
- Enter the wall run from eave to ridge in inches.
- Pick the stud spacing (16 or 24 in OC).
- Read the stud count, increment and per-stud cut list.
Here is what each result line means:
| Result | What it means |
|---|---|
| Increment per stud | How many inches each successive stud gains over the previous one. |
| Shortest stud | The first stud at the eave end (equals the base height). |
| Longest stud | The last stud at or near the ridge. |
| Cut list | A table with every stud numbered and its exact length. |
For a flat wall stud count, see the stud calculator. For header sizing, see the header size calculator.
What Is a Rake Wall?
A rake wall is the triangular gable end of a building where the top plate follows the roof slope instead of running level. Each stud in a rake wall has a different length because the roofline rises from the eave to the ridge.
Framers build rake walls by calculating each stud length from the pitch and spacing, then cutting a full set before standing the wall.
How the Rake Wall Calculator Works
H is the base wall height (shortest stud), n is the stud number counting from zero at the eave, rise is the pitch rise per foot, s is the stud spacing in inches, and 12 converts rise-per-foot to rise-per-inch.
- Calculate the increment: (rise / 12) x spacing.
- Count the studs: floor(run / spacing) + 1.
- For each stud, add n times the increment to the base height.
- Report the full cut list.
Rake Wall Calculation Example
A gable wall with a 7/12 pitch, 92-5/8 in base height, 144-in run (12 ft to the ridge), 16 in OC.
Calculation: increment = (7/12) x 16 = 9.333 in per stud. Stud count = floor(144/16) + 1 = 10 studs. Shortest = 92.625 in. Stud 5 = 92.625 + 5 x 9.333 = 139.29 in. Longest (stud 9) = 92.625 + 9 x 9.333 = 176.625 in.
Factors That Change Rake Wall Stud Lengths
Roof Pitch
Steeper pitches mean bigger increments. A 12/12 pitch adds 16 inches per stud at 16 in OC, while a 4/12 pitch adds only 5-1/3 inches.
Stud Spacing
24-inch spacing increases the increment by 50 percent compared to 16-inch, but uses fewer studs.
Wall Run
A longer run to the ridge means more studs and a taller last stud. For a centered gable, the run is half the building width.
Base Height
The base height sets the starting point. Using 92-5/8 (pre-cut for 8 ft) instead of 96 shortens every stud by 3-3/8 inches.
Top Plate Angle
The sloped top plate is cut at an angle. Stud lengths in this calculator are to the long point; adjust for the plate thickness and bevel as needed.
Stud Increment Comparison by Pitch
The table below shows how many inches each stud gains over the previous one at 16 and 24 in OC.
| Pitch | Rise/ft | Increment @ 16″ OC | Increment @ 24″ OC |
|---|---|---|---|
| 3/12 | 3 in | 4.000 in | 6.000 in |
| 4/12 | 4 in | 5.333 in | 8.000 in |
| 5/12 | 5 in | 6.667 in | 10.000 in |
| 6/12 | 6 in | 8.000 in | 12.000 in |
| 7/12 | 7 in | 9.333 in | 14.000 in |
| 8/12 | 8 in | 10.667 in | 16.000 in |
| 9/12 | 9 in | 12.000 in | 18.000 in |
| 10/12 | 10 in | 13.333 in | 20.000 in |
| 12/12 | 12 in | 16.000 in | 24.000 in |
When to Use a Rake Wall Calculator
Gable End Framing
Generate a cut list for the triangular gable wall above the top plate line.
Shed Roof Walls
A shed roof has a single slope, so one wall is taller than the other. The rake calculator gives the stud lengths for the sloped side.
Dormer Cheek Walls
Dormer side walls follow a roof slope and need individually cut studs.
Material Ordering
Knowing the longest stud tells you what stock length to buy (10, 12, 14 or 16 ft).
Common Mistakes with Rake Walls
1. Using Cosine Instead of Tangent
The stud increment uses the slope ratio (rise/12), not the cosine of the pitch angle. Using cosine gives the wrong lengths.
2. Forgetting the Plate Thickness
The angled top plate sits on the studs. Subtract the plate thickness (1.5 in for a 2x) from the long-point length if measuring to the roof sheathing line.
3. Not Accounting for a Centered Ridge
For a centered gable, the run is half the building width, not the full width. Studs go up from both sides.
4. Rounding Too Early
The increment is often a repeating decimal (e.g. 9.333 in). Rounding each stud individually accumulates error. Calculate the exact length, then round once at the end.
5. Cutting Studs Without Verifying on Site
Framing lumber varies. Measure the actual base height and check the first few studs before cutting the full set.
Accuracy and Limitations
The calculator uses standard pitch geometry (rise/12 x spacing) verified against Fine Homebuilding and JLC references. It assumes a single slope from eave to ridge and does not account for hip or valley intersections.
What it calculates
- Per-stud cut list
- Stud increment by pitch
- Shortest and longest stud
- Total rise over the run
What it does not do
- Hip or valley rake walls
- Centered gable (both sides) in one pass
- Angle cuts on the top plate
- Account for sheathing or siding thickness
How We Calculate Rake Wall Studs
Frequently Asked Questions About Rake Walls
What is a rake wall?
A rake wall is the triangular gable end of a building where the top plate slopes to follow the roof pitch. Each stud has a different length.
How do I find the stud increment?
Multiply the pitch rise by the spacing and divide by 12. For a 7/12 pitch at 16 in OC: (7/12) x 16 = 9.333 inches per stud.
What is the shortest stud?
The first stud at the eave end. It equals the base wall height you enter (for example 92-5/8 in for a standard 8-ft wall).
How long is the longest stud?
Base height plus (number of spaces x increment). For 10 studs at 9.333 in per stud: 92.625 + 9 x 9.333 = 176.6 in.
What if my gable is centered?
Enter half the building width as the run. The other half is a mirror image with the same cut list in reverse.
Should I use tangent or cosine?
Use tangent (rise/12). Cosine would give the wrong result. For standard pitches, you do not need a trig function, just divide rise by 12.
How do I cut the top plate?
The top plate runs along the slope. Its angle is arctan(rise/12). Set your miter saw to that angle for the plumb cuts on the studs.
Does this account for the plate thickness?
No. The lengths are to the top of the stud. Subtract 1.5 in (one 2x plate) if you are measuring to the sheathing line.
Can I use this for a shed roof?
Yes. A single-slope shed roof is one half of a gable. Enter the full run from the low wall to the high wall.
Is my data saved?
No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.
Sources
- Fine Homebuilding, Rake Wall Stud Lengths Forum (increment formula and worked examples for gable end walls).
- Journal of Light Construction, Framing Rake Walls (step-by-step rake wall layout method).
- Fine Homebuilding, Building Rake Walls (1992) (top plate angle, stud geometry, on-site layout technique).
Related Calculators
Framing a gable?
Explore all framing calculatorsThis calculator gives a stud cut list for a simple gable rake wall. Actual lengths must account for the top plate angle cut and any seat cut at the bottom. Measure and confirm each stud on site before cutting. Spotted an error? Let us know.