Cosine Similarity
Calculate Cosine Similarity instantly with the exact formula and a worked example. Free online calculator — no signup, works on mobile.
Cosine Similarity
(A·B) / (|A|·|B|)
%
cosθ
75
More about: Cosine Similarity
What it calculates
The “Cosine Similarity” calculator computes cosθ from 2 parameters: (a·b) / (|a|·|b|), %.
Standard IT calculations for developers and sysadmins.
Example calculation
With parameters (A·B) / (|A|·|B|) = 100, % = 75 the result is 75.
How to use
- Enter the parameter values — every field above is adjustable with a slider.
- The result and related metrics are calculated automatically as you type.
- Use the additional metrics shown (if any) where needed.
- Copy the result or bookmark the page.