← Vector Databases & Retrieval
Euclidean Distance
Euclidean distance is the straight-line distance between two points in vector space, computed as the square root of the sum of squared coordinate differences. Unlike cosine similarity, Euclidean distance is sensitive to vector magnitude, so it can rank differently when vectors are not normalized. It is the default metric in some libraries such as FAISS and is appropriate when absolute magnitude differences carry meaningful information about similarity.