The Angle Between Vectors Calculator is an online tool designed to calculate the angle formed between two vectors quickly and accurately. By simply inputting the vector components, you can determine the exact angle without performing manual dot product calculations and inverse trigonometry.
This calculator is perfect for solving physics, engineering, and mathematics problems that involve vector analysis, spatial orientation, and 3D modeling.
The angle between two vectors is the smallest angle formed when the vectors are positioned tail-to-tail in the same coordinate system. It measures how much one vector deviates from another.
In simple terms:
A 0° angle means the vectors point in the same direction
A 90° angle means they are perpendicular
A 180° angle means they point in opposite directions
This angle is widely used in physics, engineering, and computer graphics.
The angle between two vectors is calculated using the dot product formula.
Formula (Highlighted)
────────────────────────
cos θ = (A · B) / (|A| × |B|)
Then:
θ = arccos[(A · B) / (|A| × |B|)]
────────────────────────
Where:
A · B = dot product of vectors A and B
|A|, |B| = magnitudes of vectors A and B
θ = angle between vectors in radians or degrees
Dot product formula:
A · B = (Ax × Bx) + (Ay × By) + (Az × Bz)
Example:
Find the angle between vectors A = (2, 3, 1) and B = (1, 0, −1).
Solution:
Compute the dot product:
A · B = (2×1) + (3×0) + (1×−1) = 2 − 1 = 1
Compute magnitudes:
|A| = √(2² + 3² + 1²) = √14
|B| = √(1² + 0² + (−1)²) = √2
Apply formula:
cos θ = 1 / (√14 × √2) = 1 / √28 ≈ 0.18898
Find θ:
θ = arccos(0.18898) ≈ 79.1°
Final Answer: The angle between the vectors is approximately 79.1°.