수학

Distance Calculator

Calculate the Euclidean distance between two points in 2D or 3D space.

Point 1

Point 2

Distance (d)
Distance Squared (d²)
Midpoint
사용 방법
  1. Select whether your points are on a 2D plane (X, Y) or in 3D space (X, Y, Z).
  2. Enter the coordinates for Point 1.
  3. Enter the coordinates for Point 2.
  4. The calculator determines the exact Euclidean distance between the two points, as well as the coordinate of the midpoint.

공식

2D Distance Formula:
d = √[(x₂ - x₁)² + (y₂ - y₁)²]

3D Distance Formula:
d = √[(x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²]

Midpoint Formula:
M = [ (x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2 ]

The Distance Calculator finds the straight-line (Euclidean) distance between two distinct points. Based on the Pythagorean theorem, this formula is foundational in geometry, computer graphics, and physics for both 2-dimensional planes and 3-dimensional space.