Slope Calculator

Slope, line equation, angle and distance of two points.

Your numbers

Slope m 2
Line equation
y = 2x + 0
Angle
63.434949°
Distance between points
6.708204
Midpoint
(2.5, 5)

About the Slope Calculator

Slope is rise over run: how much y changes for each step in x. From two points you also get the equation of the line, its angle, length and midpoint.

Formula

m = (y₂ − y₁) ÷ (x₂ − x₁); b = y₁ − m·x₁.

Questions

Frequently asked

How does the Slope Calculator work?

m = (y₂ − y₁) ÷ (x₂ − x₁); b = y₁ − m·x₁. Results update as you type.

Is this Slope Calculator free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way