# Distance Between Two Points Calculator

Distance between two points in a plane is calculated with the 2 coordinates (x_{1}, y_{1}) and (x_{2},y_{2}). Just enter the coordinate values in this distance between two points calculator to find its distance.

Code to add this calci to your website

The distance formula is derived from the Pythagorean theorem. The given **distance between two points calculator** is used to find the exact length between two points (x1, y1) and (x2, y2) in a 2d geographical coordinate system.

Draw a right-angled triangle with the line formed by the points, the distance between the two points can be calculated by finding the horizontal (x_{2} - x_{1}) and vertical distances (y_{2} - y_{1}).

The distance between two points calculation formula is similar to the right triangle rule, where the squared hypotenuse is equal to the sum of the squares of the other two sides. Provide the x1, y1, x2 and y2 values to find the distance using this distance between two points calculator.

### Example:

The co-ordinate points are (2,5) and (3,1).

#### Step 1 :

Substituting the values in the formula, √ [(3-2)^{2} + (1-5)^{2}]

#### Step 2 :

Simplifying, √ [1^{2} + (-4)^{2}] = √17

#### Step 3 :

4.12311 is the distance between 2 points.