Enter two points to calculate the straight-line distance between them.
How to Use the Distance Between Two Points Calculator
Enter the coordinates of both points. The distance between them updates immediately.
distance = √((x2 − x1)² + (y2 − y1)²)
This is the Pythagorean theorem wearing a coordinate-geometry disguise — the horizontal gap (x2 − x1) and vertical gap (y2 − y1) between the two points form the legs of a right triangle, and the straight-line distance between them is just that triangle's hypotenuse. It works identically no matter which point is labeled first, since both differences get squared before anything else happens.