Home · Everyday · Vectors & Complex Numbers · Angle Between Two Vectors Calculator

Angle Between Two Vectors Calculator

The angle between two vectors from the dot-product identity — in degrees and radians.

Your figures

Example result — edit the figures to make it yours

12.9332°

Angle between the vectors

From the dot-product identity a · b = |a| |b| cos θ, solved for θ.

In radians0.2257
Dot product32

What this calculator does

The angle between two vectors from the dot-product identity — in degrees and radians. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

θ = arccos( (a · b) / (|a| |b|) )

Enter vectors as comma-separated components; both vectors must share the same dimension.

Components are combined by the standard vector rules (Euclidean geometry).

Angles are returned in degrees unless you switch the angle unit.

Worked example

With the example inputs this page opens with (a — x 1, a — y 2, a — z 3, b — x 4), the result is 12.9332° — angle between the vectors. From the dot-product identity a · b = |a| |b| cos θ, solved for θ.

Quick reference

Quick reference — varying a — x
a — xAngle between the vectors
0.520.0788°
0.815.6931°
112.9332°
1.259.7736°
1.57.1615°
25.7193°

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Angle Between Two Vectors Calculator work?

The angle between two vectors from the dot-product identity — in degrees and radians. Vector a · Vector b → Angle. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Angle Between Two Vectors Calculator need?

Vector a · Vector b → Angle. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Angle Between Two Vectors Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.