Distance Formula Calculator

Distance: 5

How It Works / Formula

The distance between two points \((x_1, y_1)\) and \((x_2, y_2)\) in a plane is calculated using the formula:

\[ \text{Distance} = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \]

Example 1

Points: (0, 0) and (3, 4)

Distance: \(\sqrt{(3 - 0)^2 + (4 - 0)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)

Example 2

Points: (1, 2) and (4, 6)

Distance: \(\sqrt{(4 - 1)^2 + (6 - 2)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)

Example 3

Points: (-1, -1) and (2, 3)

Distance: \(\sqrt{(2 - (-1))^2 + (3 - (-1))^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)