Loading…

Vector Projection Calculator

Physics Classical Mechanics • Vectors

View all topics

Compute the scalar projection and vector projection of one vector onto another, split a vector into parallel and perpendicular components, and visualize the “shadow” of vector A on vector B.

Vector A
Vector B
Accepted numeric expressions include pi/2, sqrt(2), 1e-3, sin(0.4), and abs(-5). Vector B must be nonzero because projection onto the zero vector is undefined. The graph shows the line of B, the vector projection of A onto B, and the perpendicular remainder.
Ready
Enter vectors A and B, then click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is the difference between scalar projection and vector projection?

The scalar projection is a signed number that tells how much of A lies along B. The vector projection is the actual vector component of A that lies parallel to B.

How do you compute the vector projection of A onto B?

Use proj_B A = (A·B / |B|²) B. First compute the dot product, then divide by the square of the magnitude of B, and finally multiply by B.

What is the perpendicular component in a projection problem?

It is the part of A that remains after removing the projection onto B. It is given by A - proj_B A and is orthogonal to B.

Can I project onto the zero vector?

No. Projection onto the zero vector is undefined because the formulas divide by |B| or |B|², and the zero vector has no direction.

Why is vector projection useful in physics?

It is useful for resolving forces, velocities, and displacements along chosen directions, such as finding the component of a force along an incline or axis.