What is the Vector Calculator?
Calculate 2D and 3D vector operations online with step-by-step work. Add and subtract vectors, compute dot product, cross product, magnitude, unit vector, angle between vectors, scalar multiplication, and projection onto another vector. Switch between 2D and 3D, enter components, and copy formatted results. Free, private, and instant in your browser.
How to use the Vector Calculator
- Choose 2D or 3D and pick an operation.
- Enter components for vector A (and B or scalar k when needed).
- Read the result vector or scalar value.
- Review the step-by-step calculation.
- Copy the formatted result.
Common use cases
- Finding the cross product of two 3D basis vectors
- Computing |v| and a unit vector for physics homework
- Getting the angle between two force or velocity vectors
Frequently asked questions
- What vector operations are supported?
- Add, subtract, dot product, cross product (3D only), scalar multiply, magnitude, unit vector, angle between vectors, and projection.
- Can I use 2D vectors?
- Yes. Switch to 2D for (x, y) vectors. Cross product requires 3D.
- How is the angle calculated?
- θ = arccos((A · B) / (|A||B|)), reported in degrees.
- What happens with the zero vector?
- Normalization, angle, and projection report a clear error when a vector has zero magnitude.