Skip to content
2x2xKit

Slope Calculator

Calculate slope as a ratio, percentage, angle, or roof pitch from rise and run.

How this is calculated
Slope ratio = rise ÷ run. Angle = arctan(ratio). Roof pitch = ratio × 12, expressed as "x-in-12"

Assumptions used in this calculation

  • Consistent units: Rise and run must be entered in the same unit since slope is a unitless ratio between them.

About this calculator

Calculates slope from rise and run, expressed as a ratio, percentage grade, angle in degrees, and roof pitch notation (x-in-12), consolidating the master prompt's separate general 'Slope Calculator', 'Ramp Slope Calculator', and 'Roof Slope Calculator', since all three are the same rise÷run computation in different conventional units.

Worked example

Rise 6, run 12

Result: 50% slope, 26.57°, roof pitch 6-in-12

Was this helpful?

Frequently asked questions