On a 6/12 roof with a 12-foot horizontal run, the common rafter line length is 13' 5" (13.416 ft) before any ridge deduction. A 1-foot horizontal overhang adds 1' 1-7/16", for 14' 6-7/16" in all. To get the cut length, deduct half the ridge board's thickness, measured horizontally and multiplied by the rafter factor. For a 1-1/2-inch ridge at 6/12, that is 13/16", which leaves 14' 5-9/16". The numbers assume a horizontal run and overhang, a 1-1/2-inch ridge board, and a common rafter with no hip or valley.
Rise per foot is the pitch in inches. The rafter factor is √(1 + (pitch ÷ 12)²). Multiply a horizontal length by it to get the length along the rafter. The angle is measured from level.
| Pitch | Angle (degrees) | Rise per foot (in) | Rafter factor |
|---|---|---|---|
| 3/12 | 14.04 | 3 | 1.0308 |
| 4/12 | 18.43 | 4 | 1.0541 |
| 5/12 | 22.62 | 5 | 1.0833 |
| 6/12 | 26.57 | 6 | 1.1180 |
| 7/12 | 30.26 | 7 | 1.1577 |
| 8/12 | 33.69 | 8 | 1.2019 |
| 9/12 | 36.87 | 9 | 1.2500 |
| 10/12 | 39.81 | 10 | 1.3017 |
| 11/12 | 42.51 | 11 | 1.3566 |
| 12/12 | 45.00 | 12 | 1.4142 |
Common rafter line length, before any overhang or ridge deduction. Run is down the side, pitch is across the top.
| Run | 4/12 | 5/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|---|
| 6 ft | 6' 3-7/8" | 6' 6" | 6' 8-1/2" | 7' 2-9/16" | 7' 9-3/4" | 8' 5-13/16" |
| 8 ft | 8' 5-3/16" | 8' 8" | 8' 11-5/16" | 9' 7-3/8" | 10' 4-15/16" | 11' 3-3/4" |
| 10 ft | 10' 6-1/2" | 10' 10" | 11' 2-3/16" | 12' 0-1/4" | 13' 0-3/16" | 14' 1-11/16" |
| 12 ft | 12' 7-13/16" | 13' 0" | 13' 5" | 14' 5-1/16" | 15' 7-7/16" | 16' 11-5/8" |
| 14 ft | 14' 9-1/16" | 15' 2" | 15' 7-13/16" | 16' 9-15/16" | 18' 2-11/16" | 19' 9-9/16" |
| 16 ft | 16' 10-3/8" | 17' 4" | 17' 10-11/16" | 19' 2-3/4" | 20' 9-15/16" | 22' 7-1/2" |
Add this to the line length for a horizontal overhang: overhang × rafter factor.
| Overhang | 4/12 | 5/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|---|
| 12" horizontal | 1' 0-5/8" | 1' 1" | 1' 1-7/16" | 1' 2-7/16" | 1' 3-5/8" | 1' 5" |
| 16" horizontal | 1' 4-7/8" | 1' 5-5/16" | 1' 5-7/8" | 1' 7-1/4" | 1' 8-13/16" | 1' 10-5/8" |
| 24" horizontal | 2' 1-5/16" | 2' 2" | 2' 2-13/16" | 2' 4-7/8" | 2' 7-1/4" | 2' 9-15/16" |
Subtract this for a 1-1/2-inch ridge board: half the ridge thickness (3/4 in), measured horizontally, × rafter factor.
| 1-1/2 in ridge | 4/12 | 5/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|---|
| Ridge deduction | 13/16" | 13/16" | 13/16" | 7/8" | 1" | 1-1/16" |
Some calculators and layouts give decimal feet. Multiply by 12 for inches. The last column rounds to the nearest 1/16 inch.
| Decimal feet | Inches (exact) | Nearest 1/16 in |
|---|---|---|
| 0.05 ft | 0.60 | 5/8" |
| 0.10 ft | 1.20 | 1-3/16" |
| 0.15 ft | 1.80 | 1-13/16" |
| 0.20 ft | 2.40 | 2-3/8" |
| 0.25 ft | 3.00 | 3" |
| 0.30 ft | 3.60 | 3-5/8" |
| 0.35 ft | 4.20 | 4-3/16" |
| 0.40 ft | 4.80 | 4-13/16" |
| 0.45 ft | 5.40 | 5-3/8" |
| 0.50 ft | 6.00 | 6" |
| 0.55 ft | 6.60 | 6-5/8" |
| 0.60 ft | 7.20 | 7-3/16" |
| 0.65 ft | 7.80 | 7-13/16" |
| 0.70 ft | 8.40 | 8-3/8" |
| 0.75 ft | 9.00 | 9" |
| 0.80 ft | 9.60 | 9-5/8" |
| 0.85 ft | 10.20 | 10-3/16" |
| 0.90 ft | 10.80 | 10-13/16" |
| 0.95 ft | 11.40 | 11-3/8" |
Do it on the job with Shim. Shim: Construction Calculator for iPhone is on the App Store. Its roof tool, in Pro, takes a pitch or an angle and a run, and gives the rise, angle and rafter length with and without an overhang. See Shim's page.
Published by Avira LLC · Updated 2026-11-13 · Written with AI assistance. Every number is computed with the same formulas as Shim and checked against worked examples.