Calculating Diagonal Distance
Introduction
Welcome back to Distance on the Coordinate Plane! You have reached the third of four lessons in this course, and this is where everything comes together. In Lesson 1 you learned to measure horizontal and vertical distances, and in Lesson 2 you built right triangles whose legs are those distances and whose hypotenuse is the diagonal between two points. The missing piece has been calculating that diagonal — and the Pythagorean theorem is the tool that fills the gap. Let's put it to work.
Connecting the Triangle to the Theorem
From earlier in this learning path, you know that the Pythagorean theorem states:
where and are the legs of a right triangle and is the hypotenuse. In our coordinate-plane triangles the two legs are the horizontal and vertical segments we already know how to measure, and the hypotenuse is the diagonal distance we want to find. Since and are known, all we need to do is square them, add the results, and take the square root to get .
Think back to the city-grid analogy from Lesson 2: you walk several blocks east and then several blocks north, forming an "L" shape, while a bird flies straight between the two intersections. The legs of the "L" are the values we plug into the theorem, and the bird's flight path is the distance the theorem returns. Now let's see the numbers in action.
A Whole-Number Distance
Consider the points and . Placing the right-angle corner at gives us:
- Horizontal leg:
- Vertical leg:
Applying the theorem with and :
The straight-line distance between the two points is exactly 5 units. You may recognize this as the famous 3-4-5 triple from the earlier course on solving for unknown sides. Whenever a problem produces a perfect square under the radical, the answer comes out as a clean whole number.

When the Distance Is Not a Whole Number
Now let's return to the triangle from Lesson 2 built from the points and . We already found horizontal and vertical legs of 4 and 5 units, but back then we had no way to calculate the hypotenuse. Now we do.
Setting and :
Because 41 is not a perfect square, the exact distance is units. We can also express this as a decimal approximation: units, rounded to two decimal places. The radical form is exact, while the decimal gives a quick sense of the actual length — both are useful depending on the situation.
Negative Coordinates Work the Same Way
Points in different quadrants do not change the method at all. Take and , another pair from Lesson 2. The horizontal leg is and the vertical leg is . From here the calculation is identical:
Since , we can simplify:
The absolute values handled the negative signs when we found the legs. Once those leg lengths are in hand, the Pythagorean theorem works exactly the same way every time.

From Points to Distance in Four Steps
No matter which two points you are given, the process is always the same. Here is the complete method for finding the distance between and :
- Find the horizontal leg: compute .
- Find the vertical leg: compute .
- Square each leg and add the results.
- Take the square root of that sum to get the distance.
This method works everywhere on the coordinate plane — whether the points sit in the same quadrant, straddle an axis, or land in opposite corners of the grid. It also applies directly to real-world maps and layouts. If you know two locations as coordinates on a city map, these four steps tell you the straight-line shortcut between them, even when streets only let you travel in an "L" shape.
One useful detail: when you square a difference in Step 3, any negative sign disappears automatically. Squaring naturally handles the absolute value for you. We will build on this idea in the next lesson when we combine all four steps into a single formula.
Conclusion and Next Steps
In this lesson you applied the Pythagorean theorem to the right triangles from Lesson 2, completing the journey from two coordinate points to a straight-line distance. Whether the result is a tidy whole number like 5 or an exact radical like , the four-step method — horizontal leg, vertical leg, square-and-add, square root — stays the same every time.
Up next, we will condense these steps into one compact expression called the distance formula. Before that, head into the practice exercises to work through the full process on your own. You will calculate clean distances, simplify radicals, and even find a shortcut across a park on a city-grid map!
