Slope Calculator
Free online Slope Calculator.
Calculator
How to Use
- Enter the coordinates of two points (x1, y1) and (x2, y2)
- Or enter the rise and run directly
- Choose to calculate slope, grade percentage, or angle
- View the result as a ratio, percentage, and angle in degrees
Formula
Slope (m) = (y2 - y1) / (x2 - x1) = Rise / Run
Grade (%) = Slope x 100
Angle = arctan(Slope) in degrees
Rise = Slope x Run
Run = Rise / Slope
Example Calculations
From two points
Input: Point 1: (2, 3), Point 2: (8, 15)
Result: Slope = 2.0, Grade = 200%, Angle = 63.43 degrees
Roof slope
Input: Rise: 6 inches, Run: 12 inches
Result: Slope = 0.5 (6/12), Grade = 50%, Angle = 26.57 degrees
About This Calculator
Calculate the slope, grade, and angle between two points. Free slope calculator for math, construction, roofing, and landscaping projects.
Our slope calculator is free, easy to use, and provides instant results. All calculations are performed in your browser for privacy and speed.
Related Calculators
Frequently Asked Questions
What is the difference between slope and grade?
Slope is rise/run as a ratio (e.g., 0.25). Grade is slope expressed as a percentage (25%). A 100% grade = 45-degree angle. Roads over 15% grade are considered very steep.
How do I calculate slope from two points?
Slope = (y2-y1)/(x2-x1). For points (2,3) and (6,11): slope = (11-3)/(6-2) = 8/4 = 2. This means for every 1 unit right, the line goes up 2 units.
What slope is needed for proper drainage?
Building codes require minimum 1/4 inch per foot (2% grade) for flat roofs. Driveways: 2-5% for drainage. ADA ramps: maximum 8.33% (1:12 slope) for wheelchair access.
How do I convert slope percentage to angle?
Angle = arctan(grade/100). A 100% grade = arctan(1) = 45 degrees. A 10% grade = arctan(0.1) = 5.71 degrees.