# Distance Between Two Points

The straight line distance between two points in cartesian coordinates.

Two points given by P_{1} and P_{2}

Where

d = distance between two points

x_{1},y_{1} = cartesian coordinates of point 1

x_{2},y_{2} = cartesian coordinates of point 2

This is easily extended to points in three dimensions:

Where

d = distance between two points

x_{1},y_{1},z_{1} = cartesian coordinates of point 1

x_{2},y_{2},z_{2} = cartesian coordinates of point 2

**Subjects: ** Mathematics