The Slope Formula
Slope (m) = (y₂ − y₁) ÷ (x₂ − x₁)
Interpreting Slope
- Positive slope: The line rises from left to right
- Negative slope: The line falls from left to right
- Zero slope: A horizontal line
- Undefined slope: A vertical line (x₁ = x₂), since division by zero is undefined
Finding the Line Equation
Once you have the slope, the line's equation in slope-intercept form (y = mx + b) can be found by solving for the y-intercept: b = y₁ − m × x₁.
The Distance Formula
This calculator also computes the straight-line distance between your two points using the distance formula: d = √[(x₂−x₁)² + (y₂−y₁)²] — derived from the Pythagorean theorem.