KMO and Bartlett’s Test Calculator

Check whether questionnaire data are suitable for factor analysis before you run it. Paste the item scores, or a correlation matrix and the sample size, to get the Kaiser-Meyer-Olkin measure of sampling adequacy with Kaiser’s label, the MSA of every item (the anti-image diagonal), Bartlett’s test of sphericity, the determinant and a sentence for your methods section, as SPSS prints them under “KMO and Bartlett’s Test”.

Start from

Paste straight from Excel, SPSS or a CSV file. A first row of item names is optional. Leave a cell blank or type NA for a missing answer.

Load a worked example

Kaiser-Meyer-Olkin measure of sampling adequacy

0.803Meritorious

Meritorious on Kaiser’s scale (0.80 to 0.89). Bartlett’s test of sphericity: χ²(45) = 202.13, p < .001. The data are suitable for factor analysis.

KMO
0.803
Meritorious
Bartlett’s χ²
202.133
df = 45
Significance
< 0.0001
significant at 0.05
Determinant
0.0030
above 0.00001
Respondents (N)
40
all rows complete
Items (p)
10
4.0 respondents per item

Measure of sampling adequacy (MSA) for each item

Measure of sampling adequacy of each item, the diagonal of the anti-image correlation matrix
ItemMSAKaiser’s label
PU10.799Middling
PU20.884Meritorious
PU30.825Meritorious
PU40.879Meritorious
EOU10.685Mediocre
EOU20.638Mediocre
EOU30.778Middling
BI10.767Middling
BI20.861Meritorious
BI30.805Meritorious

These are the values on the diagonal of SPSS’s anti-image correlation matrix (marked a).

  • 40 respondents for 10 items is 4.0 per item. Common guidance asks for at least 5 to 10 respondents per item, or 100 or more in total, before a factor analysis.

Report it like this

The Kaiser-Meyer-Olkin measure of sampling adequacy was .80 (meritorious; Kaiser, 1974), and individual item values ranged from .64 to .88. Bartlett’s test of sphericity was significant, χ²(45) = 202.13, p < .001, indicating that the correlations between items were large enough for factor analysis (N = 40).

KMO interpretation table

Kaiser (1974) gave the labels that SPSS users still quote. The same scale applies to the overall KMO and to each item’s MSA:

Interpretation of the Kaiser-Meyer-Olkin measure (Kaiser 1974)
KMO valueKaiser’s labelWhat to do
0.90 or moreMarvelousFactor analysis is well supported
0.80 to 0.89MeritoriousFactor analysis is well supported
0.70 to 0.79MiddlingAdequate; check the items with the lowest MSA
0.60 to 0.69MediocreAdequate; check the items with the lowest MSA
0.50 to 0.59MiserableBarely adequate; consider removing weak items
below 0.50UnacceptableDo not run a factor analysis yet

Bartlett’s test of sphericity asks whether the correlation matrix differs from an identity matrix, one in which every item is uncorrelated with every other. You want it to be significant (p < .05). A non-significant result means there is nothing for a factor analysis to find. With a few hundred respondents the test is almost always significant, so KMO and the item MSA values carry more of the decision.

Determinant. SPSS prints the determinant of the correlation matrix under the matrix itself. Field’s widely used SPSS textbook treats a value below 0.00001 as a sign of multicollinearity: some items correlate so highly that they are close to duplicates.

How to use the calculator

  1. Paste the item scores of the scale or questionnaire you plan to factor-analyse: one row per respondent, one column per item, from Excel, SPSS or a CSV file. A first row of item names is optional, and blank cells or NA count as missing.
  2. Or paste a correlation matrix from a paper or from software output, and enter the number of respondents. The calculator reads full matrices and lower or upper triangles, and ignores significance stars.
  3. Read KMO and Bartlett’s test in the result panel, then the MSA table. Items with MSA below 0.50 are candidates for removal: drop the lowest one, rerun, and repeat.
  4. Copy the report sentence into the methods or results section, next to your factor extraction and rotation method.

KMO and Bartlett’s test formulas

KMO = ΣΣi≠j rij² / (ΣΣi≠j rij² + ΣΣi≠j aij²)

rij are the correlations between items and aij the partial correlations, the correlation between two items once every other item is held constant. They come from the inverse of the correlation matrix: aij = −qij / √(qiiqjj), where q are the elements of R−1. If items share common factors, the partial correlations are small and KMO approaches 1. An item’s MSA uses the same ratio with only that item’s row.

χ² = −(n − 1 − (2p + 5)/6) × ln|R|,  df = p(p − 1)/2

