Slope Calculator

To find the slope of a straight line, enter the coordinates of the points in the slope formula calculator.


Give Us Feedback

This slope finder is an online tool that helps its users in computing the slope of a line using two points. In the result section of this calculator, one can also find slope graphs and slope angles.

What is Slope?

Slope and gradient are two names for one thing and that is “rise over run”. In simple words, change in the y-axis is divided by change in the x-axis. 


A slope gives information about the line. It tells us if the value of x is increased by “1”, by “how much” the value of y will increase. The slope is usually represented by m.  

The slope is also used to make the linear equation using slope intercept form.

Slope Formula

The formula of the slope is:

m = Δy/Δyyx2-x1


  • y is the position of the point on the y-axis.
  • x is the position of a point on the x-axis.

Types of slope

In mathematics, there are four types of slope and all of these types can be calculated by using this slope calculator.

  1. Positive Slope
  2. Negative Slope
  3. Zero Slope 
  4. Undefined Slope

Positive Slope

In this type of slope, the line of the graph goes upward as x increases. For example, when a person moves upward to the right then the slope of the line is positive. The result of this type of slope is always greater than zero (m > 0).

Negative Slope 

In negative slope, the line of the graph goes downward. For example, when a person moves downward to the right then the slope of the line is negative. The answer of the negative slope is less than zero (m < 0).

Zero Slope 

A horizontal line in a graph denotes the zero slope. It is denoted by m=0. The value of the y coordinate (rise) is zero in this type of slope. 

Undefined Slope

A vertical line on a graph denotes an undefined slope. In this type of slope, m is undefined. The value of x coordinate (run) is zero in an undefined slope. 

How to find Slope?


A straight line exists in the cartesian plane. The two points of the line are (2,4) and (7,5). Find the slope of line using these points. 


Step 1: Identify the points.

X1 = 2

X2 = 7

Y1 = 4

Y2 = 5

Step 2: Use the values in the formula.

m = (y2 - y1)/(x2 - x1)

m = (5 - 4)/(7 - 2)

m = 1/5

m = 0.2

AdBlocker Detected!

To calculate result you have to disable your ad blocker first.