# How to Find Slope: 3 Methods for Points, Graphs & Equations (Plus the 4 Types of Slope)

Find the slope of a line three different ways — from two coordinate points, by counting on a graph, or by reading it straight from an equation — and learn to identify positive, negative, zero, and undefined slope on sight.

---

- **Canonical URL:** https://dothecalculation.com/blog/math/how-to-find-slope-points-graph-equation-guide
- **Category:** Math
- **Author:** Do The Calculation Team
- **Published:** 2026-08-12
- **Last updated:** 2026-08-12
- **Reading time:** 15 min read
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Methodology:** https://dothecalculation.com/methodology

---

## How to Find Slope: 3 Methods for Points, Graphs & Equations

Slope shows up in algebra class in three different disguises — a pair of coordinates, a line drawn on a graph, and an equation on the page — and each one calls for a slightly different technique to solve. This guide walks through all three methods side by side, plus how to recognize the four types of slope on sight, so you are never stuck no matter which form the problem gives you.

Looking for slope incline in construction, roads, ramps, or roofs instead? See our [complete guide to slope incline](/blog/math/how-to-calculate-slope-step-by-step-guide) for real-world grading, ADA ramp standards, and roof pitch. This guide focuses purely on the coordinate-geometry side — the version tested in algebra class.

In this article, you'll find:

- The slope formula and what rise and run mean
- The 4 types of slope — positive, negative, zero, and undefined
- Method 1: finding slope from two points, with a worked example for each type
- Method 2: finding slope by counting on a graph
- Method 3: reading slope directly from an equation
- Practice questions with answers
- Common mistakes and how to avoid them
- FAQs

