Slope Calculator

Slope, y-intercept, distance, and line equation from two points.

Calculator Numbers & Math Updated Apr 19, 2026
Points
Line

Formulas

Slope m
(y₂ − y₁) / (x₂ − x₁)
Y-intercept b
y₁ − m·x₁
Distance
√((x₂−x₁)² + (y₂−y₁)²)

Last updated: