Loading…

Angle Between Two Vectors Tool

Physics Classical Mechanics • Vectors

View all topics

Calculate the angle between two vectors in 2D or 3D using the dot product formula, identify whether the angle is acute, right, or obtuse, and inspect the vectors on an interactive graph with an angle arc.

Vector A
Vector B
Accepted numeric expressions include pi/2, sqrt(2), 1e-3, sin(0.4), and abs(-5). Both vectors must be nonzero. The calculator uses cos(θ) = (A·B)/(|A||B|) and then computes the angle with inverse cosine.
Ready
Enter vectors A and B, then click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How do you find the angle between two vectors?

Use the formula cos(theta) = (A·B) / (|A||B|), then apply inverse cosine to get the angle.

Does the angle-between-vectors formula work in both 2D and 3D?

Yes. The same dot product formula works in any dimension, as long as the vectors are nonzero and you compute the dot product and magnitudes correctly.

What does a positive or negative dot product mean?

A positive dot product means the angle is acute, a negative dot product means it is obtuse, and a zero dot product means the vectors are perpendicular.

Can I compute the angle if one vector is zero?

No. The angle is undefined because the zero vector has no direction and the formula would divide by zero.

Why might a calculator clamp the cosine value before using arccos?

Because floating-point rounding can produce a value slightly above 1 or below -1 even when the true mathematical value is within the valid arccos range.