Distance 2D Points Lines CalculatorBy Daniel Sir / September 13, 2026 2D Distance & Line Geometry Distance between points, point-to-line distance, slope, and angle Point 1 (x₁, y₁): Point 2 (x₂, y₂): Calculate Results Distance d = √[(x₂-x₁)² + (y₂-y₁)²] Slope m = (y₂-y₁)/(x₂-x₁)