Online Calculator

Slope calculator from two points

Enter two coordinates and calculate the slope along with the changes in x and y.

Point 1

Point 2

Δx

4

Δy

8

Slope

2

Information

⚡

Instant result

The result is updated directly from the data entered.

🔒

Local processing

The calculations are done in your browser without sending the values to a server.

💸

Free

No registration, subscription, or paid API required.

Frequently asked questions

What is the formula of the slope?

m = (y₂ - y₁) ÷ (x₂ - x₁).

What if the two points have the same x?

The slope is undefined because the line is vertical.

Can the slope be negative?

Yes.

Is it for decimal coordinates?

Yes.

Related calculators