Geometry Basic

Slope of a Line (Rise over Run)

Enter two points and get the slope m, classification (positive/negative/zero/undefined), and both point-slope and slope-intercept forms of the line equation.

Rise and run
Line equation y = mx + b
Live graph
Input — Two Points
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
Try:
Result
Enter two points to compute slope.
Step-by-Step Solution
Graph — Rise and Run
Slope Formula
m = (y₂−y₁) / (x₂−x₁) = rise / run

Slope measures how steeply a line rises or falls. A positive slope goes up left-to-right; negative goes down. Zero slope is horizontal; undefined slope is vertical.

Slope Classifications
m > 0 — Positive (rises left to right)
m < 0 — Negative (falls left to right)
m = 0 — Zero (horizontal line)
undefined — Vertical line (x₁ = x₂)

Need help with slope and linear equations?

A tutor can help you master slope, intercepts, and graphing lines at your own pace.

Book a Free Consultation →