Distance on the Coordinate Plane Formula

The distance between two points on the coordinate plane is found using the Pythagorean theorem: d = √((x_2 - x_1)^2 + (y_2 - y_1)^2).

The Formula

d=(x2−x1)2+(y2−y1)2

Ask yourself: Can I draw horizontal and vertical legs between the points?

Quick example

Distance from (1,2) to (4,6): d=(4−1)2+(6−2)2=9+16=25=5.

Notation

Horizontal and vertical coordinate differences become the legs of a right triangle.

What this formula means

The distance between two points on the coordinate plane is found using the Pythagorean theorem: d=(x2−x1)2+(y2−y1)2.

Cutting diagonally across a rectangular park is shorter than walking the sidewalk around two sides, east then north, and the Pythagorean theorem says exactly how much shorter. Because the legs are squared, direction does not matter: crossing the park either way gives the same length.

Worked examples

Example 1

easy
Find the distance between (1,2) and (1,−6). Show the shortcut for vertical segments.
Show solution

Answer

8

First step

1.
Notice both points have x=1 — the segment is vertical.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

medium
Express the distance between (1,2) and (4,4) in simplest radical form.

Example 3

medium
Three points: A(0,0), B(4,0), C(4,3). Is triangle ABC a right triangle?

Common mistakes

  • Adding run and rise — use Pythagorean theorem for diagonal distance.
  • Squaring the sum instead of summing the squares — (Δx+Δy)2 is not Δx2+Δy2.
  • Forgetting square root after adding squares — the sum is distance squared.

Why this formula matters

Maps, games and screens all store positions as coordinates, so this is how a game checks whether an enemy is within 5 squares of a tower, or how an app finds the straight-line distance between two places. Adding the run and the rise instead gives the longer along-the-grid distance: from (1,2) to (5,5) that is 7 instead of 5.

Frequently asked questions

What is the Distance on the Coordinate Plane formula?

The distance between two points on the coordinate plane is found using the Pythagorean theorem: d=(x2−x1)2+(y2−y1)2.

How do you use the Distance on the Coordinate Plane formula?

Use the distance formula when two points are given as coordinates and the question asks how far apart they are, the length of a segment, or the side length of a shape drawn on a grid. If the points share an x- or a y-value, just subtract. If the question asks how steep the segment is, find the slope instead; if it asks for the point halfway between, average the coordinates to get the midpoint.

What do the symbols mean in the Distance on the Coordinate Plane formula?

Horizontal and vertical coordinate differences become the legs of a right triangle.

Why is the Distance on the Coordinate Plane formula important in Math?

Maps, games and screens all store positions as coordinates, so this is how a game checks whether an enemy is within 5 squares of a tower, or how an app finds the straight-line distance between two places. Adding the run and the rise instead gives the longer along-the-grid distance: from (1,2) to (5,5) that is 7 instead of 5.

What do students get wrong about Distance on the Coordinate Plane?

The procedure for distance on the coordinate plane is the easy part; the trap is adding run and rise. Asking "Can I draw horizontal and vertical legs between the points?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Distance on the Coordinate Plane formula?

Before studying the Distance on the Coordinate Plane formula, you should understand: coordinate plane, pythagorean theorem, square roots.