Similarity Score Calculator

Measure similarity across documents, queries, and vector embeddings. Choose metrics, adjust preprocessing, and compare faster. Export results, then improve ranking, clustering, and deduplication today.

Inputs
Use vectors for embeddings or numeric features.
Pick based on task: retrieval, dedupe, or fuzzy matching.
Advanced preprocessing
Useful to ignore very short tokens.
Single comparison
Used when mode is Text.

Used when mode is Vector.
Batch scoring
If batch is filled, single inputs are ignored.
Output notes
Scores are normalized to 0–1, then shown as a percentage. For uneven vector lengths, the comparison uses shared positions.

Example data table

Try these pairs using Text mode and Cosine method.
Text A Text B Expected behavior
The quick brown fox jumps A quick brown fox jumps high High similarity due to overlapping tokens
Model accuracy improved by 3 percent Accuracy increased three percent in the model Moderate similarity; paraphrase with shared terms
apple orange banana car truck bus Low similarity; different vocabularies
0.12, 0.98, -0.44, 1.22 0.10, 1.02, -0.40, 1.18 High similarity for close vectors

Formula used

  • Cosine: sim = (A·B) / (||A||·||B||)
  • Jaccard: sim = |A ∩ B| / |A ∪ B| (unique tokens)
  • Levenshtein: sim = 1 − (editDistance / maxLength)
  • Euclidean-based: sim = 1 / (1 + ||A − B||)

For text cosine and text-euclidean, the calculator converts tokens into frequency vectors. That approximates classic vector-space similarity used in search and retrieval.

How to use this calculator

  1. Select Text for sentences, or Vector for embeddings.
  2. Choose a similarity method that matches your task.
  3. Optional: enable preprocessing to reduce noisy differences.
  4. Enter a single pair, or paste multiple pairs in Batch mode.
  5. Press Submit to view the score above the form.
  6. Use Download CSV/PDF to export your last successful run.

Related Calculators

semantic distance calculatorsentence comparison toolsimilar triangles and indirect measurement calculatorsignal intent calculatoroverlapping similar triangles calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.