Skip to content
Skip to main content
DigiCalcs

Distance Formula

หรือเรียกอีกอย่างว่า: Euclidean Distance

d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
d = √((x₂ - x₁)² + (y₂ - y₁)²)

มันคำนวณอะไร

Finds the straight-line distance between two points in a 2D plane. Derived directly from the Pythagorean theorem.

ตัวแปร

เครื่องหมายชื่อคำอธิบาย
dDistanceDistance between two points
(x_1, y_1)Point 1Coordinates of the first point
(x_2, y_2)Point 2Coordinates of the second point

ตัวอย่างการทำงาน

1d = √((4-1)² + (6-2)²)
2d = √(9 + 16) = √25 = 5
ผลลัพธ์: 5

ลองใช้เครื่องคิดเลข

สูตรที่เกี่ยวข้อง

#geometry#coordinate geometry#distance

การตั้งค่า