Cosine Similarity
Calculate Cosine Similarity instantly with the exact formula and a worked example.
Cosine Similarity
A₁
A₂
A₃
B₁
B₂
B₃
cosθ
0.974632
Angle between vectors
12.93°
Dot product A·B
32
|A|
3.7417
|B|
8.775
More about: Cosine Similarity
What it calculates
The “Cosine Similarity” calculator computes cosθ from 6 parameters: a₁, a₂, a₃, b₁, b₂, b₃.
Standard IT calculations for developers and sysadmins.
Example calculation
With parameters A₁ = 1, A₂ = 2, A₃ = 3, B₁ = 4, B₂ = 5, B₃ = 6 the result is 0.9746.
How to use
- Enter a₁, a₂, a₃, b₁, b₂ and b₃ — each field above is adjustable with a slider.
- cosθ is calculated automatically as you type.
- Check the worked example below to see the formula applied to real numbers.
- Copy the result or bookmark this calculator.
Related calculators
FAQ
How is Cosine Similarity calculated?
The Cosine Similarity calculator computes cosθ from a₁, a₂, a₃, b₁, b₂, b₃. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Cosine Similarity calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.
More calculators in this category
Explore related free tools