Bartlett’s statistic uses the sample size n, the number of items p and the natural log of the determinant of the correlation matrix |R|. When items are uncorrelated, |R| is 1, its log is 0 and so is χ². The more the items correlate, the smaller the determinant and the larger χ².

Worked example

The default data are 40 simulated answers to a technology acceptance questionnaire on a 1 to 5 scale: four perceived usefulness items (PU1 to PU4), three ease of use items (EOU1 to EOU3) and three intention items (BI1 to BI3).

  • KMO = 0.803, meritorious on Kaiser’s scale.
  • Item MSA values run from 0.638 (EOU2) to 0.884 (PU2), so no item is below 0.50.
  • The determinant is 0.00302, comfortably above 0.00001.
  • Bartlett’s χ² = −(40 − 1 − 25/6) × ln(0.00302) = 34.83 × 5.803 = 202.13 on 45 degrees of freedom, p < .001.

The data are suitable for factor analysis. The calculator still warns that 40 respondents for 10 items is only 4 per item, below the usual minimum of 5 to 10.

The second example is a six-item correlation matrix with n = 150 (KMO = 0.730, χ²(15) = 321.52). The third shows items that barely correlate: KMO = 0.389 is unacceptable and Bartlett’s test is not significant, χ²(10) = 3.13, p = .978.

How to report KMO and Bartlett’s test

Report KMO with two decimals, Bartlett’s chi-square with its degrees of freedom and p-value, and the range of the item MSA values if any were checked:

The Kaiser-Meyer-Olkin measure of sampling adequacy was .80 (meritorious; Kaiser, 1974), and individual item values ranged from .64 to .88. Bartlett’s test of sphericity was significant, χ²(45) = 202.13, p < .001, indicating that the correlations between items were large enough for factor analysis (N = 40).

The same numbers come out of other software. In SPSS, open Analyze › Dimension Reduction › Factor, click Descriptives and tick “KMO and Bartlett’s test of sphericity” and “Anti-image”. In R, psych::KMO() and psych::cortest.bartlett() give the same values; in Python, factor_analyzer has calculate_kmo() and calculate_bartlett_sphericity().

After the factor analysis

Once the factors are extracted, check that each one is reliable with the Cronbach’s alpha calculator. If you go on to a confirmatory model or PLS-SEM, the AVE and composite reliability calculator checks convergent validity from the loadings, and the HTMT calculator checks that the constructs are distinct from each other.

Factor analysis needs enough respondents. The Krejcie and Morgan table and the Slovin’s formula calculator size a survey for estimating proportions, but factor analysis usually also needs at least 5 to 10 respondents per item.

Questions

What is a good KMO value?
A KMO of 0.60 or more is the usual minimum for factor analysis, 0.80 or more is meritorious and 0.90 or more is marvelous on Kaiser’s scale. Below 0.50 the data are unacceptable for factor analysis.
How do I interpret KMO and Bartlett’s test?
Look for a KMO of at least 0.60 and a significant Bartlett’s test (p below .05). Together they mean the items share enough common variance for factor analysis. Then check that every item’s MSA is at least 0.50.
What does a significant Bartlett’s test of sphericity mean?
It means the correlation matrix differs from an identity matrix, so at least some items are correlated and factor analysis can find common factors. A non-significant result means the items are close to uncorrelated.
What is MSA in the anti-image correlation matrix?
MSA is the measure of sampling adequacy of one item: the KMO formula applied to that item’s row. SPSS prints it on the diagonal of the anti-image correlation matrix, marked with a superscript a. Items below 0.50 are usually removed one at a time.
What should I do if KMO is below 0.50?
Remove the item with the lowest MSA and run the test again, repeating until KMO and every MSA are at least 0.50. If that removes too many items, the items may not measure common factors, or the sample may be too small.
How is Bartlett’s test calculated?
Chi-square = −(n − 1 − (2p + 5)/6) × ln of the determinant of the correlation matrix, with p(p − 1)/2 degrees of freedom, where n is the sample size and p the number of items. With 40 respondents, 10 items and a determinant of 0.00302, chi-square = 202.13 on 45 df.
What does the determinant of the correlation matrix tell me?
A determinant close to 0 means some items are nearly linear combinations of others. A common rule of thumb flags values below 0.00001 as multicollinearity. A determinant of exactly 0 means the matrix is singular and KMO cannot be computed.
Can I calculate KMO from a correlation matrix?
Yes. Switch to Correlation matrix, paste the full matrix or one triangle with 1s on the diagonal, and enter the number of respondents. KMO needs only the matrix; Bartlett’s test also needs the sample size.
Is my data sent anywhere?
No. The calculation runs in your browser and nothing you paste is uploaded or stored.

Sources