# Distance Between Two Points 2D Formula

This formula calculates the distance between two points

Expression | Description |
---|---|

The -coordinate of the first point. | |

The -coordinate of the first point. | |

The -coordinate of the second point. | |

The -coordinate of the second point. |

To calculate the distance between two points in two dimensions the formula below can be used.

For example, to find the distance between the point and the point substitute their coordinates into the formula like so:

Calculate the result.

The distance between the two points and is units.

This example demonstrates how to find the distance between the two points and .

Start with the distance between two points (2D) formula.

Substitute the coordinates of the points into the formula.

Evaluate the subtraction expressions.

Evaluate the absolute value expressions.

Evaluate the exponent expressions.

Evaluate the additon operation.

Take the square root.

The distance between the points and is equal to units.

This example demonstrates how to find the distance between the two points and .

Start with the distance between two points (2D) formula.

Substitute the coordinates of the points into the formula.

Evaluate the subtraction expressions.

Evaluate the absolute value expressions.

Evaluate the exponent expressions.

Evaluate the addition expression.

Optionally, take the square root.

The distance between the points and is equal to units.

This example demonstrates how to find the distance between the two points and .

Start with the distance between two points (2D) formula.

Substitute the coordinates of the points into the formula.

Evaluate the subtraction expressions.

Take the absolute value of the two expressions.

Evaluate the exponent epxressions..

Evaluate the addition operator.

Optionally, take the square root.

The distance between the points and is equal to units.

The formula for the distance between the two points and can be derived using a combination of the Pythagorean Theorem and the distance between two points (1D) formula.

- Observe that the geometry of the two points and forms the shape of a right triangle in the cartesian coordinate system. The hypotenuse labeled with the variable is equal to the distance between the two points. This is illustrated below.
Setup the equation for the pythagorean theorem.

Rearrange the equation and take the square root of both sides.

Find the lengths of adjacent and opposite of the right triangle by applying the one dimensional distance formula.

Substitute these expressions into the expression from step three.

Finally, change the variable to to represent distance and we have derived the formula.