How it works
Scale the target by the dot product divided by its squared length.
Try an example
Vector to project: 3,4; Target vector: 1,0. The form starts with these values; change them to explore your own case.
Example result: 3, 0
- Multiply b by (a·b)/(b·b).
Learn more in Vector geometry and coordinate calculations.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.