Distance Between Two Points

Find the straight-line distance between two 2D points.

Inputs

Formula
d = √[(x₂ - x₁)² + (y₂ - y₁)²]
  • x₁ — x-coordinate of point 1
  • y₁ — y-coordinate of point 1
  • x₂ — x-coordinate of point 2
  • y₂ — y-coordinate of point 2