Math Lessons / Grade 6 Geometry / Distance Formula
Build a right triangle on the grid

What Is the Distance Formula?

The distance formula finds the length between two points in the coordinate plane. It works by measuring the horizontal change and vertical change between the points, then using the Pythagorean theorem on the right triangle those changes create.

Interactive diagram

Distance Formula Diagram

Move the endpoints, watch the horizontal and vertical changes update, and connect them to the segment length.
Horizontal and vertical changes

Why the squares appear

That geometric origin matters. The formula is not separate from the graph; it is a compact way to calculate the hypotenuse of the step pattern you can already see between the two points.

This page keeps the segment, the coordinate differences, and the resulting length on one board so the algebra and the geometry support the same answer.

For points (1, 2) and (7, 10), the horizontal change is 6 and the vertical change is 8. Those are the legs of a 6-8-10 right triangle, so the distance is 10 units. The graph lets you check whether the signs and absolute changes were read correctly before squaring.

  • The distance formula finds the length between two points on the coordinate plane.
  • The horizontal and vertical changes are found by subtracting the x-coordinates and y-coordinates respectively.
  • Distance is always nonnegative because it represents length, even if coordinate differences themselves are negative.
  • The formula is an application of the Pythagorean theorem in the plane.
Measuring between coordinates

Where the formula helps

  • Use the distance formula when finding the length of a segment from its endpoint coordinates.
  • Use it in problems involving perimeter, congruence on the coordinate plane, or circle radius from two points.
  • Use it to check whether a plotted geometric figure has equal sides or a required side length.
Label the changes before calculating

Distance-formula checks

  • Do not add the coordinate differences directly; the formula squares the horizontal and vertical changes first.
  • Do not mix x-change with y-change when setting up the calculation.
  • Do not leave a negative sign outside the square-root result, because distance is a length.

Turn two points into a triangle

Worked example

Example 1: Measure (1, 2) to (7, 10)

The coordinate changes form a 6-8-10 right triangle.

  • Find the horizontal change.
  • Find the vertical change.
  • Use the Pythagorean theorem.

The distance is 10 units.

Worked example

Example 2: Check a diagonal on the grid

A graph can expose a sign or squaring mistake in the algebra.

  • Plot both endpoints.
  • Count the run and rise.
  • Compare the computed length with the picture.

The visual triangle confirms the distance calculation.

Share this lesson