Reviewed by CalcMulti Editorial Team·Last updated: ·← Geometry Hub
The distance between two points (x₁, y₁) and (x₂, y₂) is: d = √((x₂−x₁)² + (y₂−y₁)²). This formula is derived directly from the Pythagorean theorem — the horizontal and vertical differences form the legs of a right triangle, and the distance is the hypotenuse.
In three dimensions, the formula extends naturally: d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²). This calculator also computes the midpoint M = ((x₁+x₂)/2, (y₁+y₂)/2) and the slope of the line segment (2D only).
d = √((x₂−x₁)² + (y₂−y₁)²)
Point 1
Point 2
| Point 1 | Point 2 | Distance | Note |
|---|---|---|---|
| (0, 0) | (3, 4) | 5.000 | 3-4-5 Pythagorean triple |
| (0, 0) | (5, 12) | 13.000 | 5-12-13 triple |
| (0, 0) | (8, 15) | 17.000 | 8-15-17 triple |
| (1, 1) | (4, 5) | 5.000 | Common example |
| (-3, 0) | (3, 0) | 6.000 | Horizontal distance |
| (0, -4) | (0, 4) | 8.000 | Vertical distance |
| (0, 0) | (1, 1) | 1.414 | Unit diagonal ≈ 1.414 |
| (2, 3) | (7, 8) | 7.071 | √50 ≈ 7.071 |
Find the midpoint between two coordinate points
Right Triangle CalculatorPythagorean theorem + all angles and sides
Pythagorean Theorem Calculatora² + b² = c² — find any side of a right triangle
Perimeter CalculatorPerimeter of rectangles, triangles, circles, polygons
Slope CalculatorRise over run — slope between two points
Law of Cosines CalculatorSolve any triangle from sides and angles
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.