Skip to main content
Calcimator

Coordinate Distance Calculator

Calculate the distance between two points on a coordinate plane, plus midpoint, slope, and the distance formula breakdown.

Inputs

Results

Distance

5

Midpoint X1.5
Midpoint Y2
Slope1.3333
Formula√((3-0)² + (4-0)²) = 5
How to Use This Calculator
  1. Enter the coordinates of the two points: (x₁, y₁) and (x₂, y₂).
  2. Distance is computed using the Euclidean formula: d = √((x₂−x₁)² + (y₂−y₁)²), which is the Pythagorean theorem applied to coordinate geometry.
  3. Midpoint coordinates are ((x₁+x₂)/2, (y₁+y₂)/2) — the exact center of the segment.
  4. Slope of the line segment is (y₂−y₁)/(x₂−x₁); vertical lines (x₁=x₂) have undefined slope.
  5. Coordinates can be positive or negative; all real number inputs are supported.

How the result changes with Y₂

Y₂Distance
-8,0008,000.0006
-3,0003,000.0015
3,0003,000.0015
8,0008,000.0006

What each input means

X₁
X-coordinate of the first point.
Y₁
Y-coordinate of the first point.
X₂
X-coordinate of the second point.
Y₂
Y-coordinate of the second point.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    X₁ = 0, Y₁ = 0, X₂ = 3, Y₂ = 4 = 4 input(s) provided
  2. Calculate Distance
    Distance
    5 = 5
  3. Calculate Midpoint X
    Midpoint X
    1.5 = 1.5
  4. Calculate Midpoint Y
    Midpoint Y
    2 = 2

Engine last updated .

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.