The Distance Formula is a variant of the Pythagorean Theorem that you used back in geometry. Here's how we get from the one to the other:

Suppose you're given the two points (−2, 1) and (1, 5), and they want you to find out how far apart they are. The points look like this:

Content Continues Below

You can draw in the lines that form a right-angled triangle, using these points as two of the corners:

It's easy to find the lengths of the horizontal and vertical sides of the right triangle: just subtract the *x*-values and the *y*-values:

Then use the Pythagorean Theorem to find the length of the third side (which is the hypotenuse of the right triangle):

*c*^{2} = *a*^{2} + *b*^{2}

...so:

Affiliate

This format always holds true. Given two points, you can always plot them, draw the right triangle, and then find the length of the hypotenuse. The length of the hypotenuse is the distance between the two points. Since this format always works, it can be turned into a formula:

Distance Formula: Given the two points (*x*_{1}, *y*_{1}) and (*x*_{2}, *y*_{2}), the distance *d* between these points is given by the formula:

Don't let the subscripts scare you. They only indicate that there is a "first" point and a "second" point; that is, that you have two points. Whichever one you call "first" or "second" is up to you. The distance will be the same, regardless.

Content Continues Below

#### Find the distance between the points (−2, −3) and (−4, 4).

I just plug the coordinates into the Distance Formula:

Then the distance is , or about 7.28, rounded to two decimal places.

URL: https://www.purplemath.com/modules/distform.htm

© 2022 Purplemath, Inc. All right reserved. Web Design by