How to use the roof pitch calculator
- Choose input mode from the dropdown: rise per 12" run, angle in degrees, slope percentage, or pitch ratio.
- Enter your known value in the field that appears. Use decimals for fractions (e.g., 6.5 for 6½:12).
- Read all results instantly: pitch as X:12, angle in degrees, slope as a percentage, and the rafter length factor.
- Use the rafter factor to find actual rafter length: multiply the horizontal run (in feet) by the factor.
How the calculations work
The roof pitch calculator uses the standard roof pitch definition: pitch is the rise in inches for every 12 inches of horizontal run. From this ratio the other values derive:
- Angle = arctan(rise ÷ 12) converted to degrees. For a 6:12 pitch: arctan(6/12) = 26.565°.
- Slope % = (rise ÷ 12) × 100. For 6:12: (6/12) × 100 = 50%.
- Rafter factor = √(1 + (rise/12)²). This is the hypotenuse of a right triangle with run = 1 and rise = rise/12. For 6:12: √(1 + 0.5²) = 1.1180.
When you enter angle or slope, the calculator reverses these formulas to find the rise, then computes the rest.
Common roof pitches reference
The table below shows standard pitches with their angle, slope and rafter factor. Values are rounded for readability.
| Pitch | Angle | Slope | Rafter factor |
|---|---|---|---|
| 1:12 | 4.76° | 8.33% | 1.0035 |
| 2:12 | 9.46° | 16.67% | 1.0138 |
| 3:12 | 14.04° | 25.00% | 1.0308 |
| 4:12 | 18.43° | 33.33% | 1.0541 |
| 5:12 | 22.62° | 41.67% | 1.0833 |
| 6:12 | 26.57° | 50.00% | 1.1180 |
| 7:12 | 30.26° | 58.33% | 1.1577 |
| 8:12 | 33.69° | 66.67% | 1.2019 |
| 9:12 | 36.87° | 75.00% | 1.2500 |
| 10:12 | 39.81° | 83.33% | 1.3017 |
| 11:12 | 42.51° | 91.67% | 1.3566 |
| 12:12 | 45.00° | 100.00% | 1.4142 |
Using the rafter factor
The rafter factor converts horizontal run to actual rafter length. Measure the horizontal distance from the outside wall to the ridge (the run), then multiply by the factor.
Example: A 6:12 roof with a 12-foot run. Rafter length = 12 ft × 1.1180 = 13.416 ft (13 ft 5 in). Add overhang and ridge board deductions as needed.
For hip and valley rafters, use the hip/valley factor = √(2 + (rise/12)²). This calculator gives the common rafter factor only.
Pitch categories and typical uses
- Flat to low slope (0:12 to 2:12): Commercial roofs, modern homes. Require membrane roofing (TPO, EPDM, built-up). Drainage is critical.
- Low slope (3:12 to 4:12): Ranch houses, sheds. Asphalt shingles need double underlayment below 4:12 per most codes.
- Conventional (5:12 to 8:12): Most residential roofs. Standard shingle installation, good drainage, walkable with caution.
- Steep (9:12 to 12:12): Victorian, Gothic, A-frames. Excellent shedding, more material, requires scaffolding or roof jacks.
- Very steep (>12:12): Specialty designs. Factor exceeds 1.414; rafters are much longer than run.
Measuring pitch on an existing roof
If you don't know the pitch, measure it safely from the attic or with a level:
- In the attic, hold a 12-inch level horizontally against a rafter.
- Measure vertically from the level's far end up to the rafter bottom. That measurement in inches is the rise.
- Enter that rise in the roof pitch calculator (mode: Rise).
Alternatively, use a digital angle finder on the rafter or roof surface. Enter the angle in degrees (mode: Angle).
Never walk a roof steeper than 6:12 without fall protection. For steep roofs, measure from the gable end or use a smartphone app that reads the camera angle.
Common mistakes
- Confusing pitch with angle: A 12:12 pitch is 45°, not 12°. Always check which unit you have.
- Using slope % as pitch: 50% slope equals 6:12 pitch, not 50:12. Slope is rise/run; pitch is rise/12.
- Forgetting the rafter factor: Ordering lumber by horizontal run alone leaves you short. Multiply run by the factor.
- Ignoring code minimums: Many areas require 2:12 minimum for shingles, ¼:12 for membrane. Check local amendments.
- Measuring from the wrong plane: Measure rise vertically, run horizontally. Sloping the tape measure gives a larger number.
Worked examples
| Example | Input | Result |
|---|---|---|
| Standard 6:12 pitch | Input mode: rise; Rise (inches per 12" run): 6 | Pitch: 6:12; Angle: 26.565°; Slope: 50.00%; Rafter factor: 1.1180 |
| Steep 12:12 pitch | Input mode: pitch; Pitch numerator (X in X:12): 12 | Pitch: 12:12; Angle: 45.000°; Slope: 100.00%; Rafter factor: 1.4142 |
| Low slope 2:12 pitch | Input mode: angle; Angle (degrees): 9.462 | Pitch: 2:12; Angle: 9.462°; Slope: 16.67%; Rafter factor: 1.0138 |
| Flat roof (0.25:12) | Input mode: slope; Slope (%): 2.083 | Pitch: 0.25:12; Angle: 1.193°; Slope: 2.08%; Rafter factor: 1.0002 |
| 45 degree roof | Input mode: angle; Angle (degrees): 45 | Pitch: 12:12; Angle: 45.000°; Slope: 100.00%; Rafter factor: 1.4142 |
FAQ
What is a 4:12 pitch in degrees?
A 4:12 pitch equals 18.435 degrees. The roof pitch calculator shows this instantly when you enter 4 as the rise.
How do I convert roof angle to pitch?
Select Angle mode, enter the degrees, and the calculator returns the pitch as X:12. For example, 30° gives 7:12 pitch (actually 6.93:12, rounded to 7:12).
What does slope percentage mean?
Slope % is the rise divided by the run, times 100. A 6:12 pitch has a run of 12 and rise of 6, so slope = (6/12) × 100 = 50%.
How do I calculate rafter length from pitch?
Multiply the horizontal run (in feet) by the rafter factor. For a 6:12 roof with 14 ft run: 14 × 1.1180 = 15.65 ft rafter length.
Is a 3:12 roof considered low slope?
Yes. 3:12 (14°) is low slope. Most shingle manufacturers require double underlayment or special installation below 4:12.
Can I use this for hip or valley rafters?
This roof pitch calculator gives the common rafter factor. Hip/valley factor = √(2 + (rise/12)²). For 6:12, hip factor = √(2 + 0.25) = 1.500.
What is the minimum pitch for asphalt shingles?
Most codes and manufacturers require 2:12 minimum with double underlayment, 4:12 for standard single-layer installation.