FreeStatisticalTools.com
Multivariate analysis

Cluster Analysis Online

Group cases into clusters of similar profiles, such as customer segments. Choose k-means or Ward’s hierarchical method and use the elbow plot to pick the number of clusters.

Free · No sign-upReplaces SPSS · SASWorks with your data
Updated · By Bibin Xavier

Data 120 × 6

Paste from Excel, or drop a CSV, TSV or Excel file here.
Example data 120 rows, 6 variables. Data stays in this browser tab.
Plottext · 120 levelsCultivartext · 3 levelsLeaf_LengthnumericLeaf_WidthnumericStem_HeightnumericYield_kgnumeric
L001Amber5.343.2518.41.19
L002Amber4.663.5913.91.15
L003Amber5.143.39161.4
L004Amber4.733.6314.41.13
L005Amber5.142.598.51.18
L006Amber4.823.9515.91.23
L007Amber4.913.2315.11.19
L008Amber5.733.7416.51.01

Variables and options

Clustering variables 4 selected · min 2
Results update automatically when you change an option.

Results

120 rows · example data
Clusters3
Between SS / total SS66.4%
Cluster sizes56 · 41 · 23
Mean silhouette.393above .50 = clear structure
Table 1

Final cluster centers (original units)

VariableCluster 1 (n = 56)Cluster 2 (n = 41)Cluster 3 (n = 23)Fp
Leaf_Length6.445.045.74173.45< .001
Leaf_Width2.923.422.5795.01< .001
Stem_Height20.8014.3716.48111.71< .001
Yield_kg1.901.231.41100.94< .001

Note. The F tests describe which variables differ most between clusters. They are descriptive only, because the clusters were formed to maximize these differences.

Elbow plot

Clusters on the first two principal components

Interpretation

3 clusters account for 66.4% of the total variation. Read the cluster centers to name each segment by its distinctive profile. Try neighbouring values of k and pick the one after which the elbow plot flattens.

A k-means cluster analysis on standardized Leaf_Length, Leaf_Width, Stem_Height, Yield_kg identified 3 clusters (n = 56, 41, 23), explaining 66.4% of the variance.

How to cite this tool

Using these results in a thesis, journal article, report or class assignment? Please cite this free tool so others can find it. It keeps the site free.

APA 7

Xavier, B. (2026). Cluster Analysis Online [Web application]. FreeStatisticalTools.com. https://freestatisticaltools.com/cluster-analysis/

BibTeX

@software{xavier_clusteranalysis_2026,
  author = {Xavier, Bibin},
  title = {Cluster Analysis Online},
  publisher = {FreeStatisticalTools.com},
  year = {2026},
  url = {https://freestatisticaltools.com/cluster-analysis/},
  note = {Web application}
}

Suggested sentence for your methods section: “The analysis was carried out with the free Cluster Analysis Online tool on FreeStatisticalTools.com (Xavier, 2026).”

What is cluster analysis?

Cluster analysis groups cases with similar profiles into clusters, for example customer or patient segments. Choose k-means or Ward’s hierarchical method, and use the elbow plot and silhouette score to pick the number of clusters.

When to use cluster analysis

Use it to find natural groupings, such as customer segments or patient profiles, when no group labels exist.

Assumptions

  • Standardize variables measured on different scales.
  • K-means looks for compact, similarly sized clusters; Ward’s method gives a tree you can cut at any level.

How to use this tool

  1. Enter your data. Paste columns from Excel, Google Sheets or SPSS with variable names in the first row, or upload a CSV or Excel file. The example data shows the expected layout.
  2. Choose the variables. Select the clustering variables.
  3. Set the options. Fill in number of clusters, method and standardize variables (z-scores).
  4. Read the results. Results update automatically. Read the plain-English interpretation, then use Copy table to paste APA-style tables into Word and Copy for the results sentence.

Frequently asked questions

K-means or hierarchical clustering?

K-means is fast and suits larger samples. Ward’s hierarchical method gives a dendrogram that shows how clusters merge, useful for choosing k with small samples.

Should I standardize variables?

Yes, when variables are measured on different scales; otherwise variables with large ranges dominate the distances.

How do I choose the number of clusters?

Look for the elbow where the within-cluster sum of squares stops falling quickly, and prefer solutions with a higher silhouette score that make substantive sense.

Related tools

Browse all categories