Coordinate Distance Calculator
Calculate the distance and midpoint between two coordinate points.
Assumptions used in this calculation
- Cartesian plane: Assumes a standard 2D Cartesian coordinate system with consistent, unitless x/y values.
About this calculator
Finding the straight-line distance between two points on a graph, or the point exactly between them, comes up in geometry, mapping and computer graphics, and while the formulas are short, squaring negative differences and keeping track of which coordinate belongs to which point are easy to fumble by hand. This calculator takes two (x, y) coordinate pairs and computes the distance as √((x₂−x₁)² + (y₂−y₁)²), which is really the Pythagorean theorem applied to the right triangle formed by the horizontal gap, the vertical gap, and the straight-line distance as the hypotenuse, and the midpoint as ((x₁+x₂)/2, (y₁+y₂)/2), the point exactly halfway between them. It assumes a standard Cartesian coordinate plane with unitless, consistent x/y values. That saves setting up the distance formula and squaring each difference by hand, and avoids sign errors when one or both coordinates are negative.
Worked example
(0,0) to (3,4)
Result: Distance = 5
Was this helpful?

