How to Use Distance Formula to Find the Length of a Line

Download ArticleDownload Article

You can measure the length of a vertical or horizontal line on a coordinate plane by simply counting coordinates; however, measuring the length of a diagonal line is trickier. You can use the Distance Formula to find the length of such a line. This formula is basically the Pythagorean Theorem, which you can see if you imagine the given line segment as the hypotenuse of a right triangle.[1] By using a basic geometric formula, measuring lines on a coordinate path becomes a relatively easy task.


Part 1
Part 1 of 2:

Setting up the Formula

Download Article
  1. How.com.vn English: Step 1 Set up the Distance Formula.
    The formula states that , where equals the distance of the line, equal the coordinates of the first endpoint of the line segment, and equal the coordinates of the second endpoint of the line segment.[2]
  2. How.com.vn English: Step 2 Find the coordinates of the line segment’s endpoints.
    These might already be given. If not, count along the x-axis and y-axis to find the coordinates.[3]
    • The x-axis is the horizontal axis; the y-axis is the vertical axis.
    • The coordinates of a point are written as .
    • For example, a line segment might have an endpoint at and another at .
    Advertisement
  3. How.com.vn English: Step 3 Plug the coordinates into the Distance Formula.
    Be careful to substitute the values for the correct variables. The two coordinates should be inside the first set of parentheses, and the two coordinates should be inside the second set of parentheses.[4]
    • For example, for points and , your formula would look like this:
  4. Advertisement
Part 2
Part 2 of 2:

Calculating the Distance

Download Article
  1. How.com.vn English: Step 1 Calculate the subtraction in parentheses.
    By using the order of operations, any calculations in parentheses must be completed first.[5]
    • For example:

  2. How.com.vn English: Step 2 Square the value in parentheses.
    The order of operations states that exponents should be addressed next.[6]
    • For example:

  3. How.com.vn English: Step 3 Add the numbers under the radical sign.
    You do this calculation as if you were working with whole numbers.[7]
    • For example:

  4. How.com.vn English: Step 4 Solve for                     d              {\displaystyle d}  .
    To reach your final answer, find the square root of the sum under the radical sign.[8]
    • Since you are finding a square root, you may have to round your answer.
    • Since you are working on a coordinate plane, your answer will be in generic “units,” not in centimeters, meters, or another metric unit.
    • For example:

      units
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What do we call points that are on same line?
    How.com.vn English: Donagan
    Donagan
    Top Answerer
    Points on the same straight line are said to be "collinear" or "colinear."
  • Question
    How do I simplify the square root?
    How.com.vn English: Donagan
    Donagan
    Top Answerer
    Look for a perfect square inside the radical sign, find its square root, and put that square root out in front of the radical sign, indicating that it's to be multiplied by the radical. For example: √50 = √(2 x 25) = 5√2.
  • Question
    The rise is 4 inches. The angle is 90 degrees from the height to the base. What is the slope?
    How.com.vn English: Donagan
    Donagan
    Top Answerer
    To find the slope, you have to know the horizontal distance over which the rise occurs. The 90° angle is not relevant.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • Remember the order of operations when calculating your answer. Subtract first, then square the differences, then add, and then find the square root.
      • Do not confuse this formula with others, like the Midpoint Formula, Slope Formula, Equation of a Line or Line Formula.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Grace Imson, MA
      Reviewed by:
      Math Teacher
      This article was reviewed by Grace Imson, MA. 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 543,099 times.
      61 votes - 75%
      Co-authors: 39
      Updated: March 19, 2023
      Views: 543,099
      Thanks to all authors for creating a page that has been read 543,099 times.

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement