Skip

Slope Calculator

Slope Calculator: free, instant and precise. Enter your values and the results update live.

What if? Simulation

The curve recalculates the result for every value of the chosen input, all others unchanged. The dot is your current case.

Formula shown and computed in your browser. Updated November 2026.

Full calculator on Kalqo

Formula

m = (y₂ - y₁) / (x₂ - x₁)

Worked example

With these values

x₁
1
y₁
2
x₂
4
y₂
8

The calculator gives

Slope
2
Y-intercept
0
Equation
y = 2x + 0
Distance
6.708204
Angle
63.43 °

These values are only an illustration. Replace them with yours in the form above.

How "Slope" changes with "x₁"

x₁Slope
0.51.714286
0.81.875
12
1.22.142857
1.52.4

All other values stay as in the example.

How to use this calculator

Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.

Read the guide

Questions

How is the result calculated?

The calculator applies this rule: m = (y₂ - y₁) / (x₂ - x₁)

Is it free?

Yes. It is free, needs no account, and works on phone and desktop.

Are my numbers stored?

Everything runs in your browser. Nothing you type is sent to a server.