Geometry Basic

Distance Formula Calculator

Find the distance between two coordinate points. Shows the horizontal Δx and vertical Δy components that form the legs of a right triangle.

Exact distance
Δx and Δy components
Right triangle diagram
Input — Two Points
Point A (x₁, y₁)
Point B (x₂, y₂)
Try:
Result
Enter two points to compute the distance.
Step-by-Step Solution
Right Triangle Diagram
Distance Formula
d = √((x₂−x₁)² + (y₂−y₁)²)

The distance formula is derived directly from the Pythagorean theorem. The horizontal separation Δx and vertical separation Δy form the two legs of a right triangle, and d is the hypotenuse.

Components
Δx = x₂ − x₁ (horizontal leg) Δy = y₂ − y₁ (vertical leg) d = √(Δx² + Δy²)

The order of subtraction doesn't affect the result because the values are squared.

Need help with coordinate geometry?

A tutor can walk you through the distance formula and its connection to the Pythagorean theorem.

Book a Free Consultation →