Vector length calculator

Vector Magnitude Calculator

Calculate the standalone Euclidean magnitude or length of a 2D or 3D vector.

Enter vectors

Vector dimensions
Vector

Result

Initializing.

Formula and worked example

Formula: |v| = √(Σ vᵢ²)

For v = (3, 4), |v| = √(3² + 4²) = 5.

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.

This page calculates magnitude only. It does not normalize the vector or calculate distance between two points.

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