2D Distance Calculator

Created by Komal Rafay
Reviewed by Anna Szczepanek, PhD
Last updated: Aug 04, 2022

If you have ever wondered how to find the distance between two points in 2D, then we're here with our 2D distance calculator to assist you.

Would you like to know how to find the 2D distance between two points? We have some other topics in store for you as well, like:

  • 2D distance formula; and
  • How to find the distance between two points in 2D?

2D distance calculator

The 2D distance is the distance between any two points in a two-dimensional space, hence the name 2D distance.

Our 2D distance calculator is a straightforward tool that swiftly finds the 2D distance between two points.

  • Input the x and y coordinates of the first point;
  • Input the x and y coordinates of the second point;
  • The result is the distance between the two points.

For instance, (8,9)(8,9) and (5,17)(5,17) are the coordinates of the first and second points, respectively. Once you input them correctly, the result is 8.5448.544.

2D distance formula

The 2D distance formula uses the x and y coordinates of the two points to determine the distance between the two points in 2D space.

d=(x2x1)2+(y2y1)2d = \sqrt {(x_2-x_1)^2+(y_2-y_1)^2}

Where:

  • dd - The distance between two points;
  • x1,y1x_1 , y_1 - x and y coordinates of the first point; and
  • x2,y2x_2 , y_2 - x and y coordinates of the second point.

How to calculate 2D distance between two points

Now comes the part where we discuss how to calculate the 2D distance.
We know the formula is:

d=(x2x1)2+(y2y1)2d = \sqrt {(x_2-x_1)^2+(y_2-y_1)^2}

So, if you want to determine the distance without an online tool, you may follow the steps below:

  1. Subtract x coordinate of point 1 from point 2;
  2. Square the result of Step 1;
  3. Subtract y coordinate of point 1 from point 2;
  4. Square the result of Step 3;
  5. Sum the result from Steps 2 and 4;
  6. Take the square root of the result from Step 5; and
  7. The result is the 2D distance between two points.

Ways to measure distance at Omni!

There are many methods of measuring the distance between points in multiple dimensions.

Omni has a list of such calculators to cater to your needs!

FAQ

What is 2D distance?

2D distance, as the name indicates, is the distance between any two points in a two-dimensional space.
Each point has two coordinates that pinpoint the exact location, an x and a y coordinate. We write them as an ordered pair (x,y).

What is the distance between (4,3) and (7,13)?

The distance between (4,3) and (7,13) is 10.4403.
The 2D distance formula is:

Distance = √((x₂-x₁)²+(y₂-y₁)²)

So,

Distance = √((7-4)²+(13-3)²)

Distance = √((3)²+(10)²)

Distance = √(9+100)

Distance = √109

Distance = 10.4403

How do I calculate the 2D distance between two points?

Knowing the 2D distance formula will help you easily calculate the distance between two points.

Distance = √((x₂-x₁)²+(y₂-y₁)²)
where:

  • x₁ and y₁ - x and y coordinates of the first point; and
  • x₂ and y₂ - x and y coordinates of the second point.

So,

  1. Subtract x coordinate of point 1 from point 2, squaring the result;
  2. Subtract y coordinate of point 1 from point 2, squaring the result;
  3. Sum the result from Steps 1 and 2;
  4. Take the square root of the result from Step 3.
Komal Rafay
First point
x₁
y₁
Second point
x₂
y₂
Result
Distance
Check out 21 similar 2d geometry calculators 📏
AreaArea of a rectangleArea of crescent… 18 more
People also viewed…

Free fall

Our free fall calculator can find the velocity of a falling object and the height it drops from.

Parabola

The parabola calculator finds the vertex form, focus and directrix of every parabola.

Pizza size

This calculator will help you make the most delicious choice when ordering pizza.

QR decomposition

This QR decomposition calculator allows you to quickly factorize a given matrix into a product of an orthogonal matrix and upper-triangular matrix.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background