Vector Magnitude Calculator

Find the magnitude (length) and unit vector of a vector in any dimension. Enter the components separated by commas.

Magnitude
Length of the vector.

Usage Tip

Dividing a vector by its magnitude gives a unit vector — useful for describing pure direction.

THE MATH
magnitude = √(sum of squared components)
unit vector = each component ÷ magnitude
A vector magnitude is its length, found by the Pythagorean theorem extended to any number of dimensions.
The unit vector points the same way with length 1.
Enter two or more components separated by commas (2D, 3D, or higher).
The unit vector and sum of squares are shown.
A zero vector has no defined direction.
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.