Rise and Run Slope Calculator

Enter rise and run to compute slope, angle, and grade instantly. See ratio form, roof pitch, and triangle lengths with precision and clarity. Switch units, round results, export CSV or PDF for records and sharing. Fast, accurate calculations designed for builders and engineers everywhere.

Inputs

in
in
Run must be greater than zero for valid slope.
Tip: The pitch uses a 12-unit horizontal base (e.g., "X in 12").

Results

Slope (rise / run)
Simplified ratio shown below.
Percent grade (%)
Angle (degrees)
Angle (radians)
Gradient (1 in n)
Roof pitch (rise per 12 run)
Hypotenuse length
Simplified ratio

Example Data Table

Common roof/stair slopes with computed grades and angles. Click a row to load values.

Rise Run Units Slope (rise/run) Percent Grade (%) Angle (°) Pitch (rise in 12)

Formulas Used

Given rise R and run H (horizontal):
1) Slope: m = R / H
2) Percent grade: %grade = (R / H) × 100
3) Angle (radians): θ = arctan(R / H)
4) Angle (degrees): θ° = arctan(R / H) × 180 / π
5) Gradient form: 1 in n where n = H / R (if R > 0)
6) Roof pitch (rise per 12 run): pitch = 12 × (R / H)
7) Hypotenuse length: L = √(R² + H²)
8) Simplified ratio: divide R and H by their greatest common divisor.

How to Use This Calculator

  1. Enter the rise and run values, then pick your units.
  2. Choose a rounding preference to control decimal places.
  3. Click Calculate to update slope, grade, angle, pitch, and more.
  4. Use Download CSV or Download PDF to save results.
  5. Click any row in the Example Data table to preload inputs.
  6. Share your exact setup with the Copy Shareable URL button.

All slope measures are unitless; only lengths (e.g., hypotenuse) carry units.

How to calculate slope from rise and run

Follow these quick steps to convert rise and run into common slope measures.

  1. Identify the vertical change (rise) and horizontal distance (run).
  2. Compute slope: m = rise / run. This value is unitless.
  3. Percent grade: %grade = m × 100. Example: 0.25 → 25% grade.
  4. Angle in degrees: θ° = arctan(m) × 180 / π.
  5. Gradient form: write as 1 in n, where n = run / rise.
  6. Roof pitch: express as “rise in 12” using pitch = 12 × m.
Worked example
Given rise = 4 and run = 12:
1) Slope: m = 4 / 12 = 0.3333
2) Percent grade: 33.33%
3) Angle: arctan(0.3333) ≈ 18.435°
4) Gradient: 1 in 3 (since 12 / 4 = 3)
5) Roof pitch: 4 in 12

Rise/Run Quick Reference (Common Slopes)

Handy conversions for frequently used roof, ramp, and stair slopes.

Rise Run Slope (R/H) Percent Grade (%) Angle (°) Pitch (rise in 12)
1200.05005.002.860.60 in 12
1120.08338.334.761.00 in 12
2120.166716.679.462.00 in 12
3120.250025.0014.043.00 in 12
4120.333333.3318.434.00 in 12
6120.500050.0026.576.00 in 12
8120.666766.6733.698.00 in 12
12121.0000100.0045.0012.00 in 12

Values are approximate; verify against your project specifications and codes.

Reverse Calculations (Given Grade or Angle)

A) Given grade and run
Grade = 7.5%, Run = 10.00 ft
Rise = Run × (grade/100) = 10.00 × 0.075 = 0.750 ft (9.00 in)

B) Given angle and run
Angle = 30°, Run = 12 in
Rise = tan(angle) × Run = tan(30°) × 12 ≈ 6.928 in

C) Given roof pitch (rise in 12)
Pitch = 5 in 12 ⇒ slope = 0.4167
Percent grade = 41.67%, Angle ≈ 22.62°

Related Calculators

Air Conditioner BTU CalculatorBoiler Size CalculatorCarpet CalculatorChicken Coop Size CalculatorClearance Hole CalculatorEpoxy CalculatorRectangle Fence Perimeter CalculatorFence Post Depth CalculatorHoop House CalculatorPaver Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.