%3C/text%3E%3C/svg%3E">
💻
💻 Tech & IT

Silhouette Score Calculator (one point)

Results update as you type.

Your numbers

Understanding the silhouette score calculator — concept and principle

The silhouette value s(i) measures how well a single data point fits the cluster it was assigned to, compared with the nearest other cluster. Averaged over all points, it becomes the silhouette score that is widely used to compare clusterings and to choose the number of clusters in k-means and similar methods.

Silhouette score of one pointPoint i is 1.2 from its own cluster on average and 3.0 from the nearest other, so s = 1.8 ÷ 3.0 = 0.6, comfortably well placed.Close to its own group, far from the nextiown cluster avga = 1.2nearest other avgb = 3.0s = (3.0 − 1.2) ÷ max(1.2, 3.0) = 1.8 ÷ 3.0 = 0.6wrong groupon the borderwell placed−101s = 0.6
The point sits much closer to its own group than to the next one, giving s = 0.6.

How it is calculated

The distances can be in any unit (Euclidean, Manhattan, cosine distance) as long as a and b use the same one; s(i) itself is unitless and lies between −1 and 1. By convention, a point that is alone in its cluster gets s(i) = 0.

The principle

A point is well clustered when it is much closer to its own group than to any other group, that is, when a is small compared with b. Dividing the gap b − a by the larger of the two scales it to the range −1 to 1. If a < b, s = 1 − a/b, which approaches 1 as a shrinks. If a = b, s = 0: the point sits on the border between two clusters. If a > b, s = b/a − 1, which is negative: the point is, on average, closer to another cluster than to its own and is probably misassigned.

Worked example

  1. Inputs: a(i) = 1.2, b(i) = 3.0.
  2. b − a = 3.0 − 1.2 = 1.8.
  3. max(a, b) = 3.0.
  4. s(i) = 1.8 ÷ 3.0 = 0.6.
  5. Equivalently, s = 1 − 1.2 ÷ 3.0 = 0.6: the point's own cluster is 40% as far away, on average, as the nearest other cluster.
How Silhouette s(i) changes with Mean distance to nearest other cluster b(i)How Silhouette s changes with Mean dista…-0.5-0.2500.250.50.7510.751.52.2533.754.56Example: 0.6Mean distance to nearest other cluster b(i)
Each point is the calculator re-run with only “Mean distance to nearest other cluster b(i)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Mean distance to nearest other cluster b(i)Silhouette s(i)
0.75-0.375
1.50.2
2.250.4666666667
30.6
3.750.68
4.50.7333333333
60.8

How to read the result

Where does your result fall?Wrong clusterWeakStrong00.25≥10.7Wrong clusterNo structureWeakReasonableStrongYour result: 0.6 · ReasonableReference: Kaufman & Rousseeuw silhouette guide
Where does your result fall?

Values near 1 mean the point is deep inside a compact, well separated cluster; values near 0 mean it lies between clusters; negative values suggest it belongs elsewhere. For the average over a whole dataset, Kaufman and Rousseeuw proposed a rough guide: above 0.70 a strong structure, 0.51–0.70 a reasonable structure, 0.26–0.50 a weak structure that may be artificial, and 0.25 or less no substantial structure. To pick the number of clusters, compute the average for several k and favour the highest, while also looking at per-cluster silhouette plots.

Common mistakes

Keep in mind: The silhouette favours convex, similarly sized clusters. It can rate elongated or density-based clusters (such as those found by DBSCAN) poorly even when they are meaningful, so combine it with domain knowledge.

Frequently asked questions

Is a silhouette of 0.6 good?

For one point it means a clear fit. For a dataset average, 0.6 falls in the "reasonable structure" band of the Kaufman and Rousseeuw guide.

Does the silhouette depend on the distance metric?

Yes. Use the same metric that the clustering algorithm optimised, and scale features before computing it.

Sources: P. J. Rousseeuw, "Silhouettes: a graphical aid to the interpretation and validation of cluster analysis", Journal of Computational and Applied Mathematics 20 (1987) 53–65 · L. Kaufman and P. J. Rousseeuw, Finding Groups in Data: An Introduction to Cluster Analysis, Wiley, 1990

Checked 8 Nov 2026. Standard formulas and RFC/IEEE definitions, computed locally in your browser — nothing you type is sent anywhere.

💻 All tech & IT tools →🌍 Calculators by country →