Math Distance Calculator

Online distance calculator, find the distance between two points on a 1D, 2D, 3D dimension.

Coordinates of the two-point (X1, X2)
Coordinates of the first point (X1, Y1)
Coordinates of the second point (X2, Y2)
X2
Y2
Coordinates of the first point (X1, Y1, Z1)
Coordinates of the second point (X2, Y2, Z2)
X2
Y2
Z2

How to Calculate Distance?

  • Find how to calculate the distance between two-point in a 1D, 2D, and 3D dimensional.

    One dimensions

    Formula:
    X1 = Coordinates of the first point
    X2 = Coordinates of the second point
    Distance = (X2 - X1)2

    Two dimensions

    Formula:
    X1, Y1 = Coordinates of the first point
    X2, Y2 = Coordinates of the second point
    Distance = (X2 - X1)2 + (Y2 - Y1)2

    Three dimensions

    Formula:
    X1, Y1 Z1 = Coordinates of the first point
    X2, Y2 Z2 = Coordinates of the second point
    Distance = (X2 - X1)2 + (Y2 - Y1)2 + (Z2 - Z1)2