# Distance Calculator

'Cuemath's Distance Calculator' is an online tool that helps to calculate the distance between two points.

## What is Distance Calculator?

Cuemath's online Distance calculator helps you to calculate the distance between two points in a few seconds.

NOTE: Please enter up to three digits only.

## How to Use Distance Calculator?

Please follow the steps below to find the distance between two points:

**Step 1:**Enter the coordinates of x and y in the given input box, i.e., (x_{1},y_{1}) and (x_{2},y_{2}).**Step 2:**Click on the**"Calculate"**button to find the distance between two points.**Step 3:**Click on the**"Reset"**button to clear the fields and find the distance between two points for different coordinate values of x and y.

## How to Find Distance?

The distance between any two points is the length of the line segment joining the points.

The formula used for the distance between two points whose coordinates are (x_{1}, y_{1}) and (x_{2}, y_{2}) is given by:

**Distance between two points = √(x _{2 }− x_{1})^{2 }+ (y_{2 }− y_{1})^{2}**

**Solved Example:**

Find the distance between two points if the coordinates are (5,2) and (7,8).

**Solution:**

Distance between two points = √(x_{2 }− x_{1})^{2 }+ (y_{2 }− y_{1})^{2}

= √(7_{ }− 5)^{2 }+ (8_{ }− 2)^{2}

= √(2)^{2 }+ (6)^{2}

= √ 4 + 36

= √40

= 2√10

= 6.32 units

Similarly, you can try the calculator to find the distance for the following:

a) (5,2) (6,2) b) (-5,2) (6,5) c) (6,-5) (7,-8)