ToolBark
Math

Distance Between Two Points Calculator

Instantly find the distance between any two points on a coordinate plane

Coordinates

Point 1 (x₁, y₁)

Point 2 (x₂, y₂)

Result

Euclidean Distance5√( (3)² + (4)² )
Euclidean Distance5
Manhattan Distance7
Midpoint(2.5, 4)
Δx (x₂ − x₁)3
Δy (y₂ − y₁)4
Slope1.333333
Angle from x-axis53.1301°
P1 (1, 2)P2 (4, 6)Mid (2.5, 4)

Formulas

Euclidean Distance
d = √( (x₂−x₁)² + (y₂−y₁)² )
Manhattan Distance
d = |x₂−x₁| + |y₂−y₁|
Midpoint
M = ( (x₁+x₂)/2, (y₁+y₂)/2 )
Slope
m = (y₂−y₁) / (x₂−x₁)
About

The distance between two points calculator uses the Euclidean distance formula — d = √((x₂−x₁)² + (y₂−y₁)²) — to find the straight-line distance between any two coordinate points in an instant. Enter your (x₁, y₁) and (x₂, y₂) values to get the exact distance, Manhattan distance, midpoint, slope, and angle between the two points, with no sign-up required.

FAQ
What is the distance formula?+

The distance formula is d = √((x₂−x₁)² + (y₂−y₁)²). It comes directly from the Pythagorean theorem: the horizontal difference (Δx) and vertical difference (Δy) form the two legs of a right triangle, and the distance is the hypotenuse.

What is Manhattan distance vs Euclidean distance?+

Euclidean distance is the straight-line ("as the crow flies") distance between two points. Manhattan distance — |x₂−x₁| + |y₂−y₁| — measures how far you'd travel on a grid if you could only move horizontally or vertically, like navigating city blocks.

How do I find the midpoint between two points?+

The midpoint formula is M = ((x₁+x₂)/2, (y₁+y₂)/2). Simply average the x-coordinates and average the y-coordinates. This calculator shows the midpoint automatically alongside the distance.

Can this calculator work with negative coordinates and decimals?+

Yes. Enter any real number — positive, negative, or decimal — for x₁, y₁, x₂, and y₂. The calculator handles all cases correctly, including points in different quadrants.

Related tools