Home · Everyday · Vectors & Complex Numbers · Vector Calculator
Vector Calculator
Magnitude, unit vector and direction angles of a 2D or 3D vector — the full readout from its components.
What this calculator does
Magnitude, unit vector and direction angles of a 2D or 3D vector — the full readout from its components. 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 component 1, a — y component 2, a — z component 3), the result is 3.7417 — magnitude of (1, 2, 3). The magnitude is the Euclidean length √(x² + y² + z²); the unit vector is the same direction scaled to length 1.
Quick reference
| a — x component | Magnitude of (1, 2, 3) |
|---|---|
| 0.5 | 3.6401 |
| 0.8 | 3.6932 |
| 1 | 3.7417 |
| 1.25 | 3.8161 |
| 1.5 | 3.9051 |
| 2 | 4.1231 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Vector Calculator work?
Magnitude, unit vector and direction angles of a 2D or 3D vector — the full readout from its components. Vector components → Magnitude, unit vector, direction. 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 Calculator need?
Vector components → Magnitude, unit vector, direction. 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 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.