مواد پر جائیں
CalculatorsFinder
ریاضی کے کیلکولیٹر

Distance Formula Calculator

Calculate the straight-line distance between two points on a plane, plus the midpoint.

  • فوری نتائج
  • مرحلہ وار
  • نجی: آپ کے براؤزر میں چلتا ہے

اپنے اعداد درج کریں

نتیجہ

Distance

5

Midpoint
(2.5, 4)
Horizontal distance |Δx|
3
Vertical distance |Δy|
4
Distance squared
25
مرحلہ وار حساب
  1. d = √((x₂ − x₁)² + (y₂ − y₁)²)
  2. d = √(3² + 4²) = √25
  3. d = 5

نیچے کی وضاحت فی الحال صرف انگریزی میں دستیاب ہے۔ کیلکولیٹر ہر زبان میں یکساں کام کرتا ہے۔

Distance Formula Calculator کے بارے میں

The distance formula gives the straight-line length of the segment joining two points on a coordinate plane. It is the Pythagorean theorem applied to the horizontal and vertical differences between the points.

Use it for geometry homework, map and game coordinates, and anywhere you need the shortest path between two locations on a flat grid. The midpoint is shown too.

فارمولا اور یہ کیسے کام کرتا ہے

d = √((x₂ − x₁)² + (y₂ − y₁)²)

Midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)

Squaring the differences removes any sign, so the order of the points does not matter. The result is in the same unit as your coordinates.

حل شدہ مثال

From (1, 2) to (4, 6)

Δx = 3 and Δy = 4, so d = √(9 + 16) = √25 = 5. The midpoint is (2.5, 4). This is the classic 3-4-5 right triangle.

مشورہ: یہ اعداد بھرنے کے لیے اوپر کیلکولیٹر میں “مثال آزمائیں” دبائیں۔

اپنا نتیجہ سمجھیں

The distance is the shortest path between the points; real routes along roads will usually be longer.

On the Earth's curved surface over long distances, great-circle formulas are needed instead.

عام غلطیاں جن سے بچیں

  • Adding the differences instead of squaring them first.
  • Forgetting the square root at the end.
  • Using this flat formula for latitude and longitude over large distances.

اکثر پوچھے جانے والے سوالات

What is the distance formula?

d = √((x₂ − x₁)² + (y₂ − y₁)²).

Does the order of the points matter?

No. Swapping the points gives the same distance.

How is it related to the Pythagorean theorem?

The horizontal and vertical differences are the legs of a right triangle and the distance is its hypotenuse.