How It Works Under the Hood
Paste two lists of numbers of the same length. The tool returns the cosine similarity and related measures, which are used to compare embeddings in search and retrieval.
Step-by-Step Instructions
Paste vector A.
Paste vector B.
Read the similarity.
Key Features & Performance
- Cosine and distance
- Angle
- Dot product
- Euclidean distance
Methodology, Formulas & Technical Standards
cos θ = (A · B) ÷ (|A| × |B|).
Worked Examples & Edge Cases
Two 4-number vectors
Embeddings
0.9954
Limitations, Scope & Accuracy Notes
- • Both vectors need the same length.
- • A zero vector has no direction.
Local Browser Processing & Privacy
Traditional web converters upload your documents, snippets, or media files to remote servers. Cosine Similarity Calculator runs inside your browser tab:
Your input text and files are processed locally without uploading payloads to a processing server.
Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).
Working outputs stay in your browser tab and are released when you reset the tool or close the tab.
Frequently Asked Questions
What range does it have?
From −1 to 1.
Is data uploaded?
No.