How to Find the Slope of a Line: A Complete Step-by-Step Guide

TL;DR: Picture a hill. Slope is just the math name for how steep that hill feels, how much it rises (or falls) for every step you take to the right. The formula is rise over run: change in y divided by change in x. A positive slope climbs left to right, a negative slope drops, a horizontal line has slope zero, and a vertical line is so steep its slope is undefined. Once you can see slope, line problems become read-and-go.

Key takeaways:

  • Slope = rise over run = change in y divided by change in x.
  • Formula: \(m=(y_2-y_1)/(x_2-x_1)\) for any two points on the line.
  • Positive slope rises (left to right); negative slope falls.
  • Horizontal line: slope = 0. Vertical line: slope is undefined.
  • Parallel lines have equal slopes; perpendicular slopes multiply to -1.

If you’ve ever stared at a graph and wondered “how steep is this line, really?”. That’s slope. The good news? Once you see how slope works, you’ll find it everywhere: in ramps, roofs, gas mileage, even your phone’s battery curve. In this guide, you’ll learn exactly how to find the slope of a line, with clear examples, the four most common situations you’ll meet in class, and the mistakes most students make.

By the end of this article, you’ll be able to find slope from two points, from a graph, from an equation, and from a real-world word problem, confidently and fast. We’ll also walk through why the formula works (not just what it is), so you’ll remember it long after the test.

What slope actually means

Slope is a single number that tells you two things at once:

  • Direction, is the line going up, down, or flat?
  • Steepness, how fast it’s climbing or falling.

We measure it as rise over run: how much the line moves up or down for every step it takes to the right.

\[\text{slope} = \dfrac{\text{rise}}{\text{run}} = \dfrac{y_2 – y_1}{x_2 – x_1}\]

That little formula is your best friend. The Greek letter usually used for slope is \(m\), which is why you’ll see \(y = mx + b\) everywhere in algebra. Slope can be a whole number (\(m = 3\)), a fraction (\(m = \tfrac{2}{5}\)), a negative (\(m = -4\)), zero, or undefined, and each of those tells a different story about the line.

A positive slope climbs left to right, like walking uphill. A negative slope falls left to right, like a slide. A slope of 0 is perfectly flat, the line never gains or loses height. And an undefined slope is a vertical line, so steep that you can’t even measure it without dividing by zero.

Method 1, Find the slope from two points

When you’re given two points like $(2, 3)$ and $(5, 9)$:

  1. Label them: \(x_1=2\), \(y_1=3\), \(x_2=5\), \(y_2=9\).
  2. Plug in: \(\dfrac{9-3}{5-2} = \dfrac{6}{3} = 2\).
  3. The slope is 2. The line rises 2 units for every 1 unit it runs right.

A second worked example. Find the slope through $(-3, 7)$ and $(6, 1)$.

  • Rise: \(1 – 7 = -6\).
  • Run: \(6 – (-3) = 9\).
  • Slope: \(\dfrac{-6}{9} = -\tfrac{2}{3}\).

So this line drops 2 units for every 3 units to the right.

Tip: It doesn’t matter which point you call “point 1.” As long as you’re consistent, same point for both \(x_1\) and \(y_1\), the answer comes out the same.

Method 2, Find the slope from a graph

Pick two points where the line clearly crosses grid intersections. Count the boxes: how many up (or down), then how many right. Up/right = positive slope. Down/right = negative slope.

A useful habit on test day: circle the two lattice points you’re using before you start counting. That stops you from accidentally counting half-boxes and getting a fraction that’s way off. If the scale of the graph isn’t 1:1 (for example, the x-axis goes by 2s and the y-axis goes by 5s), multiply your box-count by the scale before dividing.

Method 3, Find the slope from an equation

If your equation is already in slope-intercept form \(y = mx + b\), the slope is whatever number sits in front of \(x\). For example, in \(y = -\tfrac{1}{2}x + 4\), the slope is \(-\tfrac{1}{2}\).

