Vector Calculator

Magnitude, addition, subtraction, scalar multiply, dot product, cross product, angle, and unit vector for 2D or 3D vectors.

Frequently Asked Questions

How do you find a vector's magnitude?

Magnitude = √(x² + y² [+ z²]) - the Pythagorean length. The unit vector is each component divided by the magnitude.

What is the difference between dot and cross product?

The dot product is a scalar (a·b = |a||b|cosθ), measuring alignment. The cross product (3D) is a vector perpendicular to both, with magnitude |a||b|sinθ.

How do I find the angle between two vectors?

θ = arccos((a·b)/(|a||b|)). A dot product of zero means the vectors are perpendicular.

What is the cross product used for?

Surface normals in graphics, torque and angular momentum in physics, and testing whether 3D vectors are parallel (cross product is the zero vector).

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.