How to Find the Slope of a Line: Easy Guide with Examples (2024)

Download Article

Learn to calculate the slope of a line with these simple methods

Co-authored byGrace Imson, MAand Johnathan Fuentes

Last Updated: May 9, 2024Fact Checked

Download Article

  • Finding the Slope
  • |
  • Types of Slopes
  • |
  • Video
  • |
  • Expert Interview
  • |
  • |
  • Tips

ARTICLE

VIDEO

If you’re taking algebra, finding the slope of a line is an important concept to understand. But there are multiple ways to find the slope, and your teacher may expect you to learn them all. Feeling a bit overwhelmed? Don’t fret. This guide explains how to find the slope of a line using (x, y) points from graphs. We’ll also explain how the slope formula works, and how to recognize positive, negative, zero, and undefined slopes. Keep reading to learn how to calculate the slope of a line and ace your next quiz, exam, or homework assignment.

Practice Problems

Find the Slope of a Line Practice Problems

Find the Slope of a Line Practice Problems ANSWER KEY

Things You Should Know

  • Slope = Rise divided by Run and is represented by the variable m. The slope m is found in the slope-intercept formula, y = mx + b
  • When given two (x, y) points on a line, Run = x2 - x1 and Rise = y2 - y1. Therefore, m = (y2 - y1)/(x2 - x1).
  • Find the slope by finding two (x, y) points on a line, labeling one (x1, y1) and the other (x2, y2). The slope m = (y2 - y1)/(x2 - x1).

Method 1

Method 1 of 2:

Finding the Slope

Download Article

  1. 1

    This is the slope formula, which states Slope = Rise over Run. When plotting a line on a graph, the “Rise” refers to the change in y that corresponds to a specific change in x. This change in x is called the “Run.” For instance, if y increases by 4 when x increases by 2, then Rise = 4 and Run = 2. To find the slope, divide 4/2 to get 2.[1]

    • The slope of a line is represented by the variable m. In this example, m = 2.
    • The slope m is part of the formula y = mx + b. This is called the “slope-intercept formula.”
    • You can use y = mx + b to calculate a value of y that corresponds to a particular value of x. Each pair of corresponding x and y values is called a “point”, written as (x, y).[2]
    • If you find multiple (x, y) points for the same equation, you can plot those points on a graph and draw a straight line through them.
  2. 2

    Find two different points that the line passes through. Each point has an x value and a y value, written together as (x, y). You can pick any two points you like, as long as the line passes directly through them.[3]

    • In the example above, we picked the points (2, 1) and (5, 3).
    • The first point has an x value of 2 and a y value of 1, so it’s written as (2, 1).
    • The second point has an x value of 5 and a y value of 3. It’s written as (5, 3).

    Advertisem*nt

  3. 3

    Choose one point to be (x1, y1) and the other to be (x2, y2). In other words, the first (x, y) pair can be (x1, y1), and the second paid can be (x2, y2). In the example above, (x1, y1) is (2, 1), while (x2, y2) is (5, 3).[4]

    • For simplicity, you can always make the point farthest on the left (x1, y1). This point will have the lower value for x.
    • In reality, you can make either point (x1, y1) or (x2, y2), as long as you remember which is which.
  4. 4

    Calculate m by dividing the Rise by the Run. Rise = y2 - y1, while Run = x2 - x1. To illustrate this, let’s calculate m for our previous example using the coordinates (2, 1) and (5, 3):[5]

    • (x1, y1) = (2, 1), and (x2, y2) is (5, 3).
    • Rise = y2 - y1, or 3 - 1. Run = x2 - x1, or 5 - 2.
    • Rise/Run = (3 - 1)/(5 - 2), or (2/3).
    • Therefore, m = ⅔, or 0.67.
  5. Advertisem*nt

  1. 1

    Positive slope: A positive slope is “uphill” with a positive m value. “Uphill” means that y increases as x increases. In the above image, the lines all have positive slopes. Note that each line goes uphill from left to right, and that the y value for each point gets larger as the x value gets larger.[6]

    • A positive slope can be a positive integer like 3, 5, or 16. It can also be a fraction or decimal, like ½, 0.75, or 1.86.
    • Look closely at the y = mx + b formulas listed with each line. Notice that m is always a positive number.
  2. 2

    Negative slope: A negative slope is “downhill” with a negative m value. “Downhill” means that y decreases as x increases. In the above image, the lines all have negative slopes. Note that each line goes downhill from left to right, and that the y value for each point gets smaller as the x value gets larger.[7]

    • A negative slope can be a negative integer like -2, -6, or -19. It can also be a negative fraction or decimal, like -⅓, -0.9, or -2.21.
    • Note the y = mx + b formulas for each line. You’ll see that m is always a negative number.
  3. 3

    Zero slope: A horizontal line has a slope of m = 0. The y value always stays the same, even as x increases. In other words, the line doesn’t go “uphill” or “downhill”. In the graph above, you’ll see that all the lines are completely flat.[8]

    • A horizontal line always has a slope of m = 0. This means the equation y = mx + b can be written as y = 0x + b. Since 0x = 0, the equation gets simplified to y = b, with b being the y corresponding value for all values of x.
    • The formulas for the line above all follow the same format: y = some number.
  4. 4

    Undefined slope: A vertical line has an “undefined” slope and one value for x. In other words, y can have any value, but x always has the same value. Vertical lines can’t be written with the formula y = mx + b. Instead, they are written as x = some number, and the vertical line passes through the x-axis at that exact number.[9]

    • The image above shows lines with undefined slopes.
  5. Advertisem*nt

