Embedding Dimension Calculator

Inspect embedding length, norm, and basic stats.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste an embedding vector as comma-separated numbers and see how many dimensions it has, its L2 norm, and its minimum, maximum and mean. It is a quick check that two embeddings are compatible and whether a vector is already unit length.

How to use

1
Step 1
Paste the vector, for example 0.1, -0.2, 0.3, 0.4.
2
Step 2
Press Calculate.
3
Step 3
Read the dimensions and the L2 norm.

How it works

Dimensions are the number of components. The L2 norm is the square root of the sum of squared components; if it is 1 the vector is normalised, which many embedding APIs return. Square brackets and separators of comma, semicolon or whitespace are accepted. The tool does not create embeddings.

‖v‖₂ = √(v₁² + v₂² + … + vₙ²)

Worked example

A 4-dimensional vector

Input
0.1, -0.2, 0.3, 0.4
Output
Dimensions 4; L2 norm 0.547723; min -0.2; max 0.4; mean 0.15
Walkthrough
0.01 + 0.04 + 0.09 + 0.16 = 0.30, and the square root is 0.5477. Not 1, so this vector is not normalised.

Limitations

  • It inspects a vector you paste. It does not call an embedding model.
  • Very long vectors (1,536 or 3,072 numbers) work but are tedious to paste by hand.

Questions

How do I find the dimension of an embedding?
Paste the vector. The Dimensions row is the count of numbers.
How do I know if an embedding is normalized?
Check the L2 norm. A value of 1 means it is unit length.
What are typical embedding sizes?
Common sizes are 384, 768, 1,024, 1,536 and 3,072.
Does it generate embeddings?
No. It calculates dimensions and sizes only and does not produce embeddings.

Features

  • Dimensions
  • L2 norm
  • Min, max, mean
  • Local only

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Finding mean, median, and mode

    Khan Academy

    Baseline stats for accuracy and evaluation helpers.

    Watch on YouTube
  • Big-O Notation in 100 Seconds

    Fireship

    Complexity intuition when estimating training/inference cost.

    Watch on YouTube