How it works
Slope = (second y − first y) ÷ (second x − first x). Y-intercept = first y − slope × first x.
The two points must have different x coordinates for a finite slope. Coordinate units determine the slope units; vertical lines are reported as undefined.
How the slope changes with first x coordinate
Other inputs keep their starting values: First y coordinate: 2; Second x coordinate: 3; Second y coordinate: 6. Examples only, not recommendations.
| First x coordinate | Slope |
|---|---|
| 0.5 | 1.6 |
| 1 | 2 |
| 2 | 4 |
Cite this page
ToolOctopus. “Slope calculator.” Updated . https://tooloctopus.com/slope-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.