# Length of a Line Segment

The easiest way to show you how to do this is by working out an example.

Sample:

Find the distance between (-2,8) and (-7,-5).

1) Find the distance between the x-coordinates. To do this, subtract one number from the other and then find its absolute value.

We have: |-2-(-7)| = |5| = 5.

2) Do likewise with the y-coordinates.

We have: |8-(-5)| = |13| = 13.

NOTE: It does NOT matter which way you subtract the numbers because the absolute value of the answer would be the same anyway.