Slope Calculator
Calculate the slope, angle, and y-intercept of a line through two points.
- Slope
- 2
- Angle
- 63.4349°
- Y-intercept
- 0
Enter two points to get the slope (rise over run), the angle in degrees, and the y-intercept of the line. Vertical lines are handled.
How to use
- Enter the x and y of the first point.
- Enter the x and y of the second point.
- Read the slope, angle, and y-intercept.
Frequently asked questions
- How is slope calculated?
- Slope equals the change in y divided by the change in x ((y2-y1)/(x2-x1)).
- Why is the slope undefined?
- When both points share the same x, the line is vertical and its slope and y-intercept are undefined.