Slope Calculator
Use this slope calculator to find the slope between two points on a line. Enter Xโ coordinate, Yโ coordinate, Xโ coordinate, and Yโ coordinate to get the slope, rise, and run.
How to use this calculator
- Enter the first point as Xโ and Yโ.
- Enter the second point as Xโ and Yโ.
- Read the slope as a decimal rounded to four places.
- Check the rise and run values to see the calculation parts.
If the x coordinates are the same, the calculator reports that slope is not defined because the line is vertical. For angle conversions used in geometry or construction, see the angle converter.
Formula
slope = (yโ - yโ) / (xโ - xโ)
Slope describes how much y changes for each change in x.
Worked example
For points (0, 0) and (4, 2), the rise is 2 and the run is 4.
That means y increases by 0.5 for every 1 unit increase in x.
Interpreting slope
Positive slope rises from left to right, negative slope falls, zero slope is horizontal, and undefined slope is vertical. In applied problems, slope may be connected to grade, speed, or rate of change. For broader data summaries, the statistics calculator can describe a set of values, while the percentage change calculator compares before and after amounts.