Slope Calculator
Enter two points and get the slope, the distance between them and the equation of the line that connects them.
How it works
- 1
Enter the first point
x1 and y1.
- 2
Enter the second point
x2 and y2.
- 3
Read the results
Slope, distance and the line equation y = mx + b.
Related tools
Other tools people use right after this one.
Built to get out of your way
487
Tools available
6
Languages
0
Watermarks added
2h
Until your files are erased
100%
Free to start
∞
Devices supported
Frequently asked questions
The line goes downward from left to right.
How slope is calculated
Slope is (y2 − y1) ÷ (x2 − x1), the change in y over the change in x. A slope of 2 means y rises 2 units for every 1 unit x increases.
The distance between the two points comes from the Pythagorean theorem, and the line equation is found using the slope and one of the points to solve for the y-intercept.