This calculator computes the angle between two three-dimensional vectors.
Learn how to use the Three Dimensional Vector Angle Calculator and its working principles
The angle θ between two vectors A and B is calculated using the dot product formula:
θ = arccos((A · B) / (||A|| × ||B||))
Where:
- A · B is the dot product of vectors A and B, calculated as A_x * B_x + A_y * B_y + A_z * B_z
- ||A|| is the magnitude (length) of vector A, calculated as √(A_x² + A_y² + A_z²)
- ||B|| is the magnitude (length) of vector B, calculated as √(B_x² + B_y² + B_z²)
Suppose vector A = (1, 2, 3) and vector B = (4, 5, 6).
1. Calculate the dot product: A · B = 1*4 + 2*5 + 3*6 = 32
2. Calculate the magnitudes: ||A|| = √(1² + 2² + 3²) = √14, ||B|| = √(4² + 5² + 6²) = √77
3. Calculate the angle: θ = arccos(32 / (√14 * √77)) ≈ 22.02°