What is Distance Calculator?
Computes straight-line distance between two points in Cartesian coordinate space using the distance formula.
How to Use This Calculator
- Enter coordinates for Point 1 (x1, y1).
- Enter coordinates for Point 2 (x2, y2).
- View Euclidean distance, slope, and midpoint.
The Mathematical Formula & Variables
d = sqrt((x2 - x1)^2 + (y2 - y1)^2)
Step-by-Step Worked Example
Scenario: Distance between (1, 2) and (4, 6).
- delta x = 4 - 1 = 3; delta y = 6 - 2 = 4.
- d = sqrt(3^2 + 4^2) = sqrt(9 + 16) = sqrt(25) = 5.
Result: 5.000 units
Frequently Asked Questions
How does the distance formula derive from Pythagoras?
The horizontal difference dx and vertical difference dy form two perpendicular legs of a right triangle; distance d is the hypotenuse.