If the equation is in standard form \(Ax + By = C\), just solve for \(y\) first. Example: \(3x + 2y = 12 \to 2y = -3x + 12 \to y = -\tfrac{3}{2}x + 6\), so the slope is \(-\tfrac{3}{2}\).

If the equation is in point-slope form \(y – y_1 = m(x – x_1)\), the slope is already there. It’s the \(m\) written right next to the parentheses. You don’t need to rearrange anything.

Method 4, Horizontal and vertical lines

  • A horizontal line has slope 0 (no rise). The equation looks like \(y = 5\) or \(y = -2\).
  • A vertical line has an undefined slope (you’d divide by zero). The equation looks like \(x = 4\).

Memorize this. It shows up on every standardized test, and confusing the two is a classic SAT trap.

Slope in word problems

Slope isn’t just a graph trick. It’s a rate of change. Anywhere one quantity changes with respect to another, slope is hiding. A car burning 1 gallon every 28 miles has a slope of \(-\tfrac{1}{28}\) gallons per mile. A phone battery losing 20% in 4 hours has a slope of $-5$% per hour.

When you see phrases like “per,” “for every,” “rate of,” or “average change,” your brain should fire “slope!”

Example. A landscaper charges \$45 for the first hour and \$25 for each additional hour. Find the slope of the cost function. The cost rises by \$25 for every 1 hour added → slope = 25 dollars per hour.

Parallel and perpendicular slopes

  • Parallel lines have the same slope. \(y = 3x + 1\) and \(y = 3x – 7\) are parallel.
  • Perpendicular lines have slopes that are negative reciprocals. The negative reciprocal of \(\tfrac{2}{3}\) is \(-\tfrac{3}{2}\).

A fast check: multiply the two slopes. If you get $-1$, they’re perpendicular.

Common mistakes to avoid

  • Subtracting in the wrong order. Pick a \(y_1\) and use the same point’s \(x\) as \(x_1\). Mixing them up flips the sign.
  • Forgetting that “no slope” and “zero slope” are not the same thing.
  • Reading the graph too fast, always confirm with two clean lattice points.
  • Confusing slope with the y-intercept. Slope is the number in front of \(x\), not the constant on the end.
  • Reversing rise and run. It’s rise (vertical change) over run (horizontal change), never the other way around.

Pro tips

  • When the slope works out to a “nice” fraction like \(\tfrac{2}{3}\) or \(-\tfrac{5}{4}\), don’t convert it to a decimal. The fraction tells you exactly how to draw the line, go up 2, right 3.
  • If your slope ends up as \(\tfrac{0}{\text{something}}\), the slope is 0 (horizontal). If it ends up as \(\tfrac{\text{something}}{0}\), the slope is undefined (vertical).
  • On the SAT, the answer choices will often include both a slope and its negative reciprocal. Re-read the question to be sure you’re being asked for the slope of the line, not the slope of a perpendicular.

Quick practice

  1. Find the slope of the line through $(-1, 4)$ and $(3, -4)$. Answer: \(\dfrac{-4 – 4}{3 – (-1)} = \dfrac{-8}{4} = -2\).
  2. The equation \(4x – 2y = 10\) describes a line. What is its slope? Answer: Solve for \(y\): \(y = 2x – 5\). Slope = 2.
  3. A line passes through $(0, 0)$ and rises 7 units for every 4 units to the right. What is its slope? Answer: \(\tfrac{7}{4}\).
  4. What is the slope of any line parallel to \(y = -\tfrac{3}{5}x + 8\)? Answer: \(-\tfrac{3}{5}\).
  5. What is the slope of a line perpendicular to \(y = -\tfrac{3}{5}x + 8\)? Answer: \(\tfrac{5}{3}\).

FAQ

What is the slope formula?

The slope formula is \(m = \dfrac{y_2 – y_1}{x_2 – x_1}\), also known as rise over run.

What does a negative slope mean?

A negative slope means the line falls as you read it from left to right.

Can the slope be zero?

Yes. Horizontal lines have a slope of zero. They don’t rise at all.

What’s the difference between undefined and zero slope?

A horizontal line has slope 0. A vertical line has an undefined slope, because the run is 0 and you can’t divide by zero.

