Unlock the power of vector analysis with our easy-to-use Vector Projection Calculator. Quickly determine the projection of vector A onto vector B, essential for physics, engineering, and computer graphics applications. Simply input your 2D or 3D vector components and get instant, accurate results for the component of vector A along vector B.
Formula:
The formula for the projection of vector a onto vector b (projba) is:
projba = (a ⋅ b / ||b||²) b
Where:
- a ⋅ b is the dot product of vector a and vector b.
- ||b||² is the squared magnitude of vector b.
- If a = (ax, ay, az) and b = (bx, by, bz):
- a ⋅ b = axbx + ayby + azbz
- ||b||² = bx² + by² + bz²