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

  1. 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. 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. 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

  1. 1
    Calculate the subtraction in parentheses. By using the order of operations, any calculations in parentheses must be completed first.[5]
    • For example:

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

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

  4. 4
    Solve for . 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

  • Question
    What do we call points that are on same line?
    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?
    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?
    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.
Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 491,146 times.
55 votes - 77%
Co-authors: 39
Updated: March 19, 2023
Views: 491,146
Categories: Coordinate Geometry
Article SummaryX

To use the distance formula to find the length of a line, start by finding the coordinates of the line segment's endpoints. Then, plug the coordinates into the distance formula. Next, subtract the numbers in parenthesis and then square the differences. Once you've done that, just add the numbers that are under the radical sign and solve for d. To learn how to set up the distance formula, keep reading!

Did this summary help you?
Advertisement