Expected contingency table count calculator
Compute an expected cell count under independence from its row and column totals.
Related calculators
Use these tools when your question extends to a neighboring part of the same calculation.
How to use this calculator
Compute an expected cell count under independence from its row and column totals.
- Enter Row total, Column total, Grand total. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Expected contingency table count calculator
Compute an expected cell count under independence from its row and column totals.
What it measures
Compute an expected cell count under independence from its row and column totals.
Inputs and units
- Row total: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.
- Column total: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.
- Grand total: Use a count from the same population, table, or experiment described by this calculator; counts are not measurements in physical units.
Formula and method
row total×column total/grand total
Worked example
A row total of 40 and column total of 30 in a table of 100 gives expected count 40×30/100=12.
Interpreting the result
Expected counts are model-based values, not observed people. Compare them with observed counts when assessing association.
Assumptions and limits
Totals must come from the same contingency table; grand total must be positive and at least as large as each margin.
Sources and method
- Gives the independence expected count from row total × column total ÷ grand total and the Pearson chi-square contribution. OpenStax Introductory Statistics: Chi-square and expected-count formulas
Frequently asked questions
Why calculate expected counts?
They provide the independence baseline used in common contingency-table tests.
Must expected counts be whole numbers?
No. They are theoretical averages and may be fractional.
How do I use the Expected contingency table count calculator?
Enter Row total, Column total, Grand total. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Expected contingency table count?
A row total of 40 and column total of 30 in a table of 100 gives expected count 40×30/100=12.
What does the Expected contingency table count calculator calculate?
Compute an expected cell count under independence from its row and column totals.
See the calculation methodology.