Fieldnote Math Studio

Clear, printable math practice for real classrooms

How to find slope from two points

Free kit: Free Upper Grades Starter set bundles this with the other tools you need.

Slope measures how steep a line is and which direction it goes. If you know two points on a line, you can always find its slope with one short formula. This is a core skill in eighth grade math and algebra, and it comes up again in science graphs, road grades and wheelchair ramp rules. This guide walks through the formula, several worked examples including the tricky cases, and how to check your answer.

The slope formula

For two points (x₁, y₁) and (x₂, y₂):

m = (y₂ − y₁) ÷ (x₂ − x₁)

The letter *m* stands for slope. In words, slope is rise over run: the change in y divided by the change in x.

Step by step

1. Label the points. Call one (x₁, y₁) and the other (x₂, y₂). It does not matter which one is first, as long as you stay consistent.

2. Subtract the y-values: y₂ − y₁.

3. Subtract the x-values in the same order: x₂ − x₁.

4. Divide and simplify.

Example 1: positive slope

Points: (2, 3) and (6, 11)

1. Rise: 11 − 3 = 8

2. Run: 6 − 2 = 4

3. Slope: 8 ÷ 4 = 2

m = 2. The line goes up 2 units for every 1 unit to the right.

Example 2: negative slope

Points: (−1, 7) and (3, −1)

1. Rise: −1 − 7 = −8

2. Run: 3 − (−1) = 4

3. Slope: −8 ÷ 4 = −2

m = −2. The line goes down as you move to the right. Watch the signs carefully; subtracting a negative is where most errors happen. If integer subtraction feels shaky, practice with an integers worksheet first.

Example 3: fraction slope

Points: (0, 1) and (6, 5)

1. Rise: 5 − 1 = 4

2. Run: 6 − 0 = 6

3. Slope: 4/6, which simplifies to 2/3

m = 2/3. Leave slopes as simplified fractions rather than long decimals unless told otherwise.

Example 4: switching the order

Use the same points as Example 1, but in reverse: (6, 11) and (2, 3).

1. Rise: 3 − 11 = −8

2. Run: 2 − 6 = −4

3. Slope: −8 ÷ −4 = 2

Same answer. The order does not matter as long as both subtractions use the same order.

Special cases

### Zero slope

Points: (1, 4) and (7, 4)

A slope of 0 is a horizontal line.

### Undefined slope

Points: (3, 2) and (3, 9)

A vertical line has an undefined slope because you cannot divide by zero. Do not write "0" or "infinity"; write "undefined."

Reading slope from a graph

If the points are on a graph, you can count instead of using the formula:

1. Start at the left point.

2. Count how many units up (positive) or down (negative) to reach the other point's height.

3. Count how many units right to reach the other point.

4. Write rise over run.

Counting and the formula should give the same answer, which is a great way to check.

Using slope in an equation

Once you have the slope, you can write the line's equation in slope-intercept form, y = mx + b. Using Example 1, m = 2 and the point (2, 3):

The equation is y = 2x − 1. Check with the other point: 2(6) − 1 = 11. It works.

Slope in real life

Check your work

1. Does the sign make sense? Lines rising to the right have positive slope.

2. Count on a sketch.

3. Confirm with our slope calculator after working by hand.

4. If you also need the distance between the points, use the distance and midpoint calculator.

FAQ

Is slope the same as steepness?

Mostly. The size of the slope shows steepness, and the sign shows direction.

Can slope be a decimal?

Yes, but fractions are usually preferred in algebra because they are exact.

Why is it called m?

No one knows for certain. It is simply the standard letter in US textbooks.

Related guides

Save to Pinterest · Email to a friend

Topic: Pre-algebra and algebra