Calinski-Harabasz Score Calculator

Measure cluster separation and compactness, compare several label sets, inspect centroids, and discover better clustering choices using clear scores, tables, and charts instantly online.

Calculator

Use “last” or a one-based column number.
Each row needs numeric features and one cluster label.

Automatic K-Means Comparison


Additional Label Sets

Use one line per model: Model name::label,label,label.

Formula Used

CH = [Bk ÷ (k − 1)] ÷ [Wk ÷ (n − k)]

Bk measures between-cluster dispersion. Wk measures within-cluster dispersion. Larger values usually indicate clearer clustering structure.

How to Use

  1. Paste numeric feature data with cluster labels.
  2. Select the label column and parsing options.
  3. Choose scaling and optional K-Means comparisons.
  4. Press calculate to inspect scores and charts.
  5. Export the completed results when required.

Example Data

Feature 1Feature 2Cluster
1.01.1A
1.20.8A
5.05.2B
5.34.9B
9.11.2C
8.80.9C

Frequently Asked Questions

What does a higher score mean?

A higher score usually signals compact, well-separated clusters.

Does the score have a fixed maximum?

No universal maximum exists for every dataset and model.

Can different datasets be compared directly?

Compare models using the same samples and feature preparation.

Why should features be scaled?

Scaling prevents large-unit features from dominating Euclidean distances.

What cluster counts are valid?

Use at least two clusters and fewer clusters than samples.

Can singleton clusters be used?

They are permitted, but they may distort model comparisons.

Does this calculator support PCA?

Yes. PCA projects high-dimensional results onto two chart axes.

Can external model labels be compared?

Yes. Paste additional label sets using the required format.

Is the best score always the best model?

No. Domain meaning and cluster stability also matter.

Related Calculators

K-Means Clustering CalculatorEuclidean Distance CalculatorManhattan Distance CalculatorCosine Similarity CalculatorSilhouette Score CalculatorDavies-Bouldin Index CalculatorCluster Centroid CalculatorWithin-Cluster Sum of Squares CalculatorElbow Method CalculatorDBSCAN Neighbourhood Calculator

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.