Skip to content

Cosine Similarity Calculator

Compute the cosine similarity and angle between two vectors from their components — the standard way to measure how alike two text embeddings are.

Inputs

Vector A

Vector B

Results

Enter a value to see results.

Details

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?