Vector Subtract Calculator
Componentwise vector difference u − v. Same engine as Vector. uz/vz default to 0. Not /subtraction. Not /vector-add. Not a matrix. Not CAS. Runs locally.
Trust summary Engine tested · Specification checked · 11/11 tests · Production surface contract 3/3 · v1.6.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- Componentwise vector difference u − v.
- Scope
- Euclidean R²/R³
- Verification
- Engine tested · 11/11 tests · Production surface contract 3/3 · Specification checked · v1.6.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.6.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (3 capabilities; 161 remain CURRENT) @ 2026-09-20T23:37:12.315Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Enter u and v
uz and vz are optional and default to 0. (1, 2, 3) − (4, 5, 6) = (−3, −3, −3).
Read the difference
Each component is subtracted independently. Addition stays on /calc/math/vector-add.
Example calculations
Common configurations with formula and result.
1-2-3 − 4-5-6
u = (1, 2, 3), v = (4, 5, 6)
2-D
u = (3, 4, 0), v = (1, 0, 0)
Vector Subtract calculator specification
Version 1.6.0 · Engine tested
- Engine tested 11/11 tests · Production surface contract 3/3
- Named expert review Not performed
- Calculation version 1.6.0
- Definition
- u − v = (ux−vx, uy−vy, uz−vz). This page is mode=sub on math.vector. uz and vz default to 0. Scalar subtraction stays on /calc/math/subtraction. Addition is /calc/math/vector-add. Not a second engine. Not CAS.
- What it calculates
- Componentwise vector difference u − v.
- Inputs
- ux
- uy
- uz?
- vx
- vy
- vz?
- Outputs
- rx
- ry
- rz
- Formula
u − v- Assumptions
- Euclidean R²/R³
- uz/vz default to 0
- Not /subtraction
- Not /vector-add
- Not a matrix
- Not CAS
- Units
- length (consistent units)
- Boundary conditions
- missing ux, uy, vx, or vy → MISSING_REQUIRED_INPUT
- unknown mode → INVALID_MODE
- Example
- u=(1,2,3) v=(4,5,6) → (−3, −3, −3)
- Validation cases
2 published on this page · 11/11 tests · Production surface contract 3/3 · View evidence
- ux=1 uy=2 uz=3 vx=4 vy=5 vz=6 → rx=-3 ry=-3 rz=-3
- ux=3 uy=4 vx=1 vy=0 → rx=2 ry=4 rz=0
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.6.0
Related tools
Other calculators in this family: Angle Between Lines Calculator, Annulus Calculator, Arc Calculator, Circle Calculator, Cone Calculator, Conic Section Calculator, Coordinate Geometry Calculator, Cross Product Calculator . Explore all Geometry.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second vector engine?
No. It is mode=sub on math.vector, the same engine as /calc/math/vector.
Is this the arithmetic subtraction page?
No. Scalar subtraction stays on /calc/math/subtraction. This page subtracts two Euclidean vectors.
Where does this run?
Locally in the browser by default. REST and MCP call the same vector engine.