Navigation
🏠 Home🧮 All Tools📍 Distance

📍 Distance Calculator (2D Points)

Enter the coordinates of two points to find the straight-line distance, midpoint, and slope between them.

📍Distance Calculator (2D Points)
Distance
Midpoint
Slope

What is the Distance Calculator?

This tool finds the straight-line distance between two points on a 2D coordinate plane, along with the midpoint and slope of the connecting line.

Formula Used

Distance equals the square root of (x2 minus x1) squared plus (y2 minus y1) squared, derived from the Pythagorean theorem.

How to Use This Tool

Enter the x and y coordinates of both points, then click Calculate to find the distance, midpoint, and slope.

Examples

Example: The distance between points (2, 3) and (7, 9) is the square root of 25 plus 36, which is approximately 7.81 units.

Frequently Asked Questions

What if the two points have the same x-coordinate. The line is vertical, and the slope is undefined.

Is this the same as the Pythagorean theorem. Yes, the distance formula is a direct application of the Pythagorean theorem to coordinate geometry.