Twirlseed

PROBABILITY LAB

Probability & randomness lab

See how random outcomes vary from their exact probabilities. Run coin, dice, or weighted-choice experiments; inspect a sample locally.

Set an experiment

Cryptographic randomness is the default. Seeded output is repeatable for learning and simulation only; do not use it for decisions, passwords, or audited draws.

Changing a setting affects the next run. Each outcome is generated in your browser with crypto.getRandomValues(). Non-sensitive settings are remembered on this device; pasted sequences and generated results stay in this page unless downloaded, and are not sent to Twirlseed.

Sequence inspector

Paste observations you already have to compare their frequencies with a proposed probability model. Use H/T for coins, side numbers for dice, or one choice per line. Maximum 10,000 observations.

How to read the comparison

For the chi-square approximation, every expected count must be at least 5 and observations should be independent. Set probabilities before collecting data; fitting them to the same sequence invalidates the p-value.

This diagnostic describes how compatible these observations are with the stated model. It cannot show whether a generator is secure, prove fairness, or certify randomness. NIST cautions that statistical testing is not a substitute for cryptanalysis.

Experiment settings are remembered on this device. Pasted observations and generated results stay in this page unless downloaded; they are not sent to Twirlseed. Your browser may cache app files for offline use.

Optional support

Keep Twirlseed free

Twirlseed has no ads, accounts, or paywalls. We use no analytics or advertising trackers. We plan to keep every tool free for everyone. Optional support helps cover hosting, maintenance, and improvements.

Thank you for helping keep Twirlseed going.

Choose an amount

Custom amount (Stripe checkout opens in a new tab)

Stripe handles your payment in a new tab.

Tell us how you use Twirlseed