Vector Magnitude Calculator
Euclidean length |u| = √(ux²+uy²+uz²). Same engine as Vector. uz defaults to 0. Not a matrix. Not CAS. Runs locally.
Trust summary Engine tested · Specification checked · 11/11 tests · Production surface contract 3/3 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- Euclidean vector magnitude |u|.
- Scope
- Euclidean R²/R³
- Verification
- Engine tested · 11/11 tests · Production surface contract 3/3 · Specification checked · v1.0.0
- Named expert review
- Optional · Not performed
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 3 golden · 2 boundary · 6 property · Production surface contract 3/3 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (2 capabilities; 162 remain CURRENT) @ 2026-09-20T09:01:12.147Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Enter ux and uy
uz is optional and defaults to 0. (3, 4) has length 5.
Read |u|
The zero vector has magnitude 0. Normalize of zero is invalid on the hub.
Example calculations
Common configurations with formula and result.
3-4
u = (3, 4, 0)
Unit k
u = (0, 0, 1)
Vector Magnitude calculator specification
Version 1.0.0 · Engine tested
- Engine tested 11/11 tests · Production surface contract 3/3
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- |u| = √(ux² + uy² + uz²). This page is mode=magnitude on math.vector. uz defaults to 0. Normalize, dot, and cross stay on /calc/math/vector. Not a second engine. Not CAS.
- What it calculates
- Euclidean vector magnitude |u|.
- Inputs
- ux
- uy
- uz?
- Outputs
- magnitude
- Formula
|u| = √(ux² + uy² + uz²)- Assumptions
- Euclidean R²/R³
- uz defaults to 0
- Not Pythagorean-only
- Not CAS
- Units
- length (consistent units)
- Boundary conditions
- missing ux or uy → MISSING_REQUIRED_INPUT
- unknown mode → INVALID_MODE
- Example
- ux=3 uy=4 → 5
- Validation cases
2 published on this page · 11/11 tests · Production surface contract 3/3 · View evidence
- ux=3 uy=4 → magnitude=5
- ux=0 uy=0 uz=1 → magnitude=1
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.0.0
Related tools
Other calculators in this family: Angle Between Lines Calculator, Circle Calculator, Cone Calculator, Conic Section Calculator, Coordinate Geometry Calculator, Cross Product Calculator, Cylinder Calculator, Dot Product Calculator . Explore all Geometry.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second vector engine?
No. It is mode=magnitude on math.vector, the same engine as /calc/math/vector.
Is this the Pythagorean calculator?
No. |u| of (3, 4) is the same 5 as a 3-4-5 triangle, on a different model. Right triangles stay on /calc/math/pythagorean.
Where does this run?
Locally in the browser by default. REST and MCP call the same vector engine.