Stairs & Framing

Rake Wall Calculator: Sloped Gable Stud Lengths & Bevel

Free rake wall stud calculator. Enter wall run, low and high height or roof pitch to get every progressive stud cut length, step increase and top bevel saw angle.

Free online tool

Rake wall stud length calculator

Calculate every progressive stud cut length, the common step increase, top bevel angle and sloped rake plate length.

Rake wall studs

10 studs (7′ 7 1/2″ to 11′ 7 1/2″)

Step increase & bevel
+5 5/16″ (5.333 in) per 16″ step; top bevel 18.43°
Sloped top plate
12′ 7 13/16″ sloped rake plate (4:12 pitch)
Wall area & stud stock
120 sq ft wall area · 96.3 linear ft of studs

Progressive stud cut lengths (from low end)

Stud 1 (at 0″): 7′ 7 1/2″ Stud 2 (at 1′ 4″): 8′ 0 13/16″ Stud 3 (at 2′ 8″): 8′ 6 3/16″ Stud 4 (at 4′ 0″): 8′ 11 1/2″ Stud 5 (at 5′ 4″): 9′ 4 13/16″ Stud 6 (at 6′ 8″): 9′ 10 3/16″ Stud 7 (at 8′ 0″): 10′ 3 1/2″ Stud 8 (at 9′ 4″): 10′ 8 13/16″ Stud 9 (at 10′ 8″): 11′ 2 3/16″ Stud 10 (at 12′ 0″): 11′ 7 1/2″

Slope = (144 − 96) ÷ 144 = 0.3333 (4:12, 18.43° bevel). Each 16″ step adds 5.333 in.

Heights at each station are computed along the wall run and reduced by the plate deduction you enter. On a steeply pitched rake wall, the vertical plumb thickness of a 1½ in top plate increases by 1.5 ÷ cos(angle), and the long point and short point of each beveled stud top differ by 1.5 × tan(angle). Measure whether your plate deduction is to the centerline, short point or long point of the stud before cutting the set.

A rake wall (or sloped gable wall) rises along the roof pitch, so every on-center stud is taller than the one before it by a constant step increase equal to spacing × pitch ÷ 12. Enter the wall run, low wall height and high wall height (or roof pitch) above to generate the complete stud-by-stud cut list, the top bevel angle and the sloped rake plate length.

How rake wall stud lengths progress along a slope

A rake wall (or balloon-framed gable wall) has a level bottom sole plate and a sloped top plate that follows the roof pitch. Because the top plate rises at a constant angle, the studs are not equal in length: each stud is taller than the one before it by a fixed amount called the common difference (or step increase). Once you know the first stud and the common difference, you can cut the entire wall on the ground without climbing a ladder to measure each bay in the air.

Slope (rise per inch of run) = (High wall height − Low wall height) ÷ Wall run
Common difference per step   = Stud spacing (in) × Slope = Stud spacing (in) × Pitch ÷ 12
Top bevel saw angle          = atan(Slope) = atan(Pitch ÷ 12)
Stud cut length at offset x  = Low height + (x × Slope) − Total plate deduction

For a 12 ft wall rising from 8 ft to 12 ft (a 4:12 pitch) with studs at 16 in on center, each stud increases by 16 × 4 ÷ 12 = 5 5/16″ (5.333 in), and every stud top is mitered at a 18.43° bevel.

Stud step increase and plumb plate depth by roof pitch

When a 1 1/2 in thick 2×4 or 2×6 top plate is tilted to follow a roof slope, its vertical thickness measured straight up and down along the plumb stud line becomes larger than 1 1/2 in: Plumb plate depth = 1.5 in ÷ cos(angle). At the same time, cutting a bevel across the 1 1/2 in edge of a stud makes the long point taller than the short point by 1.5 in × tan(angle). The table below gives all four numbers for pitches from 3:12 to 12:12.

Rake wall step increase, bevel angle and sloped plate geometry by pitch
Roof pitchTop bevel angleStep increase (16″ O.C.)Step increase (24″ O.C.)Plumb depth of one 1½″ plateLong-to-short bevel diff on 1½″ stud
3:1214.04°+4″ (4.00″)+6″ (6.00″)1 9/16″ (1.55″)3/8″ (0.37″)
4:1218.43°+5 5/16″ (5.33″)+8″ (8.00″)1 9/16″ (1.58″)1/2″ (0.50″)
5:1222.62°+6 11/16″ (6.67″)+10″ (10.00″)1 5/8″ (1.63″)5/8″ (0.63″)
6:1226.57°+8″ (8.00″)+12″ (12.00″)1 11/16″ (1.68″)3/4″ (0.75″)
7:1230.26°+9 5/16″ (9.33″)+14″ (14.00″)1 3/4″ (1.74″)7/8″ (0.88″)
8:1233.69°+10 11/16″ (10.67″)+16″ (16.00″)1 13/16″ (1.80″)1″ (1.00″)
9:1236.87°+12″ (12.00″)+18″ (18.00″)1 7/8″ (1.88″)1 1/8″ (1.13″)
10:1239.81°+13 5/16″ (13.33″)+20″ (20.00″)1 15/16″ (1.95″)1 1/4″ (1.25″)
12:1245.00°+16″ (16.00″)+24″ (24.00″)2 1/8″ (2.12″)1 1/2″ (1.50″)

