# Compare observed and expected frequencies

This calculator compares observed and expected frequencies with the chi-square test.
Read an example with explanation
.

Note that the chi-square test is more commonly used in a very different situation -- to analyze a contingency table. This is appropriate when you wish to compare two or more groups, and the outcome variable is categorical. For example, compare number of patients with postoperative infections after two kinds of operations. If you need to analyze a contingency table, do not use this table. If you have two groups (rows) and two outcomes, use
this calculator
. If your table is larger, try the free demos of
GraphPad InStat
(basic statistics only) and
GraphPad Prism
(statistics, nonlinear regression and scientific graphics).

Enter the names of the categories into the first column (optional). Enter the actual number of objects or individuals or events observed in the second column. Then enter the expected number, fraction or percent expected in the third column.

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.