Math Calculators

Distance Calculator

Find 2D distance between two points. The estimate updates in your browser as you type.

Distance 5

Local estimate.

What this tool is for

Distance Calculator is built for math checking inside math calculators when you need to finds distance between two coordinates. It focuses on distance instead of making you adapt a broad calculator to a narrow task.

When to use it

Use it when x1, y1, and x2 are already known and you want a fast estimate before comparing options, checking a worksheet, or copying the result into another workflow.

Inputs

  • x1 is one of the direct inputs used to calculate distance.
  • y1 is one of the direct inputs used to calculate distance.
  • x2 is one of the direct inputs used to calculate distance.
  • y2 is one of the direct inputs used to calculate distance.

Formula

distance = sqrt((x2 - x1)^2 + (y2 - y1)^2)

Example

(0,0) to (3,4) is 5.

What the result means

The result labeled "Distance" is the direct output of distance = sqrt((x2 - x1)^2 + (y2 - y1)^2). In the worked example, (0,0) to (3,4) is 5.

Before you rely on the result

Check the inputs and formula before using the result in homework, engineering, finance, or scientific work.