Free slope formula calculator for two points: m = (y₂−y₁)/(x₂−x₁). Flags vertical lines when x₂ = x₁. Instant rise-over-run math in your browser for algebra and graphing—no login.
Enter two points. The tool computes m = (y₂−y₁)/(x₂−x₁). If x₂ equals x₁, it reports an undefined vertical line instead of dividing by zero.
Slope m equals rise over run: Δy divided by Δx between the points. Positive slopes rise to the right; negative slopes fall to the right; zero slope is horizontal.
When run is zero, slope is undefined (often described as infinite). The calculator shows a clear vertical-line message rather than Infinity or an error crash.
Slope is a ratio; distance is a length from the Pythagorean formula. Use Distance Calculator for how far, Slope Calculator for how steep. Both share sibling tabs.
Use the same unit on both axes. A slope of 2 means 2 vertical units per 1 horizontal unit of that scale—not a standalone length.
No. Math runs in your browser. Coordinates are not stored as uploaded file content for analytics.
Yes. Free with no login required on Power Tools.