What this calculator does
Calculate the dot product, vector magnitudes, and angle between two numeric vectors.
How it works
The calculator evaluates A · B = Σaᵢbᵢ; cos θ = (A · B) ÷ (|A||B|). Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
2-
?vectorA=Vector AText · Required · Default: 1, 2, 3
-
?vectorB=Vector BText · Required · Default: 4, -5, 6
Outputs
5-
dotProductDot productNumber · Primary output
-
magnitudeA|A|Number
-
magnitudeB|B|Number
-
angleDegreesAngle between vectorsNumber · Suffix: °
-
orthogonalityRelationshipText
Inputs and results
The inputs are Vector A, Vector B. Results include Dot product, |A|, |B|, Angle between vectors, Relationship.