Active experiment

Distance of Two Points Calculator

Find 2D distance.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the distance of two points calculation mean?

The distance formula applies the Pythagorean theorem to horizontal and vertical coordinate changes. Squaring makes each change nonnegative, so point order does not affect the result.

When to use it

Use it for the straight-line distance between two points in a Cartesian plane.

Formula

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

In plain text: d = √((x₂ − x₁)² + (y₂ − y₁)²)

Variables and units

SymbolMeaning
x₁, y₁first point
x₂, y₂second point
dnonnegative distance

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

Between (1, 2) and (4, 6), Δx = 3 and Δy = 4. Thus d = √(3² + 4²) = 5.

Common mistakes

  • Square each coordinate difference before adding.
  • Do not omit the square root.
  • Use consistent physical units on both axes.

Interpret the result

Distance is never negative and is zero only when the points coincide.