Home · Everyday · Vectors & Complex Numbers · Vector Magnitude Calculator

Vector Magnitude Calculator

The length of a vector from its components — Pythagoras in two or three dimensions.

Your figures

Example result — edit the figures to make it yours

7

Magnitude of (2, 3, 6)

The magnitude is the Euclidean length √(x² + y² + z²); the unit vector is the same direction scaled to length 1.

Unit vector(0.2857, 0.4286, 0.8571)
Direction angle to x-axis73.3985°
Direction angle to y-axis64.6231°
Direction angle to z-axis31.0027°

What this calculator does

The length of a vector from its components — Pythagoras in two or three dimensions. 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

|v| = √(x² + y² + z²)

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 2, a — y 3, a — z 6), the result is 7 — magnitude of (2, 3, 6). The magnitude is the Euclidean length √(x² + y² + z²); the unit vector is the same direction scaled to length 1.

Quick reference

Quick reference — varying a — x
a — xMagnitude of (2, 3, 6)
16.7823
1.66.8964
27
2.57.1589
37.3485
47.8102

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Vector Magnitude Calculator work?

The length of a vector from its components — Pythagoras in two or three dimensions. Vector components → Magnitude. 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 Magnitude Calculator need?

Vector components → Magnitude. 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 Magnitude 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.