Find the magnitude, dot product, angle, and cross product of two vectors.
This calculator performs common vector operations — magnitude, dot product, angle between vectors, and cross product — for two 3D vectors. Leave the z-value at 0 for 2D vectors.
Magnitude: |V| = √(x² + y² + z²). Dot Product: A·B = AxBx + AyBy + AzBz. Angle: θ = cos⁻¹(A·B ÷ (|A||B|)). Cross Product: A×B = (AyBz−AzBy, AzBx−AxBz, AxBy−AyBx).
For A = (3, 4, 0) and B = (4, 0, 0): |A| = 5, |B| = 4, A·B = 12, and the angle between them is about 36.87°.
A dot product of zero means the vectors are perpendicular. The cross product is only meaningful in 3D and always produces a vector perpendicular to both A and B.
Addition, subtraction, dot product, cross product, and magnitude.
How much two vectors point in the same direction; zero when perpendicular.
The length of the vector, using the Pythagorean theorem extended to more dimensions.