⌘ CodersEditor

All tools / AI tools

Vector Distance Calculator

Calculate Euclidean and Manhattan distances between numeric vectors.

Uses raw vectors without normalization.

How to use Vector Distance Calculator

Load the example, edit the input using the same format, and select Run. Review the output before copying or downloading.

Example input

{
  "a": [
    1,
    2
  ],
  "b": [
    4,
    6
  ]
}

Example output

{
  "euclidean": 5,
  "manhattan": 7
}

Frequently asked questions

What does this tool do?

Calculate Euclidean and Manhattan distances between numeric vectors.

What are the limitations?

Uses raw vectors without normalization.

Does it call an AI API?

No. Tool processing runs in your browser. The site separately loads advertising and analytics scripts.

Related tools

RAG Chunk Size Calculator

AI Training Dataset Validator

MCP Configuration Generator