Distance Formula Calculator

Calculate the distance between two points in 2D.

Quick answer: Distance Formula Calculator: Calculate the distance between two points in 2D. Everything runs in your browser, so nothing you enter is uploaded or stored.

How to use Distance Formula Calculator

  1. Enter your values in the fields.
  2. The results update instantly as you type.
  3. Note or copy the numbers you need.

Features

Formula

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

Worked example

From (1, 2) to (4, 6) the distance is 5.

Frequently asked questions

What is the formula?

d = square root of ((x2 - x1)^2 + (y2 - y1)^2).

Where does it come from?

The Pythagorean theorem.

Is the Distance Formula Calculator free?

Yes. It is free, needs no signup and works on any device.

More free tools