Skip to content

Search

Articles, tools, solutions and knowledge base guides

Start typing to search across articles, tools and apps.

Vector Similarity Calculator

Cosine, dot product and Euclidean distance side by side

A matrix of every pair of vectors in three metrics, a PCA projection and what normalization does to the ranking

Tool Web
Official product page Publisher: POLPROG
Official product page
3
Similarity metrics
12
Vectors per collection
64
Dimensions per vector
0
Requests sent to a server
01Vector Similarity Calculator

About

Vector Similarity Calculator shows why two embedding searches can return different results for the same query. A small collection of vectors is compared in three metrics at once, so the effect of the metric and of normalization is visible instead of assumed.

What is shown

  • Matrix: cosine similarity, dot product or Euclidean distance for every pair, as a heat map with exact values.
  • Projection: the vectors on a plane from PCA, with the share of variance the plane keeps.
  • Ranks: the order of neighbours before and after normalization, with equal values sharing a rank.

Stated conventions

The arithmetic is checked on reference cases: [1, 2, 3] and [2, 0, 1] give a dot product of 5, a cosine of 0.597614, an angle of 53.30° and a distance of exactly 3. A cosine with a zero vector stays undefined instead of becoming 0.

02Use case

What it solves

The problem
  • Cosine and dot product are treated as the same, though they rank unnormalized vectors differently
  • A zero vector quietly gets a similarity of 0 instead of an error
  • High-dimensional embeddings are hard to picture without a projection
The outcome
  • Every pair in any of three metrics, on one matrix
  • Ranks before and after normalization, side by side
  • A PCA projection that states how much variance it keeps
Who it is for
  • Engineers choosing a similarity metric for vector search
  • Data scientists debugging embedding results
  • Students learning how vector similarity works
03Key Features

Key Features

The most important capabilities, explained in practical terms.

Three metrics

Cosine similarity, dot product and Euclidean distance for every pair of vectors.

Heat map matrix

Every pair on one grid, with exact values readable in each cell.

PCA projection

The collection drawn on a plane, with the share of variance the plane keeps.

Normalization and ranks

Neighbour order before and after normalization, with ties sharing a rank.

Exact edge cases

Zero vectors stay undefined, and opposite vectors give exactly 180 degrees.

Share link and export

A link that restores the vectors and a JSON file with every value.

04Download

Product access

A clear path from the official source to your first successful workflow.

Choose the right platform

Use one of the official links available for your device or browser.

Install or open

Follow the store instructions or open the web application. No third-party installers.

Configure and begin

Review the options, choose your preferences and start with the core workflow.

05Technology

Technology behind the product

A transparent look at the core technologies used to build and maintain this product.

TypeScript
06Security

Privacy & Security

Privacy first: processed on your device wherever this product allows it, and the network is used only when a feature needs it. No unnecessary data collection.

Calculations run in the browser
Vectors are not sent anywhere
The share link holds only the vectors and settings
No account needed