On a gentle 4:12 slope, a single top plate is 1 9/16 in vertically and a double top plate is 3 3/16 in; adding a 1 1/2 in bottom sole plate makes the true vertical plate deduction 4 11/16 in rather than the flat-wall 4 1/2 in. On a steep 12:12 roof, a single sloped 2× plate measures 2 1/8 in plumb, so ignoring the slope cosine leaves every stud 5/8 in too long per top plate.

Worked cut list: 12 ft rake wall from 8 ft to 12 ft at 16″ O.C.

The table below shows the complete 10-stud progression generated by the calculator for a 12 ft (144 in) rake wall rising from 8 ft (96 in) to 12 ft (144 in) at 16 in on center, using a 4 1/2 in plate deduction.

Progressive stud cut list for a 12 ft rake wall (8 ft to 12 ft, 16 in O.C.)
Stud numberOn-center offsetOutside frame heightStud cut length (1/16″)Exact decimal inches
Stud 10″8′ 0″7′ 7 1/2″91.50 in
Stud 21′ 4″8′ 5 5/16″8′ 0 13/16″96.83 in
Stud 32′ 8″8′ 10 11/16″8′ 6 3/16″102.17 in
Stud 44′ 0″9′ 4″8′ 11 1/2″107.50 in
Stud 55′ 4″9′ 9 5/16″9′ 4 13/16″112.83 in
Stud 66′ 8″10′ 2 11/16″9′ 10 3/16″118.17 in
Stud 78′ 0″10′ 8″10′ 3 1/2″123.50 in
Stud 89′ 4″11′ 1 5/16″10′ 8 13/16″128.83 in
Stud 910′ 8″11′ 6 11/16″11′ 2 3/16″134.17 in
Stud 1012′ 0″12′ 0″11′ 7 1/2″139.50 in

When laying out on-center marks from the low end, remember that the common difference applies only between full 16 in intervals. If the final bay at the high peak is shorter than 16 in, calculate that last stud from its actual horizontal offset rather than adding a full step increase.

Measuring to the long point versus the short point of the bevel

Every rake stud sits with its 1 1/2 in narrow edge facing the drywall and its top end beveled at the roof pitch angle. That means one edge of the stud top has a short point (downhill side) and the other edge has a long point (uphill side), separated horizontally by 1 1/2 inches.

  • If your layout mark is the uphill edge of the stud: the calculated height at that offset is the long point of the bevel cut. Hook your tape on the square bottom end, pull to the long-point mark on the uphill edge, and cut the bevel back toward the short point.
  • If your layout mark is the downhill edge of the stud: the height at that mark is the short point; add 1.5 in × Slope (the last column of the pitch table above) to find the long point.
  • Avoid cumulative layout drift: never add the rounded 1/16 in step increase to the previous stud's rounded cut length. Compute each stud's exact decimal length from the low end datum and round once to the nearest 1/16 in mark, exactly as the calculator above does.

For the common rafters that sit above or beside the rake wall, use the rafter length calculator and the wall framing calculator.

Frequently asked questions

How do you calculate stud lengths for a rake wall?

Find the slope by dividing the height difference (high wall minus low wall) by the horizontal wall run. For each stud at horizontal distance x from the low end, multiply x by the slope, add the low wall height, and subtract the vertical thickness of the bottom and top plates.

What is the common difference on a rake wall?

It is the exact amount each stud grows from one on-center bay to the next. Multiply your on-center stud spacing in inches by the roof pitch divided by 12. At 16 in on center on a 6:12 pitch, the common difference is 16 × 6 ÷ 12 = 8 inches per stud.

What angle do I cut the top of rake wall studs?

Set your miter saw or circular saw to the roof pitch angle: atan(pitch ÷ 12). For a 4:12 pitch that is 18.43°; for a 6:12 pitch it is 26.57°; and for an 8:12 pitch it is 33.69°.

Why are my rake wall studs coming out slightly too long on a steep pitch?

A flat 2× top plate is 1 1/2 inches thick, but when tilted at angle θ its vertical plumb thickness becomes 1.5 ÷ cos(θ). On an 8:12 roof (33.69°), a double top plate measures 3.61 inches vertically instead of 3.00 inches—an extra 5/8 inch that must be included in your plate deduction.

How long is the sloped top plate on a rake wall?

Use the Pythagorean theorem on the horizontal wall run and the vertical rise between the low and high ends: √(run² + rise²). On a 12 ft wall rising 4 ft from 8 ft to 12 ft, the sloped top plate is √(12² + 4²) = 12.65 ft (12 ft 7 3/4 in).

How these guides are prepared · Calculations and table values come from the same code as the free tools and are checked by automated tests and against the formulas in the Construction Pro app. Code references are for orientation: confirm requirements with your jurisdiction and your project documents. Found an error? Tell the developer.
Take the next job with you

Keep the calculation with the project.

Use feet-inch fractions, specialty trade tools and saved job calculations in Construction Pro for iPhone and iPad. Free download with in-app Pro options.

View on the App Store ↗

Keep working

Browse all guides