Perpendicular distance, foot, and formula — live on the graph
Enter a line and a point to instantly calculate the shortest distance between them. The calculator shows the perpendicular foot, the right angle, and the step-by-step formula on an interactive graph.
The shortest distance from a point to a line is always the perpendicular distance — the length of the segment that meets the line at 90°. This calculator computes it using the formula d = |ax₀ + by₀ + c| / √(a² + b²) and shows every step.
Want to understand why the perpendicular is always shortest? Ask the AI tutor — it will walk you through the geometric proof (Pythagorean theorem) and the algebraic proof (the distance is a quadratic with a unique minimum).