3-4-5 distance
(1, 2) to (4, 6)delta x 3, delta y 4, distance squared 25, and distance 5 units
Use this free coordinate distance calculator to enter two 2D points and find straight-line distance, distance squared, delta x, delta y, midpoint, and formula substitution.

Recent distance answers will appear here.
Geometry answers and history stay in this browser tab while you work.
Copy answer only writes the current result to your clipboard when you press it.
Find straight-line distance between two points on a coordinate plane.
Check delta x, delta y, distance squared, and midpoint while working coordinate geometry problems.
Compare coordinate distance with slope, rise, run, and right-triangle side lengths.
Use the formula steps to spot sign mistakes before copying an answer into notes or homework.
Label the answer with the same unit as the coordinates, such as meters, feet, miles, or grid units.
delta x 3, delta y 4, distance squared 25, and distance 5 units
17 units
10 units; signs change the deltas before squaring
9 units with midpoint (3, 2.5)
distance squared 34, so distance is sqrt(34), about 5.8309518949 units
Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.
Quick answers about formulas, units, valid measurements, examples, copying, and private in-browser history.
The calculator subtracts x1 from x2 to get delta x, subtracts y1 from y2 to get delta y, squares both changes, adds the squares, then takes the square root: d = sqrt((x2 - x1)^2 + (y2 - y1)^2). This is the straight-line distance formula for two points in a flat coordinate plane.
x1 and y1 are the first point. x2 and y2 are the second point. Enter the coordinates in the same scale and unit so the distance label is meaningful.
The main inputs are the numbers, operation, mode, or known values the calculator needs. Keep units consistent, enter percentages the way the page label shows, and use the examples as a quick check before trusting the answer.
Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.
Check units, signs, rounding, and the selected mode before copying the answer. If the number feels weird, rerun one of the examples first, then put your own values back in slowly.
Delta x is x2 - x1, and delta y is y2 - y1. They show the horizontal and vertical changes before the calculator squares them, which makes sign mistakes easier to catch.
Distance squared is delta x squared plus delta y squared before the final square root. It is 25 for the points (1, 2) and (4, 6), so the distance is sqrt(25) = 5. This intermediate value helps you check the substitution and keep an exact square-root form for non-perfect squares.
No. Distance is a length, so it is zero or positive. Delta x or delta y can be negative, but the formula squares those changes before it takes the square root.
Yes. It shows midpoint as ((x1 + x2) / 2, (y1 + y2) / 2), so you can find the point halfway between the two coordinates.
Yes. Negative numbers and decimals work as long as each coordinate is a valid number and all coordinates use the same scale.
The distance is 0 because there is no change in x or y. The midpoint is the same coordinate because both endpoints are identical.
The answer uses the unit label you enter. If your coordinates are in meters, the distance is in meters. If they are grid units, the result is in grid units. The label is text only, not a unit converter.
Use Distance Calculator for the straight-line length between points. Use Slope Calculator for steepness, rise, run, and line equations from the same pair of points.
The distance formula is the Pythagorean theorem applied to coordinate changes. Delta x and delta y act like the two legs of a right triangle, and the distance is the hypotenuse.
No. This is straight-line coordinate distance. It does not follow roads, trails, map routes, elevation changes, traffic, or GPS paths.
No. This page is for two-dimensional points only. A 3D distance formula also needs z1 and z2, which should be handled as a separate mode with clear labels.
Use it as a coordinate-geometry check, not an exact field survey, route estimate, construction measurement, or safety decision. Double-check the coordinate scale, signs, units, and rounding, and use calibrated measurement, GIS data, or professional plans when the limit matters.
Yes. Recent distance answers stay only in the current browser tab while you use the page. They are not sent to a server.