Home · Everyday · Vectors & Complex Numbers · Vector Projection Calculator
Vector Projection Calculator
The scalar and vector projection of one vector onto another — the shadow one casts on the other.
What this calculator does
The scalar and vector projection of one vector onto another — the shadow one casts on the other. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Enter vectors as comma-separated components; both vectors must share the same dimension.
Components are combined by the standard vector rules (Euclidean geometry).
Angles are returned in degrees unless you switch the angle unit.
Worked example
With the example inputs this page opens with (a — x (projected) 2, a — y 3, a — z 4, b — x (onto) 1), the result is 4.2426 — scalar projection of a onto b. The signed length of a's shadow on b. The vector projection is that shadow as a vector, parallel to b.
Quick reference
| a — x (projected) | Scalar projection of a onto b |
|---|---|
| 1 | 3.5355 |
| 1.6 | 3.9598 |
| 2 | 4.2426 |
| 2.5 | 4.5962 |
| 3 | 4.9497 |
| 4 | 5.6569 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Vector Projection Calculator work?
The scalar and vector projection of one vector onto another — the shadow one casts on the other. Vector a · Vector b → Projection of a on b. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Vector Projection Calculator need?
Vector a · Vector b → Projection of a on b. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Vector Projection Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.