Skip to main content

Distance Calculator 2D کا حساب کیسے لگائیں

Distance Calculator 2D کیا ہے؟

The distance formula calculates the straight-line (Euclidean) distance between two points in a 2D coordinate plane. It is derived directly from the Pythagorean theorem — the distance is the hypotenuse of a right triangle formed by the horizontal and vertical differences.

مرحلہ وار گائیڈ

  1. 1Find the horizontal difference: Δx = x₂ − x₁
  2. 2Find the vertical difference: Δy = y₂ − y₁
  3. 3Square both differences and add them
  4. 4Take the square root: d = √(Δx² + Δy²)

حل شدہ مثالیں

ان پٹ
(0,0) to (3,4)
نتیجہ
5
√(9+16)=√25=5 — a 3-4-5 triangle
ان پٹ
(1,1) to (4,5)
نتیجہ
5
√(9+16)=5
ان پٹ
(−2,3) to (4,−1)
نتیجہ
7.211
√(36+16)=√52≈7.211

حساب کے لیے تیار ہیں؟ مفت Distance Calculator 2D کیلکولیٹر آزمائیں۔

اسے خود آزمائیں →

ترتیبات