Calculator tool
How this calculator works
Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.
What Slope Measures
Slope tells you how much a line rises or falls as it moves to the right:
It is often described as rise over run.
A Simple Example
From to , the rise is and the run is , so the slope is:
How to Read the Result
- Positive slope: the line rises from left to right.
- Negative slope: the line falls from left to right.
- Zero slope: the line is horizontal.
- Undefined slope: the line is vertical because the horizontal change is zero.
The calculator also reports the line equation and point-to-point distance when those values are available.
Frequently asked questions
Why is the slope of a vertical line undefined?
Because the horizontal change is zero, and slope would require division by zero.
What does a negative slope mean?
It means the line decreases as increases, so the graph falls from left to right.
Why does the calculator also show y-intercept?
Once slope is known, one entered point can be substituted into to recover the line equation.
Can two different point pairs describe the same line?
Yes. Any two distinct points on the same straight line produce the same slope.