Distance Point to Line Calculator
Calculate the perpendicular distance from a point to a line in 2D or 3D space.
Input
Point P
Line: ax + by + c = 0
Perpendicular Distance
0.70710678
Foot of Perpendicular
(3.5000, 3.5000)
Closest point on line to P
Signed Distance
-0.707107
Point is on negative side of line
Slope
1.0000
Unit Normal
(0.7071, -0.7071)
Distance Formulas
2D Formula
d = |ax₀ + by₀ + c| / √(a² + b²)
3D Formula
d = |(P - L) × d| / |d|
💡
Help us improve!
How would you rate the Distance Point to Line Calculator?
Calculadoras Relacionadas
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
📚
Formula Source: Handbook of Mathematical Functions
by Abramowitz & Stegun
🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.