Distance Calculator 2D
Calculator Use
Calculate the distance between 2 points in a two-dimensional plane.
Enter 2 points as x-y coordinates in the Cartesian coordinate system. Enter (x1, y1) and (x2, y2) to get the distance formula calculation in the 2D plane and find the distance between the 2 points.
Accepts positive or negative numbers, fractions, mixed fractions and decimals.
The calculator answer shows the work for:
- Distance formula using square root of (x2 - x1) + (y2 - y1)
- Graph of the line segment connecting the two points
- Below the graph find a link to the Slope Calculator for the same two points
Distance Formula:
The distance between two points is the length of the line connecting them, and the shortest 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:
Calculate Distance
To calculate the distance between 2 points, (x1, y1) and (x2, y2), for example, (5, 6) and (-7,11), plug the values into the distance formula:
combining terms inside parentheses you get:
squaring both terms you get,
adding the 2 results,
finally,
Need Distance in 3 Dimensions?
For three-dimensional 3D space use the Distance Calculator for Three Dimensional Solids.