Distance between Two Points Calculator

Calculate distance between two points step by step

For two given points, the calculator will find the distance between them, with steps shown.

(( ))
Comma-separated.
(( ))
Comma-separated.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find the distance between P=(2,3)P = \left(-2, 3\right) and Q=(5,1)Q = \left(5, 1\right).

Solution

The distance between two points PP and QQ is d=i=1n(qipi)2d = \sqrt{\sum_{i=1}^{n} \left(q_{i} - p_{i}\right)^{2}} (nn is the number of coordinates of each of the two points, pi,i=1..np_i, i=\overline{1..n} and qi,i=1..nq_i, i=\overline{1..n} are the coordinates of the first and the second points respectively).

Thus, d=(5(2))2+(13)2=53d = \sqrt{\left(5 - \left(-2\right)\right)^{2} + \left(1 - 3\right)^{2}} = \sqrt{53}.

Answer

d=537.280109889280518d = \sqrt{53}\approx 7.280109889280518A