Vector Projection Calculator

Project one vector onto another — the vector and scalar projection. Enter both vectors.

Vector Projection
A onto B.

Usage Tip

Projection splits a vector into a part along another and a part perpendicular to it — the basis of many physics and graphics calculations.

THE MATH
proj = ((A · B) ÷ (B · B)) × B
scalar projection = (A · B) ÷ |B|
The projection of A onto B is the part of A that points along B — the shadow A casts on B’s direction.
The scalar projection is that shadow’s signed length.
Enter two vectors of equal length.
The vector projection lies along B; the scalar projection is its length.
You cannot project onto the zero vector.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.