Statistics

Repeated Measures ANOVA Calculator with Mauchly's Test, Greenhouse–Geisser and Mixed Designs

Use a repeated-measures ANOVA when the same subjects are measured at several time points or under several conditions, for example CO₂ uptake of the same plants at seven CO₂ concentrations. Add a between-subjects group (plant type, treatment) for a mixed ANOVA. You get Mauchly’s sphericity test, Greenhouse–Geisser and Huynh–Feldt corrected p-values, partial and generalised η², pairwise comparisons and a profile plot, all matching R’s car package.

✅ No login needed100% freeRuns in your browserYour data stays on your device
Repeated Measures ANOVA Calculator✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Your data is analysed on your own computer or phone, even when you upload a CSV or Excel file. Nothing is uploaded, stored or seen by Codanics, and no login is needed.
  • PriceFree, no login or sign-up needed
  • Your dataProcessed in your browser, never uploaded
  • Works onPhone, tablet or computer, any modern browser
  • Made byDr. Muhammad Aammar Tufail, Codanics
  • Published17 November 2026
  • Last updated16 November 2026

📚 How to cite this tool

This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.

Citation · APA 7th edition

Tufail, M. A. (2026). Repeated measures ANOVA calculator [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/repeated-measures-anova-calculator/

In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)

The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 17 November 2026.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the Repeated Measures ANOVA Calculator

  1. Paste your data in wide format: one row per subject, one column per time point or condition, with level names in the header row. Optional columns for a subject ID and a between-subjects group can be anywhere. Long format (subject, level, value) is converted automatically.
  2. Pick the between-subjects factor if you have one (for a mixed ANOVA), or leave it on None. Name the within-subject factor and the outcome so the results read naturally.
  3. Keep the correction on Automatic: it reports Greenhouse–Geisser or Huynh–Feldt when Mauchly’s test shows that sphericity is violated. Click Run repeated measures ANOVA.
  4. Read the within-subjects table (and the interaction for mixed designs), then the pairwise comparisons and the profile plot. Copy the APA sentence and tables into your thesis.

When to use a repeated-measures ANOVA

Use a repeated-measures (within-subjects) ANOVA when the same subjects are measured three or more times: at several time points, at several doses or concentrations, or under several conditions. Because each subject serves as its own control, the subject-to-subject variation is removed from the error term, which makes the test more powerful than a one-way ANOVA on the same number of observations.

Add a between-subjects factor (treatment group, plant type, sex) and the design becomes a mixed ANOVA (also called a split-plot or split-plot-in-time design). The key result is then usually the interaction: do the groups change differently over time?

SituationUse
Same subjects, 3+ conditions, roughly normal dataRepeated-measures ANOVA
Same subjects, ordinal or clearly non-normal dataFriedman test
Only two time pointsPaired t-test
Groups compared adjusting for a baseline valueANCOVA
Missing time points or unequal spacing per subjectLinear mixed model (in R: lme4)

Sphericity, Mauchly’s test and the corrections

The F-test in a repeated-measures ANOVA assumes sphericity: the variances of the differences between all pairs of levels are equal. Mauchly’s test checks this. When sphericity is violated, the F-test is too liberal, so the degrees of freedom are multiplied by an epsilon (ε ≤ 1):

Greenhouse–Geisser ε = (Σλ)² / (p · Σλ²) λ = eigenvalues of the error SSCP of p = k − 1 orthonormal contrasts Huynh–Feldt ε (Lecoutre) = ((n_e + 1)·p·ε_GG − 2) / (p·(n_e − p·ε_GG)), n_e = N − g (error df), capped at 1 Corrected test: F with df₁·ε and df₂·ε Mauchly W = det(E) / (tr(E)/p)ᵖ, χ² = −n_e·ρ·ln W, ρ = 1 − (2p² + p + 2)/(6p·n_e) Partial η² = SS_effect / (SS_effect + SS_error); generalised η² = SS_effect / (SS_effect + all error SS)

A common rule (Girden, 1992) is to use Greenhouse–Geisser when ε < .75 and Huynh–Feldt otherwise; the Automatic option follows it. The results (Type III sums of squares with sum-to-zero contrasts) match R’s car::Anova(..., idesign = ~ level, type = 3) and SPSS GLM Repeated Measures.

Worked example: CO₂ uptake of plants

The built-in example is R’s classic CO2 dataset: CO₂ uptake of 12 grass plants (6 from Quebec, 6 from Mississippi) measured at 7 ambient CO₂ concentrations. Uptake rises steeply with concentration; Quebec plants take up more CO₂ than Mississippi plants; and the concentration × type interaction is significant: the curves diverge at higher concentrations, as the profile plot shows. Sphericity is clearly violated, so the Greenhouse–Geisser correction is reported.

Assumptions

  • Subjects are independent of each other; each has a value at every level (complete cases).
  • The outcome is roughly normal at each level (within each group).
  • Sphericity, or use the corrected p-values. For mixed designs, the covariance matrices should also be similar across groups.
Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

Frequently asked questions

What is sphericity and why does it matter?

Sphericity means that the variances of the differences between every pair of levels are equal. If it is violated, the usual F-test gives p-values that are too small. Mauchly’s test checks the assumption, and the Greenhouse–Geisser or Huynh–Feldt corrections fix the p-values by reducing the degrees of freedom.

Should I report Greenhouse–Geisser or Huynh–Feldt?

Greenhouse–Geisser is conservative and is the most commonly reported. Huynh–Feldt is less conservative and is recommended when ε is above about .75. The Automatic option follows this rule; whichever you choose, say so and report ε.

What is a mixed ANOVA?

A design with at least one within-subjects factor (measured repeatedly) and at least one between-subjects factor (different groups). This tool handles one of each. The interaction tells you whether the groups follow different patterns over the repeated measurements.

What should I do with missing values?

Classical repeated-measures ANOVA needs complete data, so subjects with any missing value are removed (the number removed is shown). If many values are missing, a linear mixed model is the better choice.

Which effect size should I report?

Partial η² is the most common. Generalised η² (Olejnik and Algina, 2003; Bakeman, 2005) is recommended for repeated-measures designs because it can be compared with between-subjects studies. The tool reports both.

Is my data uploaded?

No. Everything runs in your browser.

Do I need to log in or create an account to use the Repeated Measures ANOVA Calculator?

No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.

How do I cite this tool in my thesis or paper?

Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Repeated measures ANOVA calculator [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/repeated-measures-anova-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.

Free guides and courses from Codanics

More free tools

See all free Codanics tools → · Codanics on YouTube · WhatsApp channel

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 17 November 2026, last updated 16 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.