Tool: [Try the Slope Calculator](https://dothecalculation.com/calculators/slope-calculator) — Find the slope of a line from two coordinates, calculate the line equation, and visualize it on an interactive graph.

## The Slope Formula

**Slope Formula**

```
m = (y₂ − y₁) / (x₂ − x₁)
```
- m = slope
- y₂ − y₁ = vertical change (rise)
- x₂ − x₁ = horizontal change (run)
- In short: slope = rise ÷ run

> **Order Matters — But Only Consistently** — It does not matter which point you call (x₁, y₁) and which you call (x₂, y₂), as long as you subtract in the same order for both the y's and the x's.

## The 4 Types of Slope

Before calculating, it helps to recognize what kind of slope you are looking for. There are exactly four possibilities:

**The 4 Types of Slope**
| Type | Sign | Direction | What It Looks Like |
| --- | --- | --- | --- |
| Positive | m > 0 | Up from left to right | A line climbing like a hill you drive up |
| Negative | m < 0 | Down from left to right | A line falling like a ski slope going downhill |
| Zero | m = 0 | Horizontal (flat) | A perfectly flat, level line |
| Undefined | No numeric value | Vertical (straight up and down) | A line straight up and down, like a wall |

> **Why Undefined, Not Zero?** — A vertical line has a run of 0, and dividing by 0 is undefined in math — that is different from a slope that equals 0, which is a horizontal line with no rise at all.

## Method 1: Finding Slope from Two Points

This is the most common method in algebra — when you have two coordinate points, plug them straight into the slope formula. Here is a worked example for each of the four types.

### Example 1: Positive Slope — (2, 3) and (5, 9)

**Solution**
| Step | Action | Calculation |
| --- | --- | --- |
| 1 | Identify points | (x₁, y₁) = (2, 3), (x₂, y₂) = (5, 9) |
| 2 | Find rise (Δy) | 9 − 3 = 6 |
| 3 | Find run (Δx) | 5 − 2 = 3 |
| 4 | Divide rise by run | 6 ÷ 3 = 2 |

> **Answer** — m = 2 (positive slope). The line goes up 2 units for every 1 unit it moves right.

### Example 2: Negative Slope — (4, 8) and (7, 2)

**Solution**
| Step | Action | Calculation |
| --- | --- | --- |
| 1 | Identify points | (x₁, y₁) = (4, 8), (x₂, y₂) = (7, 2) |
| 2 | Find rise (Δy) | 2 − 8 = -6 |
| 3 | Find run (Δx) | 7 − 4 = 3 |
| 4 | Divide rise by run | -6 ÷ 3 = -2 |

> **Answer** — m = -2 (negative slope). The line goes down 2 units for every 1 unit it moves right.

### Example 3: Zero Slope — (2, 5) and (7, 5)

**Solution**
| Step | Action | Calculation |
| --- | --- | --- |
| 1 | Identify points | (x₁, y₁) = (2, 5), (x₂, y₂) = (7, 5) |
| 2 | Find rise (Δy) | 5 − 5 = 0 |
| 3 | Find run (Δx) | 7 − 2 = 5 |
| 4 | Divide rise by run | 0 ÷ 5 = 0 |

> **Answer** — m = 0 (zero slope). Whenever both points share the same y-coordinate, the line is horizontal.

### Example 4: Undefined Slope — (3, 2) and (3, 8)

**Solution**
| Step | Action | Calculation |
| --- | --- | --- |
| 1 | Identify points | (x₁, y₁) = (3, 2), (x₂, y₂) = (3, 8) |
| 2 | Find rise (Δy) | 8 − 2 = 6 |
| 3 | Find run (Δx) | 3 − 3 = 0 |
| 4 | Divide rise by run | 6 ÷ 0 = undefined |

> **Answer** — Undefined. Whenever both points share the same x-coordinate, the line is vertical and the slope is undefined — you cannot divide by zero.

## Method 2: Finding Slope from a Graph

If you can see the line on a graph, you can find the slope by counting squares instead of subtracting coordinates.

- Pick two clear points where the line crosses grid intersections
- Count the vertical change (rise) — how many units up or down between the points
- Count the horizontal change (run) — how many units left or right between the points
- Divide rise by run: m = rise ÷ run

> **Quick Direction Check** — If the line climbs from left to right, the slope is positive. If it falls from left to right, the slope is negative — check this before you even count squares, as a sanity check on your final sign.

### Worked Example: Reading a Graph

Problem: on a graph, a line goes down 3 units and right 6 units. What is the slope?

**Solution**

```
rise = -3 (going down), run = 6 (going right)
```
- m = -3 ÷ 6 = -0.5
- Answer: m = -0.5 — the line goes down 0.5 units for every 1 unit it moves right

## Method 3: Finding Slope from an Equation

If a line's equation is already written in slope-intercept form, you can read the slope directly without any calculation at all.

**Slope-Intercept Form**

```
y = mx + b
```
- m = slope
- b = y-intercept (where the line crosses the y-axis)

### Worked Example: Rearranging to Slope-Intercept Form

Problem: find the slope of the line 3y − 2x + 7 = 0.

**Solution**
| Step | Action | Calculation |
| --- | --- | --- |
| 1 | Start with the equation | 3y − 2x + 7 = 0 |
| 2 | Move x and constant terms to the right | 3y = 2x − 7 |
| 3 | Divide every term by 3 | y = (2/3)x − 7/3 |
| 4 | Compare to y = mx + b | m = 2/3, b = -7/3 |

> **Answer** — m = 2/3 (positive slope). Once an equation is in y = mx + b form, the slope is simply the coefficient in front of x.

**More Examples: Reading Slope Straight from an Equation**
| Equation | Slope (m) | Y-Intercept (b) |
| --- | --- | --- |
| y = 2x + 3 | 2 | 3 |
| y = -4x + 1 | -4 | 1 |
| y = 0.5x − 2 | 0.5 | -2 |
| y = 5x | 5 | 0 |
| y = -x + 7 | -1 | 7 |
| y = 3 | 0 | 3 (horizontal line) |
| x = 5 | Undefined | No y-intercept (vertical line) |

## A Note on Real-World Slope

The same rise-over-run math applies to physical inclines — road grades, roof pitches, wheelchair ramps — but those problems usually give you a percentage or ratio instead of coordinate points. For unit conversions between ratio, percentage, decimal, and angle, plus construction and accessibility standards, see our [dedicated slope incline guide](/blog/math/how-to-calculate-slope-step-by-step-guide).

## Practice Questions (With Answers)

**Practice Problems**
| # | Problem | Answer |
| --- | --- | --- |
| 1 | Find the slope through (1, 2) and (4, 8) | m = 2 |
| 2 | Find the slope through (-2, 5) and (3, -5) | m = -2 |
| 3 | Find the slope through (2, 4) and (6, 4) | m = 0 |
| 4 | Find the slope through (3, 1) and (3, 7) | Undefined |
| 5 | Find the slope of y = 3x − 5 | m = 3 |
| 6 | Find the slope of 2y = 4x + 6 | m = 2 |
| 7 | A line on a graph goes down 4 units and right 8 units — find the slope | m = -0.5 |

## Common Mistakes When Finding Slope

_[Figure: Common Slope Mistakes & Correct Fixes — These are the mistakes that show up most often when calculating slope from points, graphs, and equations — separate from field-measurement mistakes on real inclines.]_

## Frequently Asked Questions

**Does it matter which point I call (x₁, y₁) and which I call (x₂, y₂)?**

No — as long as you are consistent. Subtract the y-values in the same order you subtract the x-values, and you will get the same slope either way.

**What happens if both points have the same x-coordinate?**

The run is 0, which means the slope is undefined (division by zero). This describes a vertical line.

**What happens if both points have the same y-coordinate?**

The rise is 0, which makes the slope exactly 0. This describes a horizontal line.

**How do I find slope without a graph, a calculator, or two given points?**

If you have the line's equation, rearrange it into slope-intercept form (y = mx + b) — the slope is simply the number multiplying x, with no further calculation needed.

**What is the fastest of the three methods?**

Reading slope from an equation already in y = mx + b form is fastest, since it requires no arithmetic. From two points requires one subtraction and one division. From a graph requires careful counting, which is usually the slowest and most error-prone of the three.

**How do I check that my slope answer is correct?**

Plug your two original points back into the slope formula and recompute, or pick a third point on the same line and confirm the slope between it and one of your original points matches.

**What is slope-intercept form?**

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept — the point where the line crosses the y-axis.

**Can slope be a fraction or a decimal?**

Yes. Slope is simply rise divided by run, so it can be a whole number, a fraction, or a decimal depending on the two points or equation involved.

**Is a vertical line's slope zero or undefined?**

Undefined, not zero. A slope of zero describes a horizontal line. A vertical line has no defined slope because it would require dividing by zero.

**How do I find the slope from a table of x and y values instead of a graph or equation?**

Pick any two rows from the table and treat their x and y values as your two coordinate points, then apply the standard slope formula: m = (y₂ − y₁) / (x₂ − x₁).

**Do parallel lines have the same slope?**

Yes. Parallel lines always have identical slopes. Perpendicular lines, by contrast, have slopes that are negative reciprocals of each other.

**Why do I need to simplify my slope fraction?**

An unsimplified fraction like 4/8 is not wrong, but 1/2 is the standard, expected form — most teachers and answer keys expect slope expressed in lowest terms.

**Is this slope guide free?**

Yes — completely free, with no registration required.

## Related Math Calculators & Guides

- [Slope Calculator](/calculators/slope-calculator) — Find slope, angle of inclination, and line equations interactively.
- [How to Calculate Slope Incline: A Complete Guide for Students & Professionals](/blog/math/how-to-calculate-slope-step-by-step-guide) — real-world incline, construction standards, and format conversions.
- [Slope in Business and Economics](/blog/math/slope-in-business-and-economics-guide) — the same slope formula applied to stock beta, cost lines, and demand curves.
- [How to Calculate Slope Percentage in Excel and Google Sheets](/blog/math/slope-percentage-excel-google-sheets-guide) — the spreadsheet formulas for rise/run, ratio-to-percentage conversion, and the SLOPE() function.
- [Slope Meets Calculus: Secant Lines, Tangent Lines & the Derivative](/blog/math/slope-secant-tangent-derivative-guide) — what happens to the slope formula once you're working with a curve instead of a straight line.
- [How to Find Slope from an Equation (y = mx + b)](/blog/math/how-to-find-slope-from-equation) — a deep dive on slope-intercept form: reading m and b, rearranging standard form, and horizontal and vertical lines
- [Midpoint Calculator](/calculators/midpoint-calculator) — Compute midpoints and distances between coordinate pairs.
- [Fraction Calculator](/calculators/fraction-calculator) — Simplify rise-over-run fractions into lowest terms.
- [Cross Multiplication Calculator](/calculators/cross-multiplication-calculator) — Solve proportions and equations involving fractions.
- [Decimal to Fraction Calculator](/calculators/decimal-to-fraction-calculator) — Convert decimal slopes into exact fractions.

## Final Summary

Whether you are handed two points, a graph, or an equation, the underlying idea never changes — slope is rise over run. Recognize which of the four types you are looking at, pick the method that matches what you were given, and the calculation itself is always short.

**Remember**

```
m = (y₂ − y₁) / (x₂ − x₁) = rise ÷ run
```
- Same x-coordinates → undefined slope (vertical line)
- Same y-coordinates → zero slope (horizontal line)
- From an equation in y = mx + b form, m is the slope with no calculation needed

Try it yourself — use our Slope Calculator above to check any pair of points, step by step, completely free.

---

_Source: [Do The Calculation](https://dothecalculation.com/blog/math/how-to-find-slope-points-graph-equation-guide). Quote freely with attribution and a link to this page._
