How the roof pitch calculator works
The calculator expresses one roof slope as pitch, angle and percentage. A 6/12 pitch means 6 units of vertical rise for every 12 units of horizontal run. The pitch factor converts a horizontal distance into a distance along that slope.
Imperial mode puts pitch first; metric mode puts the angle first and adds rise per meter in centimeters. Both show percent slope, pitch factor and Rise ÷ span. Length-unit menus are linked, so choosing a metric or imperial unit changes the system throughout.
Choose the measurements you have
- 1Use Rise & run for a measured slope. Enter the vertical rise and horizontal run, not the distance along the roof. The defaults are 6 in and 12 in. Run must be greater than zero.
- 2Use Height & width for a centered ridge. Enter roof height from the top of the walls to the ridge and building width across the gable, wall to wall. The calculator uses half the width as run. Defaults are 6 ft high and 24 ft wide.
- 3Use Angle for an angle-finder reading. Enter the roof's angle above horizontal. This method starts at 30° and accepts angles from 0° to 85°.
- 4Use Pitch for a known rise in 12. Enter only the numerator: type 6 for 6/12. This method starts at 6 and accepts values from 0 to 48.
Roof pitch, angle and slope formulas
Use matching length units for rise and run. Evaluate inverse tangent in degrees, write pitch as p/12, and add % to s. Inverse tangent converts the side ratio into an angle.
Height & width sets the ratio to height ÷ (width ÷ 2). Angle uses the tangent of the entered angle. Pitch divides the entered numerator by 12. All four methods then use the same equations.
Worked example: the default 6/12 roof
With the default 6 in rise and 12 in run, the ratio is 6 ÷ 12 = 0.5. Multiplying by 12 gives a pitch of 6/12. The displayed angle is 26.57°, slope is 50%, pitch factor is 1.118 and Rise ÷ span is 1/4. Metric mode leads with 26.57° and shows 50 cm of rise per meter.
Add the building's size is off by default, so no roof height, rafter length or roof area is shown. The result note reads: Steep enough for asphalt shingles with standard underlayment.
Common roof pitches
| Pitch | Angle | Slope | Factor |
|---|---|---|---|
| 1/12 | 4.76° | 8.3% | 1.003 |
| 2/12 | 9.46° | 16.7% | 1.014 |
| 3/12 | 14.04° | 25% | 1.031 |
| 4/12 | 18.43° | 33.3% | 1.054 |
| 5/12 | 22.62° | 41.7% | 1.083 |
| 6/12Default | 26.57° | 50% | 1.118 |
| 7/12 | 30.26° | 58.3% | 1.158 |
| 8/12 | 33.69° | 66.7% | 1.202 |
| 9/12 | 36.87° | 75% | 1.25 |
| 10/12 | 39.81° | 83.3% | 1.302 |
| 11/12 | 42.51° | 91.7% | 1.357 |
| 12/12 | 45° | 100% | 1.414 |
Add building size for lengths and area
Switch on Add the building's size to enter building width, building length along the ridge and horizontal overhang. Height & width reuses its existing width input. The optional defaults are 24 ft wide, 40 ft long and 12 in overhang.
Use one length unit throughout; area is in that unit squared. In Height & width mode, roof height is the entered value.
Turning this option on for the default 6/12 roof gives the results below. Run to the ridge is 24 ÷ 2 = 12 ft. Area is 42 × 26 × √1.25, using the unrounded factor.
| Result | Value |
|---|---|
| Roof height | 6 ft |
| Rafter, wall to ridge | 13 ft 5 in |
| Rafter with overhang | 14 ft 6 7/16 in |
| Roof area | 1,221 ft² · 12.2 squares |
Imperial lengths round to the nearest 1/16 in; metric lengths use up to two decimals in meters. Metric area uses up to one decimal in m². Roof height is not repeated in Height & width mode, and the overhang-length row disappears when overhang is zero.
Understand the roof-covering comparison
The covering table checks these simplified minimum slopes against your pitch. Its reference thresholds follow R905 provisions in the 2021 residential code, available in Seattle's official publication. A Yes result checks pitch only, not local approval or product suitability.
| Covering | Minimum | Additional flag |
|---|---|---|
| Membrane or built-up | ¼/12 | |
| Standing-seam metal | ¼/12 | |
| Mineral-surfaced roll roofing | 1/12 | |
| Asphalt shingles | 2/12 | Double underlayment below 4/12 |
| Clay or concrete tile | 2½/12 | Double underlayment below 4/12 |
| Metal shingles | 3/12 | |
| Wood shingles or shakes | 3/12 | |
| Slate | 4/12 |
At 4/12, the calculator stops showing the double-underlayment flag. That flag is simplified: approved self-adhering underlayment alternatives may be permitted. Follow the locally adopted code and the covering manufacturer's installation requirements.
The combined wood row needs care. The Cedar Shake & Shingle Bureau recommends at least 4/12 for standard shake applications and describes special construction below that slope. Its shingle recommendation starts at 3/12.
The warning below ¼/12 is also general: the 2021 provisions allow coal-tar built-up roofs at ⅛/12. The calculator does not model that exception.
Measure rise and run correctly
- 1Keep the run horizontal. Use a level against an accessible rafter or roof surface. Measure along the level, then vertically between the level and the slope.
- 2Enter the actual run. A 12 in run is convenient, but any measured run works. For metric measurements, a 30 cm run is convenient; enter 30 cm, not 12 in.
- 3Check the reference points. Roof height starts at the top of the walls, not ground level. Overhang is measured horizontally, not along the rafter.
Frequently asked questions
Is a 6/12 roof pitch the same as 6 degrees?
No. A 6/12 pitch is 26.57° above horizontal and has a 50% slope.
What roof pitch is 30 degrees?
A 30° roof is 6.93/12, with a 57.7% slope. Choose Angle and enter 30 to make this conversion.
What does Rise ÷ span mean?
It divides roof height by the full building width, assuming a centered ridge. It is half the rise-to-run ratio, so a 6/12 roof shows 1/4.
What is a low-slope roof?
OSHA defines a low-slope roof as 4/12 or flatter and a steep roof as greater than 4/12. These are fall-protection definitions, not roof-covering approvals.
Sources
- 1Precalculus 2e, 6.3: Inverse trigonometric functions · OpenStax, Rice University · Accessed November 2026
- 22021 Seattle Residential Code, Chapter 9: Roof assemblies · Seattle Department of Construction and Inspections · Accessed November 2026
- 3Cedar roof installation manual: Low slope roof details · Cedar Shake & Shingle Bureau · Accessed November 2026
- 429 CFR 1926.500: Scope, application, and definitions · Occupational Safety and Health Administration · Accessed November 2026
- 529 CFR 1926.501: Duty to have fall protection · Occupational Safety and Health Administration · Accessed November 2026
These are geometry estimates; have a qualified roofing professional verify the design and covering before construction.