Start a free test

The Distance Formula

SAT Math · Geometry and Trigonometry · Updated October 2026

The formula, and where it comes from

The distance between $(x_1, y_1)$ and $(x_2, y_2)$ is $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$.

It is the Pythagorean theorem. The horizontal gap and the vertical gap are the legs of a right triangle, and the distance is the hypotenuse. If you forget the formula, draw the triangle.

The distance formula is not on the SAT reference sheet, which makes some students nervous. It does not need to be. The Pythagorean theorem is on the sheet, and the distance formula is that theorem drawn on a grid. Most of the points students lose here are sign mistakes when a coordinate is negative.

(x₁, y₁) (x₂, y₂) x₂ − x₁ y₂ − y₁ d

The distance $d$ is the hypotenuse of a right triangle whose legs are the horizontal and vertical gaps.

Three examples

A basic distance

Find the distance between $(2, -1)$ and $(7, 11)$.

  1. Horizontal gap: $7 - 2 = 5$. Vertical gap: $11 - (-1) = 12$.
  2. $d = \sqrt{5^2 + 12^2} = \sqrt{169} = 13$.
  3. Subtracting a negative is where most errors happen. $11 - (-1)$ is $12$, not $10$.

A missing coordinate

The point $(k, 5)$ is $13$ units from the origin, and $k > 0$. Find $k$.

  1. $k^2 + 5^2 = 13^2$.
  2. $k^2 = 144$, so $k = 12$.
  3. The question says $k > 0$, which rules out $-12$.

A radius

A circle has center $(-2, 3)$ and passes through $(4, -5)$. What is its radius?

  1. The radius is the distance from the center to the point.
  2. Gaps: $6$ and $8$.
  3. $r = \sqrt{36 + 64} = 10$.

Where it shows up

Triples that save time

The SAT likes coordinates whose gaps make a Pythagorean triple, because then the answer is a whole number. The ones worth knowing by sight are $3$, $4$, $5$ and $5$, $12$, $13$, along with their multiples such as $6$, $8$, $10$ and $9$, $12$, $15$. If the horizontal gap is $6$ and the vertical gap is $8$, you can write $10$ without squaring anything.

When the gaps are equal, the triangle is a $45$-$45$-$90$ triangle and the distance is the gap times $\sqrt{2}$. When one gap is zero, the points are on a horizontal or vertical line and the distance is just the other gap. I ask students to look for these three shortcuts before they write the formula, and most of the time one of them applies.

Distance and circles

The equation of a circle is the distance formula in disguise. A point $(x, y)$ is on the circle with center $(h, k)$ and radius $r$ exactly when its distance from the center is $r$. Squaring both sides of $\sqrt{(x - h)^2 + (y - k)^2} = r$ gives $(x - h)^2 + (y - k)^2 = r^2$, the standard form you see on the test.

That connection answers a whole family of questions. Is a point inside, on or outside a circle? Compare its distance from the center with $r$. What is the radius when you know the center and one point? Find the distance between them. What is the diameter when you know its two endpoints? Find the distance between the endpoints, and the center is their midpoint.

Mistakes I see often

Practice

Find the two gaps first, then square, add and take the square root.

Easy
What is the distance between $(1, 2)$ and $(4, 6)$?
  • A$\sqrt{7}$
  • B$5$
  • C$7$
  • D$25$
Show solution
Answer: B. $\sqrt{3^2 + 4^2} = 5$. Choice C adds the gaps, and choice D forgets the square root.
EasyStudent-produced response
What is the distance between $(-3, 0)$ and $(5, 0)$?
Enter your answer.
Show solution
Answer: $8$. Both points are on the $x$-axis, so the distance is $5 - (-3) = 8$.
Medium
What is the distance between $(2, -1)$ and $(7, 11)$?
  • A$12$
  • B$13$
  • C$17$
  • D$\sqrt{119}$
Show solution
Answer: B. Gaps $5$ and $12$: $\sqrt{169} = 13$.
MediumStudent-produced response
What is the distance from the origin to the point $(6, 8)$?
Enter your answer.
Show solution
Answer: $10$. $\sqrt{36 + 64} = 10$.
Medium
What is the distance between $(1, 1)$ and $(4, 4)$?
  • A$3$
  • B$3\sqrt{2}$
  • C$6$
  • D$18$
Show solution
Answer: B. $\sqrt{9 + 9} = \sqrt{18} = 3\sqrt{2}$.
MediumStudent-produced response
The point $(k, 5)$ is $13$ units from the origin, and $k > 0$. What is the value of $k$?
Enter your answer.
Show solution
Answer: $12$. $k^2 + 25 = 169$, so $k = 12$.
Hard
Which point is farthest from the origin?
  • A$(5, 5)$
  • B$(7, 0)$
  • C$(6, 3)$
  • D$(0, -6)$
Show solution
Answer: A. Compare squared distances: $50$, $49$, $45$ and $36$. The point $(5, 5)$ is about $7.07$ away.
HardStudent-produced response
What is the perimeter of the triangle with vertices $(0, 0)$, $(6, 0)$ and $(6, 8)$?
Enter your answer.
Show solution
Answer: $24$. The sides are $6$, $8$ and $\sqrt{36 + 64} = 10$, so the perimeter is $24$.
Hard
A circle has center $(-2, 3)$ and passes through the point $(4, -5)$. What is the radius of the circle?
  • A$2$
  • B$10$
  • C$14$
  • D$100$
Show solution
Answer: B. The gaps are $6$ and $8$, so the radius is $10$. Choice D is the radius squared.
HardStudent-produced response
The points $(1, a)$ and $(4, 1)$ are $5$ units apart, and $a > 1$. What is the value of $a$?
Enter your answer.
Show solution
Answer: $5$. $3^2 + (a - 1)^2 = 25$, so $(a - 1)^2 = 16$ and $a = 5$.

Which geometry questions do you miss?

A free practice test shows where your points go.

Practice this for free
No credit card. Register once, take as many tests as you like.