Distance Calculator 2D

Enter Points:
(X1, Y1) =
(X2, Y2) =
 
 
| Share

About this Calculator

Enter 2 sets of coordinates in the x y-plane of the 2 dimensional Cartesian coordinate system, (X1, Y1) and (X2, Y2), to get the distance formula calculation for the 2 points, calculate distance between the 2 points and graph the line connecting the points.

Accepts positive or negative integers, decimals and fractions.
(6 and/or 6.5 and/or 6 1/2)

Distance Formula:

The distance between two points is the length of the path connecting them. The shortest path distance is a straight line. In a 2 dimensional plane, the distance between points (X1, Y1) and (X2, Y2) is given by the Pythagorean theorem:

distance equation, Pythagorean theorem

Calculate Distance

To calculate the distance between 2 points, (X1, Y1) and (X2, Y2), for example, (5, 6) and (-7,11), we plug our values into the distance formula:

2d distance equation step 1

combining terms inside parentheses we get:

2d distance equation step 2

squaring both terms we get,

2d distance equation step 3

adding the 2 results,

2d distance equation step 4

finally,

d = 13.