Embedding Cosine Similarity Calculator
Paste two embedding vectors as JSON arrays or comma-separated floats. The tool reports cosine similarity (−1 to 1), dot product, Euclidean distance, and magnitudes. Zero vectors are reported as undefined instead of NaN.
Vector A
Paste or type your content here…
Vector B
Second input…
Results
Paste two embedding vectors to compare cosine similarity.
Frequently Asked Questions
What if lengths differ?
You get a clear mismatched-length error. Vectors are never silently truncated.
How large can vectors be?
1536–4096 dimensions are fine. This is simple arithmetic after parsing.