Skip to content

Cosine Similarity Calculate cosine similarity between two 3D vectors.

Result

Calculated result 0.5 Based on the values entered.
↗ Math

Cosine Similarity Calculate cosine similarity between two 3D vectors. — free online calculator.

Formula

dot/(magA*magB)
  • Cosine Similarity Calculate cosine similarity between two 3D vectors. calculates its result from Dot product, |A|, |B|. It uses the formula dot/(magA*magB). Change any input to recalculate the result instantly.
  • The main inputs are Dot product, |A|, |B|. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Cosine Similarity Calculate cosine similarity between two 3D vectors.

Inputs
  • Dot product: 10
  • |A|: 5
  • |B|: 4

Using Dot product = 10, |A| = 5, |B| = 4, the calculated result is 0.5.

Sample result: Calculating…

Frequently asked questions

What does the Cosine Similarity Calculate cosine similarity between two 3D vectors. calculate?

Cosine Similarity Calculate cosine similarity between two 3D vectors. — free online calculator.

Which values should I enter?

Enter Dot product, |A|, |B| using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: dot/(magA*magB).

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026