Free Online Calculators

Slope Calculator

Calculate slope, distance, midpoint, and line equation between two points.

Two Points: (x₁,y₁) and (x₂,y₂)
Slope (m)
—
Slope (m)—
Y-Intercept (b)—
Line Equation—
Distance—
Midpoint—
Angle with x-axis—

Slope Formula

m = (y₂−y₁)/(x₂−x₁). Positive slope = rises left to right. Negative = falls. Zero = horizontal. Undefined = vertical (shown as 90°). The angle is measured from the positive x-axis, so a falling line has a negative angle. The equation shows m and b rounded to 4 decimals.

Press / to open  ·  Esc to close