• Home
  • Categories
  • Tags
  • Pricing
  • Submit
    Decorative pattern
    1. Home
    2. Concepts & Definitions
    3. Euclidean Distance (L2 Distance)

    Euclidean Distance (L2 Distance)

    Distance metric measuring straight-line distance between vectors in multi-dimensional space. Lower values indicate higher similarity, with 0 meaning identical vectors.

    🌐Visit Website

    About this tool

    Overview

    Euclidean distance (L2 distance) measures the straight-line distance between two points in multi-dimensional space, commonly used in vector databases.

    Formula

    L2 distance = √(Σ(Ai - Bi)²)

    Characteristics

    • Range: 0 to infinity
    • 0: Identical vectors
    • Higher values: Less similar vectors
    • Magnitude Sensitive: Considers vector length

    When to Use

    • When magnitude matters
    • Spatial data
    • When smaller differences are important
    • Image embeddings (sometimes)

    Supported By

    • Weaviate
    • Milvus
    • Qdrant
    • FAISS
    • pgvector

    Pricing

    Algorithm, no licensing costs.

    Surveys

    Loading more......

    Information

    Websiteweaviate.io
    PublishedMar 11, 2026

    Categories

    1 Item
    Concepts & Definitions

    Tags

    3 Items
    #Distance Metric#Similarity#Vector Search

    Similar Products

    6 result(s)
    Cosine Similarity

    Fundamental similarity metric for vector search measuring the cosine of the angle between vectors. Range from -1 to 1, with 1 indicating identical direction regardless of magnitude.

    Dot Product (Inner Product)

    Similarity metric computing sum of element-wise products between vectors. Efficient for normalized vectors, equivalent to cosine similarity when vectors are unit length.

    Hamming Distance

    Distance metric for binary vectors counting the number of positions at which corresponding bits differ, computed efficiently using XOR and popcount operations for ultra-fast similarity search.

    Dot Product

    Vector similarity metric measuring both directional similarity and magnitude of vectors. Used by many LLMs for training and equivalent to cosine similarity for normalized data. Reports both angle and magnitude information.

    Manhattan Distance

    Vector distance metric calculating the sum of absolute differences between vector components. Measures grid-like distance and is robust to outliers, with faster calculation as data dimensionality increases.

    Vector Similarity Metrics

    Mathematical measures for comparing vector similarity including cosine similarity (directional), Euclidean distance (geometric), dot product (magnitude+direction), and Manhattan distance (grid-based) for AI and search applications.

    Decorative pattern
    Built with
    Ever Works
    Ever Works

    Connect with us

    Stay Updated

    Get the latest updates and exclusive content delivered to your inbox.

    Product

    • Categories
    • Tags
    • Pricing
    • Help

    Clients

    • Sign In
    • Register
    • Forgot password?

    Company

    • About Us
    • Admin
    • Sitemap

    Resources

    • Blog
    • Submit
    • API Documentation
    All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
    Copyright © 2025 Awesome Vector Databases. All rights reserved.·Terms of Service·Privacy Policy·Cookies