Slope Calculator
Free online slope calculator. Find the slope, angle, and distance between two points on a coordinate plane.
Calculator not found.
How It Works
- 1
Enter the coordinates of two points: (x₁, y₁) and (x₂, y₂).
- 2
The slope is calculated as (y₂ − y₁) / (x₂ − x₁) — rise over run.
- 3
The angle of inclination is derived from the arctangent of the slope.
- 4
The straight-line distance between the points uses the distance formula √((x₂−x₁)² + (y₂−y₁)²).
Formula
Slope m = (y₂ − y₁) / (x₂ − x₁) | Angle = arctan(m)Examples
Points (1,2) and (4,8)
Slope = (8−2)/(4−1) = 2. Angle = arctan(2) ≈ 63.4°. Distance = √(9+36) = √45 ≈ 6.71.
Vertical line: (3,1) and (3,5)
Slope is undefined (x₂−x₁ = 0). The angle is 90° and the distance is 4 units.