Community Q&A

Search

Add New Question

  • Question

    How do I find slope of 2x - 4y = 20?

    How to Find the Slope of a Line: Easy Guide with Examples (15)

    Donagan

    Top Answerer

    Re-work the equation until y is isolated on one side. Then note the coefficient of the x term. That's the slope. In this example, we re-work the equation until we isolate y: y = x/2 - 5. The coefficient of x is ½, so the slope of the line is ½.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 68Helpful 55

  • Question

    How do I find the slope of a line y=9?

    How to Find the Slope of a Line: Easy Guide with Examples (16)

    Community Answer

    For all lines where y equals a constant and there is no x, the slope is 0.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 35Helpful 70

  • Question

    How do I use a protractor and trigonometry to find slope of a line?

    How to Find the Slope of a Line: Easy Guide with Examples (17)

    Donagan

    Top Answerer

    The slope of a line is a non-angular representation of the angle between the line and a horizontal line such as the x-axis. Use a protractor to measure that angle, and then convert the angle to a decimal or a fraction using a trig table. For example, if a protractor tells you that there is a 45° angle between the line and a horizontal line, a trig table will tell you that the tangent of 45° is 1, which is the line's slope. Most angles do not have such a simple tangent. For instance, a 30° angle has a tangent of 0.577. You could use that as the slope, or you could convert the decimal to a fraction, but in this case it would be a rather unwieldy fraction (577/1000 or 72/125).

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 25Helpful 25

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Tips

      • You can calculate the slope from a list of (x, y) points that correspond to a line. Choose one point from the list to be (x1, y1) and another to be (x2, y2).

        Thanks

        Helpful0Not Helpful0

      • As long as you have at least two (x, y) points, you don’t need to plot the line on a graph to calculate the slope (though your assignments may still require you to do so).

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      Advertisem*nt

      Video

      Read Video Transcript

      You Might Also Like

      How toUse Distance Formula to Find the Length of a LineHow toUse the Pythagorean Theorem
      How toCalculate a Square Root by HandHow toDetermine if Three Side Lengths Are a TriangleHow toConstruct a Perpendicular Line to a Given Line Through Point on the LineThe Ultimate Guide to Finding the Slope of a LineHow toFind the Length of the Hypotenuse2 Simple Ways to Calculate the Angle Between Two VectorsHow toFind the Distance Between Two PointsHow toFind the Vertex of a Quadratic EquationHow toFind the Perpendicular Bisector of Two PointsHow toGraph a ParabolaHow toFind Vertical Asymptotes of a Rational FunctionHow toGraph an Equation

      Advertisem*nt

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about mathematics, check out our in-depth interview with Grace Imson, MA.

      About This Article

      How to Find the Slope of a Line: Easy Guide with Examples (34)

      Co-authored by:

      Grace Imson, MA

      Math Teacher

      This article was co-authored by Grace Imson, MA and by wikiHow staff writer, Johnathan Fuentes. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University. This article has been viewed 590,143 times.

      55 votes - 60%

      Co-authors: 45

      Updated: May 9, 2024

      Views:590,143

      Categories: Coordinate Geometry

      Article SummaryX

      In geometry, the slope of a line describes how steep the line is, as well as the direction it’s going—that is, whether the line is going up or down. To find the slope of a line, all you have to do is divide the rise of the line by its run. To get the rise and run, pick any two coordinates along the line. For instance, your first coordinate might be at 2 on the x axis and 4 on the y axis, while your second coordinate might be at 5 on the x axis and 7 on the y axis. Next, write a fraction with the difference between your two y coordinates on top—this is the rise—and the difference between the x coordinates on the bottom—that’s the run. In our example, the rise would be 7-4, while the run would be 5-2. This means the slope of the line would be 3/3, or 1. To figure out the direction of the line, check whether your slope is positive or negative. Lines that go up from left to right always have a positive slope, while lines that go down from left to right always have a negative slope. To figure out how steep the line is, look at the magnitude of the number. Whether it’s positive or negative, the greater the magnitude, the steeper the slope. For instance, a line with a slope of -7 is steeper than a line with a slope of -2. Similarly, a line with a slope of 15 is steeper than a line with a slope of 3. If you want to learn how to reduce the numbers in your slope, keep reading the article!

      Did this summary help you?

      In other languages

      Spanish

      French

      Russian

      Chinese

      Dutch

      Indonesian

      Arabic

      Hindi

      Thai

      Korean

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 590,143 times.

      Reader Success Stories

      • How to Find the Slope of a Line: Easy Guide with Examples (35)

        Grace Fems

        Nov 9, 2020

        "This helped so much, because it is hard to teach yourself this, and this helped me understand it way more!"

      More reader storiesHide reader stories

      Did this article help you?

      Advertisem*nt

      How to Find the Slope of a Line: Easy Guide with Examples (2024)

      FAQs

      How to Find the Slope of a Line: Easy Guide with Examples? ›

      When plotting a line on a graph, the “Rise” refers to the change in y that corresponds to a specific change in x. This change in x is called the “Run.” For instance, if y increases by 4 when x increases by 2, then Rise = 4 and Run = 2. To find the slope, divide 4/2 to get 2.

      What is the slope of the line formula example? ›

      Find The Slope Of A Line : Example Question #2

      We should put this equation in the form of y = mx + b, where m is the slope. We start with 4x + 3y = 7. Rearrange terms: y = –4/3 * x + 7/3, so the slope is –4/3.

      How to find the slope on a graph without points? ›

      We find it by dividing the vertical change (rise) by the horizontal change (run). If we move right on a graph and go up, the slope is positive.

      How do you find the slope of a line easy? ›

      In geometry, the slope of a line describes how steep the line is, as well as the direction it's going—that is, whether the line is going up or down. To find the slope of a line, all you have to do is divide the rise of the line by its run. To get the rise and run, pick any two coordinates along the line.

      What is the simple equation for slope? ›

      We can keep the standard form equation and use the slope and y intercept equations to calculate the slope from the given variable values. Or we can convert the standard form equation to the slope intercept equation y=mx+ b; using this equation, the value m=slope and b=y intercept.

      What is the slope of the line in simplified form? ›

      The slope of a line is its vertical change divided by its horizontal change, also known as rise over run. When you have 2 points on a line on a graph the slope is the change in y divided by the change in x. The slope of a line is a measure of how steep it is.

      How do you simplify slope formula? ›

      For example, your slope (m) is 3 and your point (a,b) is 9,10. You would substitute your y-coordinate for a, and your x- coordinate for b. Your new equation would look like this: y-10 = 3(x-9). If you simplify this, then you will get your basic slope-intercept form: y=mx+b!

      How do you simplify the slope-intercept form? ›

      Answer and Explanation:

      y = mx + b is as simple as it gets. Notice that the implied coefficient for y is 1. If the coefficient for y is not 1, divide all terms by whatever that coefficient is. Then your equation will be in correct slope-intercept form and you can graph the equation by plotting the slope and intercept.

      References

      Top Articles
      Madalin Stunt Cars 3: Ultimate Online Drifting Game? // WhichCar.org
      Nylaarp.com Login
      Mâcon: Stadtplan, Tipps & Infos | ADAC Maps
      Camping World Of New River
      Die Skihallen in Deutschland im Überblick
      Fone Tech Cleveland Ms
      Craigslist Cassopolis Mi
      James Darren, ‘Gidget’ teen idol, singer and director, dies at 88
      Goodwill letter success! **UPDATE** new scores: EX 782; EQ 764; TU 769 no more baddies!
      Fbsm Berkeley
      Tinyzonehd
      Yogabella Babysitter
      Hudson River Regional Conference Inc. · 112-14 107th ave., South Richmond Hill, NY 11419
      The Meaning Behind The Song: Waymore's Blues by Waylon Jennings - Beat Crave
      Zulrah Strat Osrs
      Six Broadway Wiki
      Machiavelli ‑ The Prince, Quotes & The Art of War
      Ds Cuts Saugus
      Fk Jones Obituary
      Costco Gas Price City Of Industry
      Laura Houston Wbap
      Promiseb Discontinued
      Ice Dodo Unblocked 76
      Mighty B Wcostream
      Holly Ranch Aussie Farm
      Rachel Zoe first outing hours after announcing shock marriage split
      Https //Pay.instamed.com/Tricore
      Tbom Genesis Retail Phone Number
      Drys Pharmacy
      Gay Cest Com
      Ekaterina Lisina Wiki
      Penn Foster 1098 T Form
      3962 Winfield Rd, Boynton Beach, FL 33436 - MLS RX-11020379 - Coldwell Banker
      Edict Of Force Poe
      Venezuela: un juez ordena la detención del candidato opositor Edmundo González Urrutia - BBC News Mundo
      352-730-1982
      Craigslist Pinellas County Rentals
      Media Press Release | riversideca.gov
      Top French Cities - Saint-Etienne at a glance
      Bfri Forum
      Urbn Employee Appreciation Fall 2023
      Jcp Meevo Com
      Topic: Prisoners in the United States
      Pokeclicker Pikablu
      Big Lots Hours Saturday
      2022 Basketball 247
      Kathy Park Wedding
      Computer Repair Arboretum North Carolina
      Jefferson County Ky Pva
      C Weather London
      Basketball Defense: 1-3-1 half court trap
      Latest Posts
      Article information

      Author: Ouida Strosin DO

      Last Updated:

      Views: 5537

      Rating: 4.6 / 5 (76 voted)

      Reviews: 91% of readers found this page helpful

      Author information

      Name: Ouida Strosin DO

      Birthday: 1995-04-27

      Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

      Phone: +8561498978366

      Job: Legacy Manufacturing Specialist

      Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

      Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.