Formula
$$d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}$$
Variables
A(x1, y1)
→
First point
B(x2, y2)
→
Second point
$$d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}$$