OhMyCalc

Angle Between Vectors Calculator

Calculate the angle between two vectors in 2D or 3D space. Get the result in both degrees and radians with full step-by-step solution using the dot product formula.

Vector a
Vector b

How to Use the Angle Between Vectors Calculator

  1. Enter the numbers or values in the input fields.
  2. The result is calculated and displayed automatically.
  3. Review the step-by-step solution or detailed breakdown.
  4. Copy the result or adjust inputs for a new calculation.

Schnellreferenz

VonNach
2 + 35
12 × 12144
√14412
2¹⁰1,024
π3.14159
e2.71828

Anwendungsfälle

Formel

The angle between two vectors is found using the dot product: cos(θ) = (a·b) / (|a|·|b|), then θ = arccos(cos(θ)). The result is always between 0° and 180°.

Häufig gestellte Fragen

How is the angle between vectors calculated?
The angle θ between vectors a and b is computed as θ = arccos((a·b) / (|a|·|b|)), where a·b is the dot product and |a|, |b| are the magnitudes of the vectors.
What does it mean if the angle is 90°?
An angle of 90° (π/2 radians) means the vectors are perpendicular (orthogonal). Their dot product is zero.
Can the angle be greater than 180°?
No. The angle between two vectors using the dot product formula is always in the range [0°, 180°]. To distinguish direction, you would need additional context (e.g., a signed angle in 2D).