Quick start
- Enter x1 and y1 for the first point.
- Enter x2 and y2 for the second point.
- Add a unit label if the coordinates represent real measurements.
- Press Calculate distance.
Distance formula basics
The calculator uses d = sqrt((x2-x1)^2 + (y2-y1)^2). This is the coordinate version of the Pythagorean theorem.
Delta x and delta y show the horizontal and vertical changes before they are squared and combined.
Using midpoint
The midpoint is the point halfway between the two coordinates. It is useful for graphing, geometry, and checking symmetry.
The midpoint formula averages the x-values and averages the y-values.
Distance or slope
Use distance when you need length between points.
Use slope when you need rise over run, steepness, or a line equation.
Examples from the calculator
5 units
17 units
10 units
History, privacy, and copying
Recent answers stay visible in the page while you work. The history is kept only in the current browser tab and is not sent to a server.
Copy answer copies the expression and result so you can paste it into notes, homework, a message, or another document.