How to use
Enter the x- and y-coordinates of two distinct points on the line. The calculator subtracts the y-values and divides by the change in x. For example, points (2, 3) and (6, 11) give a slope of (11 − 3) ÷ (6 − 2) = 2.
What the result means
The line rises two units for every one-unit move to the right. The tool also calculates the y-intercept and writes the equation in slope-intercept form when the line is not vertical. If both x-coordinates are equal, the line is vertical and has an undefined slope; the calculator reports its equation as x = constant. Use the same coordinate scale for both points.
Further reading: OpenStax — Understand Slope of a Line · OpenStax — Linear Functions · OpenStax — The Language of Physics: Physical Quantities and Units.
Related calculators