Distance Between Two Points Calculator

Enter the coordinates of the points to get the distance between them, the step-by-step solution, and a graph of the line segment on the Cartesian plane.

Point A
( , )
Point B
( , )

Result

The distance between and is:

Quick examples

Rate this tool

What Is the Distance Between Two Points?

In analytic geometry, the distance between two points is the length of the line segment connecting them. The general formula, or Euclidean distance formula, to calculate the distance between two points A(x1, y1) and B(x2, y2) is:

\(d(A,B)=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\)

This formula is derived from the application of the Pythagorean theorem, as the differences in the x and y coordinates define the legs of a right triangle whose hypotenuse is the distance we want to find.

Graph of the distance between two points on the Cartesian plane showing the right triangle formed and the application of the Pythagorean theorem.
Distance Between Two Points on the Cartesian Plane

Related Tools

Daniel Machado

Professor of Mathematics, graduated from the Faculty of Exact, Chemical and Natural Sciences of the National University of Misiones (UNAM). Developer and creator of RigelUp, dedicated to building tools for mathematical learning.

Leave a Reply

Your email address will not be published. Required fields are marked *