# Slope Calculator

Slope Calculator is an online tool that helps to calculate the slope of a given line. The equation of a line can also be determined using the slope. The equation of a line is given by y = mx + c, where m represents the slope and c is the intercept.

## What is Slope Calculator?

Slope Calculator helps to compute the slope of a straight line when the cartesian coordinates of two points on that line are known. The slope can be defined as the net change in the y coordinate with respect to the net change in the x coordinate. To use the **slope calculator** enter the values in the input boxes.

### Slope Calculator

## How to Use Slope Calculator?

Please follow the steps below to find the slope using the online slope calculator:

**Step 1:**Go to Cuemath's online slope calculator.**Step 2:**Enter the coordinates of x and y in the given input box, i.e., (x_{1},y_{1}) and (x_{2},y_{2}).**Step 2:**Click on the**"Calculate"**button to find the slope.**Step 3:**Click on the**"Reset"**button to clear the fields and enter new values.

## How to Find Slope?

The slope of a line is used to describe the steepness of that line with respect to a horizontal. It is also used to describe the direction of a line. To determine the slope of a line between any two distinct points we need to calculate the ratio of the vertical change with respect to the horizontal change. The slope of a line can be both negative and positive.

**Positive slope**- This indicates that the line is increasing. It goes in the upward direction from left to right.**Negative slope**- This indicates that the line is decreasing. It goes in the downward direction from left to right.**Zero slope**- This indicates that the function is a constant. A line with a zero slope will be parallel to the x-axis.**Undefined slope**- If the slope of a line is undefined it will be parallel to the y axis.

The standard form for the slope given two points A(\(x_{1}\), \(y_{1}\)) and B(\(x_{2}\), \(y_{2}\)) is given below.

Slope = change in y /change in x = \(y_{2}\) - \(y_{1}\) / \(x_{2}\) - \(x_{1}\)

## Solved Examples on Slope Calculator

**Example 1:**

Find the slope if the coordinates are (5,2) and (7,8) and verify it using the online slope calculator.

**Solution:**

slope = change in y/change in x

= \(y_{2}\) - \(y_{1}\) / \(x_{2}\) - \(x_{1}\)

= (8 - 2) / (7 - 5)

= 6 / 2

= 3

**Example 2:**

Find the slope if the coordinates are (12, -11) and (20,5) and verify it using the online slope calculator.

**Solution:**

slope = change in y/change in x

= \(y_{2}\) - \(y_{1}\) / \(x_{2}\) - \(x_{1}\)

= (5 - (-11)) / (20 - 12)

= 16 / 8

= 2

Similarly, you can try the online slope calculator to find the slope for the following:

- (5,32) (6,10)
- (-9,2) (6,11)
- (6,-12) (7,-8)

**☛ Related Articles:**

**☛ Math Calculators:**

visual curriculum