If this tool helped you, you can buy us a coffee ☕
计算点到直线的垂直距离,支持两点式和一般式方程输入。
Formulas
d = |A·x₀ + B·y₀ + C| / √(A² + B²)
Foot of Perpendicular Coordinates: x_f = x₀ − A·(A·x₀ + B·y₀ + C)/(A² + B²), y_f similarly
Two-point form can be converted to general form: A = y₂ − y₁, B = −(x₂ − x₁), C = x₂·y₁ − x₁·y₂
3x + 4y − 12 = 0(1.6, 1.8)直线的斜率计算器
输入两点坐标,快速计算直线斜率

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.
直线的斜率计算器
输入两点坐标,快速计算直线斜率

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.

Circle Area Calculator
Quickly calculate the area of a circle by entering the radius, diameter, or circumference. Supports custom units and precision settings.
在几何解题或工程测量中,常需要快速求出一个点到一条直线的垂直距离。本工具根据用户输入的点坐标和直线参数,精确计算距离结果。支持两种直线定义方式:两点式(通过直线上两个点)和一般式(Ax+By+C=0)。点到直线的距离就是该点到直线垂线段的长度,是解析几何中的基本概念。
所有坐标和系数均应为实数,工具不支持虚数。两点式输入的两点不能重合;一般式中A、B不同时为0。计算结果保留适当小数位。当点恰好在直线上时,距离为0,结果正常显示。本工具纯浏览器端运行,不会上传任何数据,确保隐私安全。
点到直线距离公式:d = |Ax₀ + By₀ + C| / √(A² + B²)。若已知直线上两点(x₁,y₁)、(x₂,y₂),可先转化为一般式:A = y₁ - y₂,B = x₂ - x₁,C = x₁y₂ - x₂y₁。在工程CAD校验中,可用此距离判断点是否在容许误差范围内。注意保持单位一致,避免符号错误。