Vector Calculator

Find the magnitude, dot product, angle, and cross product of two vectors.

Advertisement
Advertisement

What Is the Vector Calculator?

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.

Formula

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).

How to Use This Calculator

Worked Example

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°.

Tips

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.

Frequently Asked Questions

What operations does this vector calculator support?

Addition, subtraction, dot product, cross product, and magnitude.

What does the dot product represent?

How much two vectors point in the same direction; zero when perpendicular.

What does vector magnitude mean?

The length of the vector, using the Pythagorean theorem extended to more dimensions.

Suggest a Calculator

👋 We noticed you might be using an ad blocker. This site is free thanks to ads — consider allowing them here to support us. Thanks!