Slope & Line Calculator

Slope, equation, midpoint and distance between two points.

Free to use · No account required

Enable JavaScript to use the interactive Slope & Line Calculator. The input fields and calculations run in your browser.

How it works

Slope m = (y₂ − y₁)/(x₂ − x₁) · Line: y = mx + b with b = y₁ − m·x₁ · Distance = √((x₂−x₁)² + (y₂−y₁)²).

Related tools