Skip to main content
ScanSolve logoScanSolve
Toggle sidebar
  • Home
  • Tutor
  • Humanizer
  • AI Detector
  • Questions
  • Blog
  • Mobile App

  • Home
  • Tutor
  • Humanizer
  • AI Detector

  • Questions
    Math homework helpMath
    Physics homework helpPhysics
    Chemistry homework helpChemistry
    Biology homework helpBiology
    Computer Science homework helpComputer Science
    History homework helpHistory
    More homework helpMore
  • Blog

  • Mobile App

Browse Subjects

  • Math
  • Physics
  • Chemistry
  • Biology
  • Computer Science
  • History
  • All Subjects
ScanSolvePLUS
  • Unlimited answers
  • ScanSolve AI Pro
Start Free Trial →
Try on WhatsApp
App StoreGoogle Play

Scan it, Solve it

support@getscansolve.com

© 2026 ScanSolve. All rights reserved.

Company

About UsCareersContact Us

Resources

Questions HubAI HumanizerAI DetectorBlog

Support

FAQTerms of ServicePrivacy Policy

Download App

Download ScanSolve on App StoreGet ScanSolve on Google PlayChat on WhatsApp
Home/Blog/How to Find Slope: Step-by-Step Guide with Examples
Mathematics

How to Find Slope: Step-by-Step Guide with Examples

Updated March 15, 20269 min read
Graph showing a line with rise and run labeled to demonstrate how to calculate slope

What Is Slope?

Slope measures how steep a line is. Mathematically, it is the ratio of the vertical change (rise) to the horizontal change (run) between any two points on a line. If you walk along a line from left to right, the slope tells you how much you go up or down for every step you take sideways.

Slope is represented by the letter m in equations. When you see y = mx + b, the m is the slope. A slope of 3 means the line rises 3 units for every 1 unit it moves to the right. A slope of -2 means the line falls 2 units for every 1 unit to the right. A slope of 1/4 means the line rises just 1 unit for every 4 units to the right — a gentle incline.

Understanding slope is foundational to algebra, calculus, physics, and engineering. It describes rates of change: speed is the slope of a distance-time graph, acceleration is the slope of a velocity-time graph, and profit margin is the slope of a revenue-cost relationship. Mastering slope now pays off in every math and science class that follows.

The Slope Formula

Given two points (x1, y1) and (x2, y2), the slope formula is: m = (y2 - y1) / (x2 - x1). This formula calculates the change in y divided by the change in x — or rise over run.

Example: Find the slope of the line through (2, 3) and (6, 11). Plug into the formula: m = (11 - 3) / (6 - 2) = 8 / 4 = 2. The slope is 2, meaning the line rises 2 units for every 1 unit to the right.

Example: Find the slope through (-1, 5) and (3, -3). m = (-3 - 5) / (3 - (-1)) = -8 / 4 = -2. The negative slope means the line goes downward from left to right.

Important: it does not matter which point you call (x1, y1) and which you call (x2, y2), as long as you are consistent. If you subtract the y-values in one order, you must subtract the x-values in the same order. Mixing the order is the most common mistake students make with this formula.

Rise Over Run: The Visual Method

If the line is drawn on a graph, you can find the slope visually without the formula. Pick any two points where the line crosses grid intersections (these are easy to read accurately). From the left point, count how many units you go up or down to reach the same height as the right point — that is the rise. Then count how many units you go right — that is the run. Slope = rise / run.

If you go up, the rise is positive. If you go down, the rise is negative. The run is always positive because you always count from left to right. This gives you the correct sign automatically.

Example: A line passes through the grid points (1, 2) and (4, 8). Starting from (1, 2), you go up 6 units (rise = 6) and right 3 units (run = 3). Slope = 6/3 = 2. Same answer as the formula, but you found it by counting on the graph.

Rise over run is especially useful on exams where you are given a graph and asked to determine the equation of a line. Read the slope directly from the graph, identify the y-intercept (where the line crosses the y-axis), and write y = mx + b.

Types of Slope

Four graphs showing positive slope, negative slope, zero slope, and undefined slope

Positive slope: the line goes uphill from left to right. Examples include y = 2x + 1 (slope 2) and y = 0.5x - 3 (slope 0.5). Positive slopes represent increasing relationships — as x increases, y increases.

Negative slope: the line goes downhill from left to right. Examples include y = -3x + 7 (slope -3) and y = -x + 4 (slope -1). Negative slopes represent decreasing relationships — as x increases, y decreases.

Zero slope: the line is perfectly horizontal. The equation is y = b (a constant). For example, y = 5 is a horizontal line at height 5. The rise is 0 no matter how far you go horizontally, so slope = 0/run = 0. A zero slope means y does not change at all as x changes.

Undefined slope: the line is perfectly vertical. The equation is x = a (a constant). For example, x = 3 is a vertical line at x = 3. The run is 0, and division by zero is undefined, so the slope is undefined. Vertical lines have no slope — not zero slope, but undefined slope. This distinction matters on exams.

Finding Slope from an Equation

If the equation is already in slope-intercept form (y = mx + b), the slope is simply the coefficient of x. In y = 4x - 7, the slope is 4. In y = -2/3x + 1, the slope is -2/3.

If the equation is in standard form (Ax + By = C), convert to slope-intercept form by solving for y. Example: 3x + 2y = 12. Subtract 3x from both sides: 2y = -3x + 12. Divide by 2: y = -3/2x + 6. The slope is -3/2.

Shortcut for standard form: the slope of Ax + By = C is -A/B. In 3x + 2y = 12, the slope is -3/2. This shortcut saves time on multiple-choice tests, but always double-check by converting to slope-intercept form if you are unsure.

