Distance Between Two Points Calculator

    Calculate the Euclidean distance between two points in 2D or 3D coordinates, with midpoint, coordinate differences, Manhattan distance, Chebyshev distance, and angle.

    First point
    Second point
    Cartesian coordinates: the result uses the same units as the coordinates. This calculation is not suitable for latitude, longitude, or route distance.

    Distance formula for two points

    English search intent for distance between two points calculator is direct coordinate geometry: enter two ordered pairs in 2D, or two ordered triples in 3D, and get the straight-line Euclidean distance with steps.

    d is 2D Euclidean distance between points (x1, y1) and (x2, y2).

    d is 3D distance when z1 and z2 are included.

    What the calculator returns

    • Euclidean distance, the straight-line distance between the two points.
    • Coordinate differences along each axis.
    • The midpoint of the segment joining the points.
    • Manhattan and Chebyshev distances for grid-based comparisons.
    • The directed 2D angle when the two points are distinct.
    This is Cartesian coordinate distance. It is not a latitude/longitude, map route, or road-distance calculator.

    Examples

    Point 1Point 2Distance
    (0, 0)(3, 4)5
    (-2, 1)(2, 4)5
    (0, 0, 0)(1, 2, 2)3
    (5, 5)(5, 5)0

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools