Distance Calculator
Calculate distance between points in 2D and 3D coordinate systems. Free, fast, accurate — no signup, mobile-friendly, wo
Distance Type
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
📐 Formula
√[(x₂-x₁)² + (y₂-y₁)²]
Distance Results
Distance
5.000000
coordinate units
Midpoint
(1.500, 2.000)
Angle
53.13° from positive x-axis
📋 Step-by-Step Solution
1Given points: P₁(0, 0) and P₂(3, 4)
2Δx = x₂ - x₁ = 3 - 0 = 3
3Δy = y₂ - y₁ = 4 - 0 = 4
4Distance = √[(Δx)² + (Δy)²]
5Distance = √[3² + 4²] = √[9 + 16] = √25 = 5.000000
How it works
A distance calculator finds the straight-line distance between two points on a plane using the Pythagorean theorem applied to their coordinate differences. For travel, the related relationship distance = speed × time applies.
Distance between two points
d = √[ (x₂ − x₁)² + (y₂ − y₁)² ]
- (x₁, y₁)
- first point
- (x₂, y₂)
- second point
Worked example
- Point A (1, 2)
- Point B (4, 6)
- Δx = 3, Δy = 4
- d = √(3² + 4²) = √25
Distance = 5 units.
Good to know
- It's the Pythagorean theorem with the coordinate differences as the legs.
- For points on Earth, the great-circle (haversine) distance accounts for curvature.
- For travel time, rearrange distance = speed × time.