Distance Formula Calculator
2D Distance
3D Distance
Manhattan Distance (2D)
Formula
d = sqrt((x2-x1)^2 + (y2-y1)^2) | Manhattan = |x2-x1| + |y2-y1|
Frequently Asked Questions
What is the distance formula?
In 2D: d = sqrt((x2-x1)^2 + (y2-y1)^2). In 3D add the z component. It is derived from the Pythagorean theorem.
What is Manhattan distance?
Manhattan distance = |x2-x1| + |y2-y1|. It measures distance along grid lines (like city blocks), not in a straight line.
You may also need
+
Midpoint Calculator
Free midpoint calculator. Find the midpoint between two points, calculate distance, and get the equation of the perpendicular bisector.
Math+
Slope Calculator
Free slope calculator. Find the slope, distance, and midpoint between two points. Get the equation of the line in slope-intercept form.
Math+
Equation of a Line Calculator
Free equation of a line calculator. Find slope-intercept and point-slope form equations.
Math