Distance Between Two Points Calculator

Your details

Switch between flat-plane (2D) and three-dimensional (3D) distance.
Distance
5

Euclidean straight-line distance between the two points.

Exact (radical form)5
Horizontal (Δx)3
Vertical (Δy)4
Midpoint x1.5
Midpoint y2
Slope (m)1.333333
Δx (horizontal)3
Δy (vertical)4
Δz (depth)-

The straight-line distance is 5.0000.

  • This is the Euclidean (as-the-crow-flies) distance in the coordinate plane, the hypotenuse of the right triangle formed by the horizontal and vertical separations.
  • The midpoint of the segment is (1.5000, 2.0000).
  • The slope of the line through these two points is 1.3333 (rise over run).
  • Swapping which point is labeled first and which is second leaves the distance unchanged.

Next stepTo find the equation of the line through these points, use the slope and one point in y - y1 = m(x - x1).

= Powered by OnlyCalculators