✓ Effortless Math · Free Tool

Slope Calculator

Enter two points and instantly get the slope, rise and run, y-intercept, the line's equation, its angle, and a live graph — with full step-by-step working.

Slope formula:  m = (y₂ − y₁) / (x₂ − x₁) = rise / run
P₁( x₁, y₁ ) P₂( x₂, y₂ )

Enter any two different points. A vertical line (same x) has an undefined slope; a horizontal line (same y) has slope 0.

Results

Slope (m)
Rise (Δy)
Run (Δx)
Y-intercept (b)
Angle of line
Slope-intercept form
Point-slope form

Graph

LineYour pointsY-intercept

Step-by-step