Distance Formula Calculator (Distance Between Two Points)

Find the distance between two points in 2D or 3D with the distance formula, including the exact radical answer, the working, the midpoint and the…

Results

Enter your details and click Calculate to see your results.
About This Calculator

The distance formula is the Pythagorean theorem on a grid: d = √((x₂ − x₁)² + (y₂ − y₁)²). In 3D, add (z₂ − z₁)² under the root.

The midpoint averages the coordinates, and the slope is the rise over the run (Δy ÷ Δx).

Example

Example: from (1, 2) to (7, 10) the distance is 10: √((6)² + (8)²) = √100. The midpoint is (4, 6).

Assumptions

Straight-line (Euclidean) distance on a flat grid. For driving or map distance between places, use the Distance Calculator.

Frequently Asked Questions

What is the distance between (0, 0) and (3, 4)?

5.

Is the distance formula the same as Pythagoras?

Yes — the two coordinate differences are the legs of a right triangle.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile