Slope, Distance and Midpoint Calculator

m = (y₂ − y₁) ÷ (x₂ − x₁); d = √(Δx² + Δy²); line y = mx + b.

How to use it

Enter two points. Outputs slope, intercept form, distance, midpoint and the inclination angle.

Example: with x₁ 1, y₁ 2, x₂ 4, y₂ 8, the result is slope 2.

Common questions

How is the intercept found?

b = y₁ − m·x₁.

Is the angle in degrees?

Yes, arctan(m) in degrees.

More calculators