Roof Pitch Calculator
Input Parameters
Computed Results
The roof pitch calculator determines the slope, rafter length, and angle of a roof based on its vertical rise and horizontal run. By entering any two known dimensions, you can quickly calculate the roof pitch ratio, grade percentage, and classification to assist with framing and material planning.
Verified Roof Pitch Scenarios
Understanding how different dimensions affect roof geometry is essential for construction planning. Here are four verified examples demonstrating how the calculator processes different inputs.
Standard Residential Medium Slope
If you are building a conventional roof with an 8-foot rise and a 12-foot run, the calculator determines the pitch is 8 : 12. The roof angle is 33.69 degrees, the grade is 66.67%, and the rafter length is 14.42 feet. This falls under the Medium Slope / Conventional classification.
Steep Roof Using Pitch Per 12
When planning a steep roof where you already know the desired pitch is 10:12 and the run is 10 feet, the calculator finds the required rise is 8.33 feet. The resulting rafter length is 13.02 feet, and the roof angle is 39.81 degrees.
Low Slope Shed Roof by Angle
If you are designing a low slope roof with a specific angle of 5.5 degrees over a 20-foot run, the calculator converts this to a 1.16 : 12 pitch. The vertical rise is 1.93 feet, and the rafter length is 20.09 feet.
Determining Run from Rise and Rafter
If you have an existing rafter measuring 10 feet and a known rise of 6 feet, the calculator works backward to find the horizontal run. The run is exactly 8 feet, resulting in a 9 : 12 pitch and a 36.87-degree angle.
Roof Pitch Formulas and Geometry
The calculator uses standard trigonometry and the Pythagorean theorem to determine roof dimensions. The core relationship between the rise (vertical height), run (horizontal distance), and rafter (sloped length) forms a right triangle.
To find the rafter length when the rise and run are known, the Pythagorean theorem is applied:
The roof pitch is traditionally expressed as inches of vertical rise per 12 inches of horizontal run (x:12). To calculate this ratio:
To determine the roof angle in degrees, the calculator uses the arctangent (inverse tangent) function based on the pitch ratio:
How to Use the Calculator
Follow these steps to compute your roof dimensions:
- Select the Calculation Method: Choose which two dimensions you already know (e.g., Rise and Run, Pitch and Run, Angle and Run, or Rise and Rafter).
- Enter Your Measurements: Input the values in feet, degrees, or pitch ratio depending on your selected method.
- Review the Results: The calculator will instantly display the standard x:12 roof pitch, the angle in degrees, the grade percentage, the rafter length, and the slope classification.
Inputs and Outputs Reference
| Field | Type | Description |
|---|---|---|
| Calculation Method | Input | The two known dimensions used to compute the rest of the roof geometry. |
| Rise (ft) | Input / Output | The vertical height of the roof from the plate to the ridge. |
| Run (ft) | Input / Output | The horizontal distance covered by the rafter. |
| Rafter Length (ft) | Input / Output | The sloped length of the rafter, excluding any overhang. |
| Roof Pitch (x:12) | Output | The standard industry format showing inches of rise per 12 inches of run. |
| Roof Pitch Angle (°) | Output | The inclination angle of the roof relative to a flat horizontal plane. |
| Pitch Classification | Output | Categorizes the roof as Flat, Low Slope, Medium Slope, or Steep Slope based on the pitch ratio. |
Practical Use Cases
Calculating roof pitch is a fundamental step in building and remodeling. Carpenters use these calculations to determine the exact length to cut rafters and to mark the correct angles for plumb and level cuts. Accurate pitch calculations are also necessary for estimating roofing materials, as the sloped surface area of a roof is greater than its flat footprint. Additionally, knowing the roof pitch classification helps determine which roofing materials are appropriate, as certain materials like asphalt shingles or metal panels require specific minimum slopes to shed water effectively.
Frequently Asked Questions
What does a 4:12 roof pitch mean?
A 4:12 roof pitch means the roof rises 4 inches vertically for every 12 inches of horizontal run.
How do I determine the run of a roof?
For a standard symmetrical gable roof, the run is typically exactly half of the total building span. For example, a building that is 24 feet wide will have a 12-foot run.
What pitch is considered a flat roof?
Based on standard classifications, a roof with a pitch of 0.5:12 or less is categorized as a flat roof. Roofs between 1:12 and 3.5:12 are considered low slope.
Does the rafter length include the roof overhang?
No, the calculated rafter length only covers the distance from the ridge board to the exterior wall plate. You must add the length of your desired overhang (eave) to find the total board length needed.