Minkowski Distance

Calculator to calculate the Minkowski distance


This function calculates the Minkowski distance. The Minkowski distance is a distance measurement between two points in normalized vector space (N-dimensional real space) and is a generalization of Euclidean distance and Manhattan distance.

Typically 1 or 2 is used as order number P, which corresponds to Manhattan distance or Euclidean distance. In the limit when P becomes infinity we get the Chebyshev distance.

To calculate, enter a series of x /y pairs (vectors). The individual numbers are separated by semicolons or spaces. Then click on the 'Calculate' button.


Minkowski distance calculator

 Input
Order P
Argument X
Argument Y
Decimal places
  Result

Formula for the Minkowski distance


\(\displaystyle d_{\mathbf{p}} : (x, y) \mapsto \|x-y\|_p = \bigg(\sum_{i=1}^{n} |x_i-y_i|^p\bigg)^\frac{1}{p}\)

Distance functions

Bray Curtis Distance
Canberra Distance
Chebyshev Distance
Cosine Similarity
Euclidean
Levenshtein Distance
Manhattan Distance
Matching Distance
Minkowski Distance
Pearson Correlation Coefficient

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?