How to Find the Distance Between Two Points

Take the coordinates of two points you want to find the distance between., Know the distance formula., Find the horizontal and vertical distance between the points., Square both values., Add the squared values together., Take the square root of the...

6 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Take the coordinates of two points you want to find the distance between.

    Call one point Point 1 (x1,y1) and make the other Point 2 (x2,y2).

    It does not terribly matter which point is which, as long as you keep the labels (1 and 2) consistent throughout the problem.x1 is the horizontal coordinate (along the x axis) of Point 1, and x2 is the horizontal coordinate of Point
    2. y1 is the vertical coordinate (along the y axis) of Point 1, and y2 is the vertical coordinate of Point
    2.

    For an example, take the points (3,2) and (7,8).

    If (3,2) is (x1,y1), then (7,8) is (x2,y2).
  2. Step 2: Know the distance formula.

    This formula finds the length of a line that stretches between two points:
    Point 1 and Point
    2.

    The linear distance is the square root of the square of the horizontal distance plus the square of the vertical distance between two points.

    More simply put, it is the square root of: (x2−x1)2+(y2−y1)2{\displaystyle (x2-x1)^{2}+(y2-y1)^{2}}, First, subtract y2
    - y1 to find the vertical distance.

    Then, subtract x2
    - x1 to find the horizontal distance.

    Don't worry if the subtraction yields negative numbers.

    The next step is to square these values, and squaring always results in a positive integer.Find the distance along the y-axis.

    For the example points (3,2) and (7,8), in which (3,2) is Point 1 and (7,8) is Point 2: (y2
    - y1) = 8
    - 2 =
    6.

    This means that there are six units of distance on the y-axis between these two points.

    Find the distance along the x-axis.

    For the same example points (3,2) and (7,8): (x2
    - x1) = 7
    - 3 =
    4.

    This means that there are four units of distance separating the two points on the x-axis. , This means that you will square the x-axis distance (x2
    - x1), and that you will separately square the y-axis distance (y2
    - y1). 62=36{\displaystyle 6^{2}=36} 42=16{\displaystyle 4^{2}=16} , This will give you the square of the diagonal, linear distance between your two points.

    In the example of the points (3,2) and (7,8), the square of (7
    - 3) is 36, and the square of (8
    - 2) is
    16. 36 + 16 =
    52. , This is the final step in the equation.

    The linear distance between the two points is the square root of the sum of the squared values of the x-axis distance and the y-axis distance.To carry on the example: the distance between (3,2) and (7,8) is sqrt (52), or approximately
    7.21 units.
  3. Step 3: Find the horizontal and vertical distance between the points.

  4. Step 4: Square both values.

  5. Step 5: Add the squared values together.

  6. Step 6: Take the square root of the equation.

Detailed Guide

Call one point Point 1 (x1,y1) and make the other Point 2 (x2,y2).

It does not terribly matter which point is which, as long as you keep the labels (1 and 2) consistent throughout the problem.x1 is the horizontal coordinate (along the x axis) of Point 1, and x2 is the horizontal coordinate of Point
2. y1 is the vertical coordinate (along the y axis) of Point 1, and y2 is the vertical coordinate of Point
2.

For an example, take the points (3,2) and (7,8).

If (3,2) is (x1,y1), then (7,8) is (x2,y2).

This formula finds the length of a line that stretches between two points:
Point 1 and Point
2.

The linear distance is the square root of the square of the horizontal distance plus the square of the vertical distance between two points.

More simply put, it is the square root of: (x2−x1)2+(y2−y1)2{\displaystyle (x2-x1)^{2}+(y2-y1)^{2}}, First, subtract y2
- y1 to find the vertical distance.

Then, subtract x2
- x1 to find the horizontal distance.

Don't worry if the subtraction yields negative numbers.

The next step is to square these values, and squaring always results in a positive integer.Find the distance along the y-axis.

For the example points (3,2) and (7,8), in which (3,2) is Point 1 and (7,8) is Point 2: (y2
- y1) = 8
- 2 =
6.

This means that there are six units of distance on the y-axis between these two points.

Find the distance along the x-axis.

For the same example points (3,2) and (7,8): (x2
- x1) = 7
- 3 =
4.

This means that there are four units of distance separating the two points on the x-axis. , This means that you will square the x-axis distance (x2
- x1), and that you will separately square the y-axis distance (y2
- y1). 62=36{\displaystyle 6^{2}=36} 42=16{\displaystyle 4^{2}=16} , This will give you the square of the diagonal, linear distance between your two points.

In the example of the points (3,2) and (7,8), the square of (7
- 3) is 36, and the square of (8
- 2) is
16. 36 + 16 =
52. , This is the final step in the equation.

The linear distance between the two points is the square root of the sum of the squared values of the x-axis distance and the y-axis distance.To carry on the example: the distance between (3,2) and (7,8) is sqrt (52), or approximately
7.21 units.

About the Author

G

Gloria Martinez

Creates helpful guides on home improvement to inspire and educate readers.

105 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: