Interactive geometry calculator
Point to Line Segment Projection Calculator
Enter four segment coordinates and two point coordinates and press the button. This example runs the actual widget in your browser.
Run the sample inputs to see the native output.