Omni Calculator logo

2D Distance Calculator

Created by Komal Rafay
Reviewed by Anna Szczepanek, PhD
Last updated: Jan 18, 2024


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, substituting in the numbers, the distance is:

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

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

= √(9+100)

= √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.

To calculator the 2D distance:

  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 46 similar coordinate geometry calculators 📈
Average rate of changeBilinear interpolationCatenary curve… 43 more
People also viewed…

Alien civilization

The alien civilization calculator explores the existence of extraterrestrial civilizations by comparing two models: the Drake equation and the Astrobiological Copernican Limits👽

Double angle formula

The double angle formula calculator is a great tool if you'd like to see the step by step solutions of the sine, cosine and tangent of double a given angle.

Flat vs. round Earth

Omni's not-flat Earth calculator helps you perform three experiments that prove the world is round.

Pyramid angle

From solid geometry to ancient Egyptian carpentry, our pyramid angle calculator will help you!
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service