HomeCalculatorsMathVectorsVector Magnitude Calculator
Math calculator

Vector Magnitude Calculator

Euclidean length |u| = √(ux²+uy²+uz²). Same engine as Vector. uz defaults to 0. Not a matrix. Not CAS. Runs locally.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
Input interpretation
Enter values to calculate.
Result
—
Verified scope
all published modes
Assurance
Core
Declared partition coverage
PASS · 10/10 declared partitions (magnitude, normalize, add, sub, dot, cross, angle, projection, triple, invalid-domain) · Matrix
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
Euclidean vector magnitude |u|.
Scope
Euclidean R²/R³
Verification
Engine tested · Source checked · v1.6.1 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
Versions
Calculation 1.6.1 · CVP protocol 1.0.0-proposed · Evidence 2026-09-29.cross-product-hardening-iface2
Verification revision
2026-09-29.cross-product-hardening-iface2 · 7/7 property · digest 3e840b22dc12
Legacy regression
11/11 tests · Production surface contract 5/5
Trust layers
Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 2/2 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
10/10 golden · 4/4 CVP boundary · 9/9 invalid · 7/7 property · 6/6 cross-interface · 2/2 cross-calculator · 5/5 CVP contract · Manifest
Evidence
3 legacy golden · 2 legacy boundary · legacy regression suite · 10/10 oracle-backed golden · 9/9 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.6.1 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

Magnitude|u| = √(ux² + uy² + uz²)
2-D|u| = √(ux² + uy²)
iSame engine as /vector. The unit vector is /vector-normalize. Not Pythagorean-only.

How to use

1

Enter ux and uy

uz is optional and defaults to 0. (3, 4) has length 5.

2

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)

√(9+16)
5
ϟ

Unit k

u = (0, 0, 1)

√1
1

Vector Magnitude calculator specification

Version 1.6.1 · Engine tested

Calculation status

Review policy · Evidence

Definition
|u| = √(ux² + uy² + uz²). This page is mode=magnitude on math.vector. uz defaults to 0. The unit vector is /calc/math/vector-normalize. 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 5/5 · View evidence

  • ux=3 uy=4 → magnitude=5
  • ux=0 uy=0 uz=1 → magnitude=1
Sources
  • ISO 80000-2:2019 Quantities and units — Mathematics
    Supports: Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.
  • Gilbert Strang, Calculus — Chapter 11: Vectors and Matrices (MIT OpenCourseWare) — §§11.1–11.3 Vectors, Dot Products, Projections and Cross Products
    Supports: Vector components and magnitudes, dot product and angle/projection relations, and cross product/determinant orientation and area. Projecting a point displacement onto the unit normal to Ax+By+C=0 gives distance |Ax₀+By₀+C|/sqrt(A²+B²); this planar expression is derived from the projection formula. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.
Calculation version
1.6.1

Background

Interpretation and common distinctions.

What does this vector magnitude calculator compute?

|u| = √(ux² + uy² + uz²).

The published formula or method is |u| = √(ux² + uy² + uz²). The following references support the stated mathematics or method:

  • Gilbert Strang, Calculus — Chapter 11: Vectors and Matrices (MIT OpenCourseWare): Vector components and magnitudes, dot product and angle/projection relations, and cross product/determinant orientation and area. Projecting a point displacement onto the unit normal to Ax+By+C=0 gives distance |Ax₀+By₀+C|/sqrt(A²+B²); this planar expression is derived from the projection formula. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.

Which inputs and limits should you check?

Follow the input domain, units, branch or solve direction, and rounding policy in the specification. Preserve exact outputs and any additional candidates or warnings.

The worked example uses u = (3, 4, 0) with √(9+16). Compare it with the Example calculations and the complete result for the same inputs.

How can you verify and cite this result?

CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.vector v1.6.1 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.

Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.

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.