The Roof Pitch to Angle Calculator converts a rise-to-horizontal-run ratio into degrees from horizontal and converts degrees back into an x:12 roof slope. It also displays rise/run, percent grade and an equivalent rise per 1,000 horizontal units. Use it to translate clearly defined measurements or drawing notation. A conversion does not establish roof-covering suitability, structural capacity, safe access, drainage performance or code compliance.
Key Takeaways
- For x:12 notation, enter x as rise and 12 as horizontal run. Both parts must use the same length unit.
- Angle from horizontal = arctan(rise/run), expressed in degrees. The inverse uses tangent.
- A 6:12 slope is approximately 26.565051°, with 50% grade. It is not 6°, 12° or 50°.
- A 45° angle is 12:12 and 100% grade. Percent grade can exceed 100% for slopes steeper than 45°.
- Run is horizontal, not sloping roof length or full roof span. This page defines pitch as rise:run.
- Zero is accepted as a level mathematical case. Exactly 90° is excluded because it has no finite rise/run ratio.
Choose the right tool for the question
This page is a focused two-way converter. If a drawing gives a 6:12 slope and you need a degree angle, use pitch mode. If an angle measurement is supplied in degrees and you need comparable x:12 notation, use angle mode. The result includes alternate representations so you can check the meaning rather than copy an unlabeled number.
The existing Roof Pitch Calculator accepts measured rise and run with length units and is retained as a separate page. This converter takes a dimensionless ratio or a degree angle. Use the Roof Area Calculator for its stated surface-area calculation and the Roof Rafter Calculator for its supported geometry. An angle alone supplies neither a roof's area nor a fabrication-ready rafter length.
What does x:12 roof pitch mean?
In the notation used here, x:12 describes x units of vertical rise for every 12 units of horizontal run. Thus 6 inches up over 12 inches horizontally has slope 6/12 = 0.5. Six centimeters up over 12 centimeters horizontally produces the same ratio and angle. The unit cancels only when numerator and denominator use the same unit.
The run need not be 12. A ratio of 150 mm rise to 300 mm horizontal run is also 0.5, which normalizes to 6:12. Enter 150 and 300 in pitch mode; do not enter 150 mm as rise and 12 inches as run without converting one of the measurements first.
GAF's roof-slope explanation describes the familiar rise per 12 horizontal inches convention. Its article also discusses product-specific slope considerations. This calculator uses the notation for geometry and does not automate those product recommendations.
Pitch, slope and full-span terminology
Some older usage defines pitch as rise divided by the full roof span. That is different from rise divided by horizontal run. For a symmetrical gable, the run of one side can be half the full span, but do not assume that relationship for every roof arrangement.
For example, 6 feet of rise over a 12-foot run gives 6:12 slope and an angle of about 26.565051°. If the corresponding full span is 24 feet, the historical rise-to-span fraction would be 6/24 = 1/4. Entering 1:4 into this rise:run converter gives about 14.036243°, answering a different question. Establish the notation on the source drawing before converting it.
Formula: roof pitch to degrees
Let R be vertical rise and H be positive horizontal run in the same units. The dimensionless slope s is R/H. The angle θ above horizontal is:
θ = arctan(R/H) × 180/π
The arctangent function finds the angle whose tangent equals the rise/run ratio. It is not the reciprocal of tangent. If using a handheld calculator, check whether it is displaying degrees or radians before transferring an answer. The multiplication by 180/π converts a radian result to degrees; it should not be applied again to a result already expressed in degrees.
The right-triangle relationship is explained in OpenStax's right-triangle trigonometry, with inverse-function interpretation in its inverse trigonometric functions section. Here, the opposite side is rise and the adjacent side is horizontal run. The sloping roof side is the hypotenuse and is not the denominator for tangent.
Formula: degrees to roof pitch
Given an angle θ measured from horizontal, first find the slope:
s = tan(θ × π/180)
Then express the result in the desired convention:
- Normalized roof slope = (12 × s) : 12.
- Rise/run ratio = s : 1.
- Percent grade = 100 × s (%).
- Rise per 1,000 horizontal units = (1,000 × s) : 1,000.
The normalized rise does not need to be a whole number. An entered 30° angle gives approximately 6.928203:12, not an exact 7:12 slope. Rounding to a familiar pitch notation changes the represented angle. Retain the source measurement and describe any rounding used for a drawing or conversation.
Worked example: convert 6:12 into an angle
Fictional conversion example: vertical rise 6 and horizontal run 12, using the same units.
- Slope = 6/12 = 0.5.
- Angle = arctan(0.5) = 26.565051°, rounded.
- Percent grade = 100 × 0.5 = 50%.
- Equivalent metric ratio = 500 mm rise per 1,000 mm horizontal run.
- Complement from vertical = 90° − angle = 63.434949°, rounded.
The same result follows from 150:300 or 1:2. Scaling both ratio parts by the same positive amount does not change slope or angle. Scaling only one part does. These identities provide a useful independent check when transferring measurements.
Worked example: convert 30 degrees into x:12
Suppose an illustrative measurement gives 30° above horizontal. The slope is tan(30°) = 1/√3, approximately 0.5773502692. Multiply by 12 to obtain 6.928203:12, rounded.
The percent grade is approximately 57.735027%. On a 1,000 mm horizontal reference length, the proportional rise is approximately 577.350269 mm. This metric example represents the same angle, not a separate unit conversion of degrees into millimeters. An actual rise requires an actual horizontal run.
A measurement given as 30° from vertical is different: its angle from horizontal would be 60°. Confirm the reference direction before entering the angle. The calculator accepts degrees from horizontal only and does not infer orientation from a drawing symbol.
Common roof pitch to angle conversion table
These mathematical conversions are rounded to six decimal places. They are not recommended roof slopes or a product suitability chart.
| Rise : horizontal run | Degrees from horizontal | Percent grade |
|---|
| 2:12 | 9.462322° | 16.666667% |
| 3:12 | 14.036243° | 25% |
| 4:12 | 18.434949° | 33.333333% |
| 6:12 | 26.565051° | 50% |
| 9:12 | 36.869898° | 75% |
| 12:12 | 45° | 100% |
| 18:12 | 56.309932° | 150% |
| 24:12 | 63.434949° | 200% |
Notice the difference between 100% and 90°. A 100% grade has equal rise and horizontal run and is therefore 45°. As the angle approaches 90°, the rise/run ratio increases without a finite bound. A vertical line is not a 100% slope.
Horizontal run is not slope length or full span
For this conversion, measure or identify the horizontal leg of the same right triangle used for rise. Do not substitute a tape distance along the roof surface. Rise divided by sloping length is a sine relationship, not the tangent relationship implemented here.
Likewise, a full ridge-to-ridge or eave-to-eave dimension cannot be treated as the one-side run without establishing the actual roof geometry. Off-center ridges, different pitches, offsets and additions can make a simple half-span assumption wrong. An angle conversion cannot resolve an incomplete roof plan.
Keep the source drawing reference or measurement method in the notes. If a site record contains a provisional angle, retain that status rather than presenting the converted pitch as a verified survey. The daily report generator can keep observations and follow-up questions together; it does not automatically measure roof slope from a photograph.
Zero, near-vertical slopes and numerical precision
Zero slope
Zero rise over positive run produces 0°, 0:12 and 0% grade. An entered angle of 0° gives the same level result. This is a valid mathematical endpoint, not a recommendation for a level roof or a certification that water will drain.
Exactly 90 degrees
Exactly 90° is rejected in angle mode because tangent has no finite value there. Pitch mode requires positive horizontal run for the same reason. Negative angles and signed ratios are outside this converter's supported nonnegative roof-slope convention; orientation should be recorded separately.
Values just below 90 degrees
A very steep valid slope can round to 90° in an ordinary display. Pitch mode therefore shows extremely steep results as 90° minus a small complementary angle rather than presenting them as exactly vertical. Angle mode retains the entered decimal angle in its visible label.
For example, the deliberately extreme test input 89.999999999999999999° is still below 90°. Its distance from vertical is 0.000000000000000001°. The implementation preserves that decimal difference before the tangent calculation, instead of first rounding the angle to the binary number 90. This is a numerical test case, not a realistic field measurement or useful roof proposal.
Input validation and rounding
Pitch mode accepts rise from 0 to 1,000,000 and positive run up to 1,000,000. Angle mode accepts 0° ≤ θ < 90°. Values must be unsigned decimals with up to 18 decimal places, without commas, exponent notation or fractions. Source notes are limited to 500 characters. These are software bounds, not permissible roof dimensions.
Inactive-direction inputs are retained but ignored. Switching to angle mode does not silently copy a rounded pitch result into the angle field, and switching back does not overwrite the original ratio. This keeps the entered source values separate from their displayed conversions.
Any input edit clears the previous result. An invalid entry receives a linked message and keyboard focus so the old conversion cannot be mistaken for a current answer. Result values generally display up to six decimal places or scientific notation; copied conversions use 15 significant digits. Display precision does not establish field accuracy. Avoid repeated conversion of rounded outputs when the original input is available.
What the converted angle cannot establish
A roof system's suitability depends on more than the converted slope. The selected covering, manufacturer instructions, roof assembly, weather exposure, details, structure and applicable requirements need their own assessment. This tool does not issue minimum-slope recommendations or select a product.
It also does not establish safe roof access, walkability, fall-protection arrangements, rafter cuts, load capacity, drainage adequacy or warranty eligibility. Use the conversion to clarify a measurement or specification, then have the relevant project decisions made through the appropriate professional and manufacturer review.
Frequently asked questions
What angle is a 6:12 roof?
Approximately 26.565051° from horizontal. Divide 6 by 12, then take the inverse tangent in degree mode. Its grade is 50%.
Is a 12:12 roof vertical?
No. Equal rise and horizontal run give 45°, or 100% grade. A vertical line would have zero horizontal run and no finite rise/run ratio.
Can I enter a metric ratio?
Yes. Enter both parts in the same unit. For example, 150 mm rise over 300 mm horizontal run is entered as 150 and 300 and converts to 6:12. Mixed units need conversion before entry.
Does 30° equal 7:12?
Not exactly. A 30° angle corresponds to approximately 6.928203:12. Calling it 7:12 introduces rounding; preserve the actual measurement where that distinction matters.
Why are my degree angle and percent grade different?
They are different representations. Grade is 100 × rise/run, whereas degrees come from inverse tangent. Do not place a percent sign after a degree result or use the numerical percent as the angle.
Can this replace a roof inspection?
No. It converts supplied inputs. It cannot verify the measurement, inspect the assembly, determine compliance or approve access and construction work.
Methods, reference checks and corrections
The converter applies tangent and inverse tangent to a nonnegative rise:horizontal-run ratio. All worked examples and the conversion table are original arithmetic illustrations. Independent reference tests use high-precision decimal series calculations for trigonometry, including shallow, steep and near-vertical cases, without importing the application model.
The linked OpenStax sections explain the mathematical relationships; GAF provides context for common roof-slope notation. Neither source constitutes approval of a particular roof through this calculator. Technical review completed by Riya Kulkarni | BE Civil Engineer; completion confirmed on 14 November 2026. See Civilable's methods and corrections policy or contact Civilable with the exact inputs, units or conventions and expected reference result if you identify an error.