What assumptions does k-means make about cluster shape, size, and density?

Last updated 11 November 2026

  • K-means assumes clusters are spherical and convex, similar in size, and similar in density (spread), because it assigns points to the nearest centroid by Euclidean distance.

  • Boundaries are straight hyperplanes halfway between centroids (a Voronoi partition), so elongated, unequal, or diffuse clusters get cut wrongly. It equals a hard-assignment GMM with shared spherical covariance.

  • It also assumes comparable feature scales, no heavy outliers, and known k. Alternatives include GMM, DBSCAN/HDBSCAN, or spectral clustering.

  • https://en.wikipedia.org/wiki/K-means_clustering
  • https://scikit-learn.org/stable/modules/clustering.html
  • https://dev.to/vamshi_e_eebe5a6287a27142/exploring-assumptions-of-k-means-clustering-using-r-2025-edition-225p
All Clustering interview questions