Point-to-Line Distance Calculator

Compute the shortest distance from point (x₀,y₀) to line Ax + By + C = 0 using d = |Ax₀ + By₀ + C| / √(A² + B²).

📐 计算公式
d = |Ax₀+By₀+C| / √(A²+B²)。 原点到 x+y−1=0 距离为 0.7071。

点 (x₀,y₀) 到直线 Ax+By+C=0 的最短距离。

Formula & Standard References

Item Formula / Note Source / Standard
Point-line distanced = |Ax₀ + By₀ + C|/√(A² + B²)Analytic geometry
General line formAx + By + C = 0Line equation
Vector derivationd = |n̂·(P − P₀)|Projection method
3D extensionSame form for point-plane3D analytic geometry
Foot of perpendicularFrom projection formulaAnalytic geometry
UnitsLength, same as coordinatesDimensional rules
📌 计算说明
  • d = |Ax₀+By₀+C| / √(A²+B²)。
  • 原点到 x+y−1=0 距离为 0.7071。