general
Slope Calculator
Calculate slope, line equation (y = mx + b), distance, midpoint, and angle between any two points on a coordinate plane.
Enter two points (x₁, y₁) and (x₂, y₂) to find the slope, equation, distance, and midpoint.
Point 1
Point 2
How to Use This Calculator
- Enter the coordinates of Point 1 (x₁, y₁).
- Enter the coordinates of Point 2 (x₂, y₂).
- Click Calculate to see slope, equation, distance, midpoint, and angle.
The Formula
Slope: m = (y₂ - y₁) / (x₂ - x₁). Y-intercept: b = y₁ - m × x₁. Distance: √((x₂-x₁)² + (y₂-y₁)²). Midpoint: ((x₁+x₂)/2, (y₁+y₂)/2). Angle: atan(m) × 180/π.Frequently Asked Questions
Slope measures the steepness of a line. It is the ratio of vertical change (rise) to horizontal change (run) between any two points. A positive slope goes up-right, negative goes down-right, zero is horizontal, and undefined is vertical.