Distance Calculator

Find straight-line distance between two points in a plane.

Reset

What is this calculator?

Find straight-line distance between two points in a plane.

What can you use it for?

Use it when solving an exercise, checking a result, or working with the particular quantities shown in this form. Find straight-line distance between two points in a plane.

How to use it

  1. Enter first point x.
  2. Enter first point y.
  3. Enter second point x.
  4. Enter second point y.
  5. Select Calculate (or Generate for random tools).
  6. Read the answer and any additional results below the form. Check the units and the limits of the method.

Formula and method

Result = sqrt((second point x-first point x)^2+(second point y-first point y)^2)

The formula uses the units and definitions shown above. Each input is substituted before the arithmetic is evaluated; the calculated output is rounded for display.

Worked example

First point x: 0, First point y: 0, Second point x: 3, Second point y: 4. The result is 5 (result).

Assumptions and limits

Inputs and outputs must stay within the supported finite number range. Displayed decimal answers may be rounded.

Frequently asked questions

What inputs does the Distance Calculator need?

Use first point x, first point y, second point x, second point y. Read the answer and any additional results below the form. Check the units and the limits of the method.

What assumptions apply to the Distance Calculator?

Inputs and outputs must stay within the supported finite number range. Displayed decimal answers may be rounded.

A little help with the numbers

Smart input · AI explanations when connected