Slope Calculator (Slope, Y-Intercept and Line Equation from Two Points)
Quick answer: enter two points (x1, y1) and (x2, y2). Slope = (y2 - y1) / (x2 - x1). Example: (1, 2) and (5, 10) give slope 2 and the line y = 2x + 0.
| Slope value | Line direction |
|---|---|
| Positive | Rises left to right |
| Negative | Falls left to right |
| Zero | Flat (horizontal) |
| Undefined | Vertical line |
How do you find the slope of a line?
Short answer: slope m = rise / run = (y2 - y1) / (x2 - x1).
Subtract the y values for the rise and the x values for the run, then divide. Keep the same order of points in both subtractions or the sign will flip.
How do I write the line equation?
Short answer: use y = mx + b, where b = y1 - m x x1.
The calculator gives b for you, so the final equation is ready to graph or paste into homework.
Related searches
People also look for: point calculate, calculator equation, slope intercept calculator, free on line calculator, calculate slope calculator, how to calculate roof slope, calculate the slope, slope of a line calculator, calculate slope of a line calculator, online slope calculator, how do i calculate slope of a line, y calculator.