Slope Calculator

The calculator will find the slope of the line passing through the two given points or the slope of the given line, with steps shown.

Related calculators: Line Calculator, Parallel and Perpendicular Line Calculator

Choose type:

Enter two points or

Point 1: (, )

Point 2: (, )

Enter a line:
y=-x-5 or 2x-7y=3.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.


Your input: find the slope given two points $$$P=\left(2, 3\right)$$$ and $$$Q=\left(5, 9\right)$$$.

The slope of a line passing through the two points `P=(x_1, y_1)` and `Q=(x_2, y_2)` is given by `m=(y_2-y_1)/(x_2-x_1)`.

We have that $$$x_1=2$$$, $$$y_1=3$$$, $$$x_2=5$$$, $$$y_2=9$$$.

Plug the given values into the formula for slope: $$$m=\frac{\left(9\right)-\left(3\right)}{\left(5\right)-\left(2\right)}=\frac{6}{3}=2$$$.

Answer: the slope of the line is $$$m=2$$$.