Normalize a vector
Unit Vector Calculator
Normalize a nonzero 2D or 3D vector and verify that the result has magnitude approximately one.
Enter vectors
Result
Initializing.
Formula and worked example
Formula: v̂ = v / |v|
For v = (3, 4), |v| = 5 and v̂ = (0.6, 0.8).
Method and limitations
Components are parsed as finite decimal values, normalized internally as numeric arrays, and calculated with deterministic browser floating-point arithmetic. Supported dimensions are 2D and 3D.
The zero vector cannot be normalized. Verification uses floating-point arithmetic and is reported to display precision.
Inputs are bounded to absolute values from 10⁻¹⁰⁰ through 10¹⁰⁰ when nonzero. Results are rounded only for display.
Related calculators
Cross Product Calculator · Matrix Calculator · All calculators