Integer matrix contingency table count calculator from margins

Your numbers

One to five nonnegative margins, each 0–30; total ≤40.
One to five margins with the same grand total as the row sums.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