ICC calculator
Power planning for clustered data

How many animals are needed for 80% power?

Move the sliders to see how power changes with the number of animals and the number of cells per animal. Cells come in clusters (one animal), so the share of the variance that lies between animals (the ICC) sets a ceiling that more cells cannot lift.

Power now
Animals for 80%
Ceiling with endless cells

Power against number of animals

your settings ICC 0.05 / 0.1 / 0.3 80%

Power against cells per animal

your settings ceiling (endless cells)

Animals needed for 80%, for each ICC, at your d and cells per animal

ICCPlanning valueAnimals per groupPower at your animals

The curves are computed, not measured. Standard error of the difference (Aarts et al., 2014, Box 3): SE² = 2[1 + (n − 1)·ICC] / (k·n) for two groups of k animals, or [1 + (n − 1)·ICC] / (k·n) for one effect measured in each of k animals. Power is two-sided, α = 0.05, from the noncentral t distribution with 2k − 2 (two groups) or k − 1 (one effect) degrees of freedom. With few animals this is lower than the normal approximation.

Assumptions: roughly normal outcome, equal cells per animal, one effect size. For a within-animal effect, the ICC that matters is how much the effect itself varies between animals, which can differ from the ICC of the raw measure.