How do I find slope on the SAT or ACT?

Memorize the formula, practice on coordinate-grid problems, and watch for graphs where the test uses non-standard scales.

How do I find the slope between two negative coordinates?

Use the same formula. Subtraction of negatives often flips the sign, be careful with parentheses, especially in the denominator.

Can a slope be greater than 1?

Absolutely. Slopes like 2, 5, or 100 are perfectly valid. They just describe very steep lines.

How do you find the slope of a line that isn’t straight?

For a curve, the slope changes from point to point. You’d use the derivative in calculus to find the slope at any specific point.

One last reminder

Progress in math compounds. A 1% improvement every day for 100 days yields nearly a 3x improvement overall, because each new concept builds on the last. The students who pull ahead aren’t the ones who study the longest. They’re the ones who study consistently, review their mistakes, and refuse to skip the foundations. Show up tomorrow. Then show up the day after. The results take care of themselves.

If you found something useful here, save this article and revisit it after your next practice session. You’ll catch nuances on the second read that you missed on the first, because by then you’ll have the experience to recognize them. Happy practicing.

Once you’re comfortable with slope, you’re ready to jump into linear equations and graphing. And if you’re prepping for Algebra 1 or the SAT/ACT, our Algebra Bundle walks you through every related topic.

Recommended EffortlessMath Books

For a full algebra workbook that builds slope into a complete skill set, the Pre-Algebra for Beginners walks through coordinate geometry from the ground up. If you’re prepping for a specific test, the Algebra I for Beginners covers slope alongside linear equations, systems, and quadratics with worked examples on every page.

Original price was: $27.99.Current price is: $17.99.
Satisfied 92 Students

Frequently Asked Questions

What is the formula to find the slope of a line?

The slope formula is m = (y₂ − y₁) / (x₂ − x₁), which is rise over run: the change in y divided by the change in x. For the points (2, 3) and (6, 11), m = (11 − 3) / (6 − 2) = 8/4 = 2. That means the line goes up 2 units for every 1 unit it moves to the right.

How do you find the slope of a line with two points?

Label one point (x₁, y₁) and the other (x₂, y₂), then subtract in the same order on the top and bottom. For (−2, 5) and (4, −1), m = (−1 − 5) / (4 − (−2)) = −6/6 = −1. The negative slope tells you the line falls from left to right. Subtracting a negative x-value is where most sign mistakes happen, so write the parentheses.

How do you find the slope of a line on a graph?

Pick two points where the line crosses grid corners exactly, then count the rise (up or down) and the run (to the right) between them. If you go up 3 and right 4 to get from one point to the next, the slope is 3/4. If you go down instead, the rise is negative. Choosing points far apart makes it easier to spot counting errors.

How do you find the slope of a line in standard form?

Solve the equation for y to get slope-intercept form y = mx + b, and the coefficient of x is the slope. For 3x − 4y = 12, subtract 3x to get −4y = −3x + 12, then divide by −4: y = (3/4)x − 3, so the slope is 3/4. A quick shortcut for Ax + By = C is m = −A/B, which gives −3/(−4) = 3/4.

How do you find the slope of a line perpendicular to another line?

Take the negative reciprocal of the original slope: flip the fraction and change its sign. If a line has slope −2/5, a perpendicular line has slope 5/2. Check by multiplying: (−2/5) × (5/2) = −1, which is always true for perpendicular slopes. For a line with slope 3, the perpendicular slope is −1/3. Parallel lines, by contrast, keep the same slope.

Can you find the slope of a vertical line?

A vertical line has an undefined slope. Every point on it has the same x-value, so the run x₂ − x₁ is 0, and you cannot divide by zero. For the line x = 4, using (4, 1) and (4, 7) gives 6/0, which is undefined. Do not confuse this with a horizontal line like y = 4, whose slope is 0 because the rise is 0.

Related EffortlessMath Lessons

If a topic on this page feels rusty, these short lessons go deeper:

Related to This Article

What people say about "How to Find the Slope of a Line"?

No one replied yet.

Leave a Reply