Evaluate clustering similarity with chance-corrected precision. Review contingency structure, pair agreements, and disagreement patterns quickly. Paste labels, test examples, and download polished reports easily.
Paste one label per line, or separate labels with commas, spaces, or semicolons.
| Observation | Label Set A | Label Set B |
|---|---|---|
| 1 | A | 1 |
| 2 | A | 1 |
| 3 | A | 2 |
| 4 | B | 2 |
| 5 | B | 2 |
| 6 | B | 2 |
| 7 | C | 3 |
| 8 | C | 3 |
| 9 | C | 3 |
| 10 | D | 4 |
| 11 | D | 4 |
| 12 | D | 1 |
Use the Load Example button to populate this dataset and generate all charts and statistics.
Adjusted Rand Index:
ARI = (Index − Expected Index) / (Max Index − Expected Index)
Using the contingency table cell counts nij, row totals ai, and column totals bj:
Index = Σ C(nij, 2)
Expected Index = [Σ C(ai, 2) × Σ C(bj, 2)] / C(n, 2)
Max Index = 0.5 × [Σ C(ai, 2) + Σ C(bj, 2)]
Here, C(x, 2) = x(x − 1) / 2. ARI ranges roughly from negative values up to 1, where 1 means identical clustering.
It measures how similarly two clustering label assignments group the same observations, while correcting for agreement that could happen by random chance.
Scores near 1 indicate very strong agreement. Scores around 0 suggest chance-level similarity. Negative values indicate agreement worse than random expectation.
Yes. Cluster labels do not need matching names. The calculator compares grouping structure, not literal label text.
Each position represents the same observation across both label sets. Unequal lengths break that one-to-one pairing and make ARI invalid.
Yes. ARI works with two clusters, many clusters, balanced clusters, and uneven cluster sizes, as long as both lists reference identical observations.
The Rand Index measures raw pair agreement. ARI adjusts that agreement for chance, giving a more trustworthy score when partitions are random or imbalanced.
Yes. ARI is often used to compare predicted clusters against reference labels or to compare outputs from different clustering algorithms.
It shows how observations from each cluster in Label Set A distribute across clusters in Label Set B, helping you inspect overlap and fragmentation.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.