How to calculate
Subtract the y-coordinates for the rise and the x-coordinates for the run. Divide rise by run. A zero run with a nonzero rise gives an undefined gradient.
Worked example
Use First point x 1 · First point y 3 · Second point x 4 · Second point y 9. The result is 2.
Input notes
Enter integers, decimals, or fractions. Fractions in the result are in lowest terms.
OpenStax linear equation forms