Distance between two points calculator

When two points are marked in a row and a line segment connects them, the distance between the two points is the length of the segment connecting them. The length of any segment can never be negative.

If you want to calculate the distance between two points, you can use our calculator for calculating the distance between two points calculator.

#### How to use the calculator for calculating the distance between two points calculator?

Well, if we want to calculate the distance between two points, we have to give the coordinates, of those two points, as (X_{a}, Y_{a}) and (X_{b}, Y_{b}), and then we simply need to hit the calculate button.

The distance between the two points calculator uses the two points’ coordinates to find the length of the segment joining the points in a 2-dimensional plane. A calculator is a geometric tool that makes easy calculations to know the length of points for the 2- dimensional Cartesian coordinates plane.

- Enter the coordinates (X
_{1}, Y_{1}) and (X_{2}, Y_{2}) of two points in the provided boxes. - The result button present below will provide the calculated result.
- The distance calculator will give the length of the segment.

**Note-**

The numbers added for calculations should be real numbers. Some of the coordinates may also be variable.

The negative signs can also be processed for the calculation.

### What is the distance between two points?

The length of the segment is usually denoted by the endpoint notation with an over-line. The length of AB is denoted by AB.

If the two points, A and B are on X-axis, the points noted are written as (Xa, 0) and (Xb, 0), and the same method can be applied to the points on Y-axis as (0, Y_{a}) and (0, Y_{b}).

The distance between the two points can be calculated by the formula of the Pythagoras theorem(distance formula). The distance between points (X_{1}, Y_{1}) and (X_{2}, Y_{2}) can be given by-

d = **√**(X_{2}− X_{1})^{2} + (Y_{2}−Y_{1})^{2}

For example- to calculate the distance between 2 points (5, 2) and (7, 2).using the distance formula-

Solution- let us consider, X_{1} = 5, X_{2} = 7, Y_{1} = 2, Y_{2} = 2

d= **√**(7−5)^{2} + (2−2)^{2}

d = **√**(2)^{2} + (0)^{2}

d = 2

The distance between the two points is 2.

You can easily try the calculations on our free online calculator which loosens your manual effort. You can try both manual calculations and check for the corrections of the result with our calculation. The two-step method will generate easy results for you to get proper error-less calculations.

#### FAQ About Distance between two points calculator

**1. How to find the midpoint of a line?**

**Ans: **Well, to find the midpoint of some line, we are going to use the coordinates of the other two points, to calculate the midpoint.

**2. What is the formula for calculating the midpoint?**

Ans: The formula for calculating the midpoint is as follows –

(X_{a }+ X_{b})/2, (Y_{a} + Y_{b})/2

Here, X_{a} and Y_{a} are the coordinates of one point, and X_{b} and Y_{b} are the coordinates of another point.