If the equation is in point-slope form y - y1 = m(x - x1), the slope is the coefficient m right in front of the parentheses. In y - 3 = 5(x - 2), the slope is 5.

Parallel and Perpendicular Slopes

Parallel lines have the same slope. If one line has slope 3, any line parallel to it also has slope 3. This makes sense visually — parallel lines go in the same direction, so they must be equally steep.

Perpendicular lines have slopes that are negative reciprocals of each other. If one line has slope 2/3, a perpendicular line has slope -3/2. If one line has slope -4, a perpendicular line has slope 1/4. The product of perpendicular slopes is always -1: (2/3)(-3/2) = -1.

This relationship is extremely useful for finding equations of perpendicular and parallel lines, which is a common exam problem. Given a line and told to find a parallel or perpendicular line through a specific point, just determine the correct slope using these rules, then use point-slope form to write the equation.

Example: Find the equation of the line perpendicular to y = 2x + 5 that passes through (4, 1). The original slope is 2, so the perpendicular slope is -1/2. Using point-slope form: y - 1 = -1/2(x - 4), which simplifies to y = -1/2x + 3.

Slope in Word Problems

In real-world problems, slope represents a rate of change. Whenever you see words like "per," "each," "every," or "rate," you are looking at a slope. "$15 per hour" is a slope of 15 (dollars per hour). "3 inches of snow every 2 hours" is a slope of 3/2 (inches per hour).

Example: A gym charges a 50 registration fee plus 30 per month. What is the slope and what does it represent? The cost equation is C = 30m + 50, where m is the number of months. The slope is 30, representing the rate at which cost increases — $30 per month. The y-intercept (50) is the initial registration fee.

Example: A candle is 12 inches tall and burns at 0.5 inches per hour. After how many hours will it burn out? The height equation is h = -0.5t + 12, where t is time in hours. The slope is -0.5 (negative because the candle is getting shorter). Setting h = 0: 0 = -0.5t + 12, so t = 24 hours.

Tip: in word problems, the slope is usually the quantity that changes at a constant rate, and the y-intercept is the starting value or fixed cost. Identifying these two components lets you write the equation and solve any related question.

Common Mistakes When Finding Slope

Reversing rise and run: slope is rise/run (y-change over x-change), not run/rise. If you get 3/2 but the answer is 2/3, you probably swapped the numerator and denominator. Remember: y is always on top, x is always on the bottom.

Inconsistent subtraction order: if you compute y2 - y1 in the numerator, you must compute x2 - x1 (same order) in the denominator. Computing y2 - y1 over x1 - x2 gives the wrong sign.

Confusing zero slope with undefined slope: a horizontal line has slope 0 (zero rise, nonzero run). A vertical line has undefined slope (nonzero rise, zero run). These are fundamentally different. Zero is a number; undefined is not.

Forgetting negative signs: in the point (-3, -5), both coordinates are negative. When substituting into the slope formula, be careful with double negatives. m = (-5 - 2) / (-3 - 1) = -7 / -4 = 7/4, not -7/4.

If slope problems are giving you trouble, snap a photo of the problem and send it to ScanSolve. The AI will calculate the slope and show every step of the work, so you can see exactly where your process differs from the correct method.

Practice Problems

Try these problems, then check your answers: (1) Find the slope through (0, 4) and (3, 10). [Answer: 2]. (2) Find the slope through (5, -1) and (2, 8). [Answer: -3]. (3) What is the slope of y = -7x + 12? [Answer: -7]. (4) What is the slope of 4x - 2y = 10? [Answer: 2]. (5) Find the slope of the line perpendicular to y = 3/5x - 2. [Answer: -5/3].

Challenge: A taxi charges 3.50 for the first mile and 2.25 for each additional mile. Write the cost equation and identify the slope. [Answer: C = 2.25m + 1.25, slope = 2.25 dollars per mile, where m is total miles driven and the y-intercept accounts for the first-mile premium.]

For more practice with detailed step-by-step solutions, try ScanSolve. Take a photo of any slope problem from your textbook and get an instant walkthrough.

ScanSolve Editorial Team

ScanSolve Editorial Team

Our team of educators and AI specialists creates step-by-step guides to help students master every subject.

In This Article

  • What Is Slope?
  • The Slope Formula
  • Rise Over Run: The Visual Method
  • Types of Slope
  • Finding Slope from an Equation
  • Parallel and Perpendicular Slopes
  • Slope in Word Problems
  • Common Mistakes When Finding Slope
  • Practice Problems

Explore More Homework Help

Algebra Homework HelpGeometry Homework HelpPre-Algebra Homework HelpBrowse All Questions

Need Help With Your Homework?

Snap a photo of any homework problem and get a step-by-step solution instantly. ScanSolve handles math, science, history, and more.

Try ScanSolve Free

Related Articles

Quadratic formula and parabola graph showing the solutions of a quadratic equation
Mathematics

How to Solve Quadratic Equations: Complete Step-by-Step Guide

Learn how to solve quadratic equations using factoring, the quadratic formula, and completing the square. Step-by-step examples with detailed explanations for students.

Right triangle diagram showing the Pythagorean theorem with sides a, b, and hypotenuse c
Mathematics

What Is the Pythagorean Theorem? Formula, Proof & Examples

Learn the Pythagorean theorem with clear examples and proofs. Understand a² + b² = c² and how to use it to find missing sides of right triangles.

Triangle area formulas diagram showing base-height, Heron, and trigonometric methods
Mathematics

How to Find the Area of a Triangle: Formulas, Heron's Formula & Examples

Learn how to find the area of a triangle using base and height, Heron's formula, and trigonometry. Step-by-step examples and practice problems for geometry students.