Free tools & games for everyone
Free · No sign-up · No accounts
Randomly allocate participants with blocks and strata, make blind codes, plan factorial runs, Latin squares and cross-overs, and estimate sample sizes.
Write the seed down: the same seed always gives the same plan.
| Tab | Move between tabs, boxes and buttons; plans update as you type |
|---|---|
| Enter or Space | Open a tab or press the button that has focus |
All plans come from a seeded generator (mulberry32 seeded from the text you type), so they can be reproduced and checked. Simple randomization picks each group with chance in proportion to its ratio. Permuted blocks list each group ratio × multiplier times and shuffle the block (Fisher–Yates); stratified allocation runs separate blocks inside each stratum. Blind codes are 5 characters from 31 letters and digits with look-alikes (0, O, 1, I, L) removed.
The half fraction keeps the runs whose levels multiply to +1 (defining relation I = ABC…). Latin squares shuffle the rows, columns and symbols of a cyclic square. A Williams design has each treatment follow every other exactly once (twice the rows for an odd number of treatments).
Sample size: n per group = (1 + 1/k) (z1−α/2 + z1−β)² σ² / δ² for means, and the usual pooled formula for two proportions. The tests check balance, reproducibility, Latin and Williams properties and the sizes against Python’s own normal distribution.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product