# Distance Calculator 2D

2D Distance
Enter Points:
 (X1, Y1) = (X2, Y2) =

d = 26.196374

Solving the 2D distance equation:

$$d = \sqrt {(17 - (-7))^2 + (6.5 - (-4))^2}$$

$$d = \sqrt {(24)^2 + (10.5)^2}$$

$$d = \sqrt {576 + 110.25}$$

$$d = \sqrt 686.25$$

$$d = 26.196374$$

## Calculator Use

Enter 2 sets of coordinates in the x y-plane of the 2 dimensional Cartesian coordinate system, (X1, Y1) and (X2, Y2), to get the distance formula calculation for the 2 points, calculate distance between the 2 points and graph the line connecting the points.

Accepts positive or negative integers and decimals. (6 and/or 6.5)

## Distance Formula:

The distance between two points is the length of the path connecting them. The shortest path distance is a straight line. In a 2 dimensional plane, the distance between points (X1, Y1) and (X2, Y2) is given by the Pythagorean theorem:

$d = \sqrt {(x_{2} - x_{1})^2 + (y_{2} - y_{1})^2}$

## Calculate Distance

To calculate the distance between 2 points, (X1, Y1) and (X2, Y2), for example, (5, 6) and (-7,11), we plug our values into the distance formula:

$d = \sqrt {(-7 - 5)^2 + (11 - 6)^2}$

combining terms inside parentheses we get:

$d = \sqrt {(-12)^2 + (5)^2}$

squaring both terms we get,

$d = \sqrt {144 + 25}$

$d = \sqrt {169}$
$d = 13$