Calculate the dot product, cross product, magnitude, and angle between two vectors instantly, with a live animated diagram showing exactly how they point in space.
A vector calculator performs the fundamental operations of vector algebra: the dot product, cross product, magnitude, and the angle between two vectors. Vectors describe quantities that have both magnitude and direction — velocity, force, displacement, and acceleration are all vectors — which makes vector math essential to physics, engineering, 3D graphics, robotics, and machine learning.
The dot product measures how aligned two vectors are and is used to calculate work done by a force or to test perpendicularity. The cross product produces a vector perpendicular to both inputs and is used to find torque, angular momentum, and surface normals in 3D graphics. This calculator computes all of these instantly and draws an animated 2D diagram of your vectors so you can see the geometry, not just the numbers.
For A = (3, 2, 0) and B = (1, 4, 0): the dot product is 3×1 + 2×4 = 11, the magnitude of A is √13 ≈ 3.61, the magnitude of B is √17 ≈ 4.12, and the angle between them is about 42°.