Calculating Distance Between Two Points- The Distance Formula

What Is the Distance Formula?

The distance formula tells you how far apart two points are on a coordinate plane. It's not some abstract math concept—it's a tool you can use right now.

Here's the formula:

d = √[(x₂ - x₁)² + (y₂ - y₁)²]

That squiggly line is a square root. The rest is just subtraction, squaring, and adding. Nothing fancy.

Where Does This Come From?

The distance formula is the Pythagorean theorem in disguise. If you draw a right triangle between your two points, the distance you're calculating is the hypotenuse.

The Pythagorean theorem states:

a² + b² = c²

Your horizontal distance is a. Your vertical distance is b. The distance between points is c.

That's it. The formula just plugs those values in directly.

Breaking Down the Formula

Let's look at what each part means:

The order of subtraction doesn't matter mathematically—you'll get the same answer either way. But keep track of which point is point 1 and which is point 2.

How to Calculate Distance: Step by Step

Let's find the distance between points (3, 4) and (11, 13).

Step 1: Identify your coordinates

Point 1: (x₁, y₁) = (3, 4)
Point 2: (x₂, y₂) = (11, 13)

Step 2: Subtract x coordinates

x₂ - x₁ = 11 - 3 = 8

Step 3: Subtract y coordinates

y₂ - y₁ = 13 - 4 = 9

Step 4: Square both results

8² = 64
9² = 81

Step 5: Add the squares

64 + 81 = 145

Step 6: Take the square root

√145 ≈ 12.04

The distance is about 12.04 units.

Quick Comparison: Distance vs. Other Methods

Method Best For Accuracy Speed
Distance Formula Any two points on a grid Exact Moderate
Ruler/Measuring Physical objects Depends on tool Fast for short distances
Estimation Quick approximations Low Fastest
Manhattan Distance Grid-based travel N/A (different metric) Fast

Common Mistakes to Avoid

Sign errors: Make sure you're subtracting correctly. (x₂ - x₁) not (x₁ - x₂) consistently—mixing these up won't change your answer for squaring, but it's sloppy practice.

Forgetting to square root: The sum of squares isn't your distance. You need that final step.

Rounding too early: Keep full precision through your calculation. Round only at the end.

Confusing the formula with slope: Slope is (y₂ - y₁)/(x₂ - x₁). Distance is √(sum of squares). Different operations entirely.

Practical Applications

You won't use this just for homework. Real uses include:

Getting Started: Your First Calculation

Try this yourself. Find the distance between (1, 2) and (7, 10).

Answer below—don't peek until you've tried it.

...

Here's the solution:

√[(7-1)² + (10-2)²] = √[36 + 64] = √100 = 10

If you got 10, you're doing it right. If not, go back and check each step.

The Bottom Line

The distance formula is straightforward once you break it down. Plug in your coordinates, do the math in order, and you get your answer. No memorization tricks needed if you understand why it works—it comes from the Pythagorean theorem, and that's the piece most people forget.

Practice with a few problems. After three or four, it'll click.