Developed by — Senior Statistician & Editor Last updated Add as Preferred on Google
Hypothesis Testing

One-Way ANOVA Calculator

Use this calculator to perform a one-way ANOVA with post hoc tests using grouped observations or a pasted/uploaded dataset. Get SPSS-style tables, F statistics, p-values, effect sizes, a step-by-step solution, and APA results. The tool also performs Levene's test and automatically uses Welch's ANOVA and Games–Howell when the equal-variance assumption is rejected.

1. Enter Your Data

Enter observations in separate group columns, using commas, spaces, or line breaks. You can edit the group names or add more groups.

Rename variables (optional)

Each group requires at least two observations. Up to 20 groups and 5,000 observations in total.

Paste a table from Excel, Google Sheets, CSV, or TSV. Each row is one observation. Select the grouping variable and numerical outcome below.

CSV, TSV, TXT, XLS, or XLSX. Maximum 10 MB and 5,000 data rows.

Select Your Analysis Variables

Other columns are ignored. The factor can be text or numeric group codes.

View Uploaded Data (First 5 Rows)
Analysis Options (α = 0.05 · 4 decimals)

2. Post Hoc Tests

Post hoc tests run when the overall test is significant and there are three or more groups. If Levene's test is significant, Welch's ANOVA and Games–Howell are selected automatically.

Have two independent factors? Use the Two-Way ANOVA Calculator .

How to Use the ANOVA Calculator

This calculator allows you to perform a one-way ANOVA using raw observations entered in wide or long format.

To use the calculator, follow these steps:

  1. Select the data format. Choose Wide Format to enter observations in separate group columns. Alternatively, select Long Format if your dataset contains a grouping variable and a numerical dependent variable in separate columns.
  2. Enter your data. For Wide Format, enter the observations for each group, separating values with commas, spaces, or line breaks. For Long Format, paste your dataset directly from Excel or Google Sheets, or upload a CSV, TXT, or Excel file.
  3. Select the variables if using Long Format. Confirm the columns representing the factor and dependent variable. Any additional columns will be excluded from the analysis.
  4. Set the significance level and select the post hoc tests. The default significance level is 0.05, with Tukey HSD selected for post hoc comparisons.
  5. Click Calculate. The calculator will perform the analysis and display the results.

The calculator provides descriptive statistics, Levene’s test, the ANOVA table, effect sizes, and post hoc comparisons when appropriate. You will also get a step-by-step hypothesis test and an APA-formatted report.

Note: Each group must contain at least two observations. The calculator supports up to 20 groups and 5,000 observations.

Key Features of This ANOVA Calculator

Unlike a basic ANOVA calculator that only returns the F statistic and p-value, this tool provides additional results needed to interpret and report a one-way ANOVA.

  • Wide and long data formats: Enter observations directly into separate group columns or paste a complete dataset containing the grouping variable and dependent variable.
  • Dataset upload: Upload CSV, TSV, TXT, XLS, or XLSX files containing up to 5,000 observations. The calculator allows you to select the variables you want to analyze and excludes any additional columns.
  • SPSS-style ANOVA output tables: Get descriptive statistics, Levene’s test, the ANOVA table, effect sizes, and multiple-comparison tables. You can also copy the tables into your report.
  • Automatic assumption checking: The calculator performs Levene’s test to assess the homogeneity of variances. If the test indicates unequal variances, the calculator uses Welch’s ANOVA instead of the standard one-way ANOVA.
  • Post hoc tests: Choose Tukey HSD, Bonferroni, Fisher’s LSD, or Scheffé to compare individual group means. When unequal variances are detected, the calculator automatically uses Games-Howell comparisons. The calculator performs Post hoc tests only when the overall test is statistically significant.
  • Effect sizes: Calculate eta squared (η²), omega squared (ω²), and Cohen’s f to assess the magnitude of the differences between groups.
  • Step-by-step solution: See how the F statistic is calculated, how to obtain the p-value and F critical value, and how to make a hypothesis-testing decision using both approaches.
  • APA-formatted results: Get a report identifying the ANOVA method used, the test statistics, and the significant group differences identified by the selected post hoc tests.

Want to learn more about one-way ANOVA and how to perform the test by hand? See the detailed one-way ANOVA guide.

Assumptions of One-Way ANOVA

Before using this calculator, ensure that your data meet the following assumptions:

  • Independence of observations. The observations should be independent, meaning that one observation should not influence another.
  • Normality. The dependent variable should be approximately normally distributed within each group, particularly when the sample sizes are small. You may use the Shapiro-Wilk test calculator or Kolmogorov-Smirnov test calculator to test for normality.
  • Homogeneity of variances. The population variances should be approximately equal across the groups. This calculator uses Levene’s test to assess this assumption and automatically performs Welch’s ANOVA when the test is statistically significant.

Note that the calculator only checks homogeneity of variances. You should assess independence and normality before interpreting the results.

Understanding the ANOVA Results

The first result to examine is the p-value of the selected ANOVA test. If the p-value is less than the significance level (α), we reject the null hypothesis and conclude that at least one population mean differs. In this case, you should examine the post hoc results to identify which group means differ significantly.

However, if the p-value is greater than or equal to α, we fail to reject the null hypothesis. The calculator will not perform post hoc comparisons.

If your study involves two categorical factors rather than one, use the Two-Way ANOVA Calculator to examine their main effects and interaction.

Struggling to determine whether to use a one-way or two-way ANOVA? Read the one-way ANOVA vs. Two-Way ANOVA to learn the differences and when to use each one of them.

Frequently Asked Questions

What is an ANOVA calculator?

An ANOVA calculator is an online tool used to test whether the means of two or more independent groups are statistically different. This calculator performs a one-way ANOVA and provides the F statistic, p-value, F critical value, effect sizes, post hoc tests, and SPSS-style output tables.

Can I perform a one-way ANOVA with unequal sample sizes?

Yes. The calculator allows you to compare groups with different sample sizes. Simply enter the observations for each group or upload your dataset. The calculator uses the sample size of each group when calculating the ANOVA statistics.

Does this ANOVA calculator perform post hoc tests?

Yes. You can choose from Tukey HSD, Bonferroni, LSD, and Scheffé post hoc tests. If Levene’s test indicates unequal variances, the calculator automatically uses Games-Howell.

Why does the calculator use Welch’s ANOVA instead of the standard one-way ANOVA?

The calculator uses Welch’s ANOVA when Levene’s test is statistically significant, indicating that the homogeneity of variance assumption has been violated. Welch’s ANOVA adjusts for unequal variances and provides an alternative to the standard one-way ANOVA.

Can I use Excel or SPSS data in this ANOVA calculator?

Yes. You can copy and paste data directly from Excel or SPSS into the calculator. Alternatively, upload your dataset in CSV, TXT, XLS, or XLSX format. If you have an SPSS dataset (.sav) file, you will need to export it to CSV or Excel before uploading.

Can I use this ANOVA calculator to compare two groups?

Yes. Although one-way ANOVA is commonly used to compare three or more groups, it can also compare two independent groups. When comparing only two groups under the standard equal-variance model, the ANOVA F statistic is equivalent to the square of the independent-samples t statistic. In this case, post hoc tests are unnecessary.

Cite

Choose APA, MLA, Chicago, or Harvard. Citations credit Joseph Mburu.

Mburu, J.. (2026, December 4). One-Way ANOVA Calculator. Retrieved December 5, 2026, from https://statcalc.net/anova-calculator/

About the Author

, Senior Statistician & Editor. Develops statistics calculators, explains formulas, and checks calculation methods and worked examples.