Probability Experiment Lab

Probability Experiment Lab

Exact rules above, observed samples below. All calculation stays in this browser tab.

Model assumption: every face is equally likely and each flip or die is independent. Coin outcomes count heads; dice outcomes sum face values. The seed controls a non-cryptographic teaching simulation, not a physical draw.

1. Define and run the experiment

Limits: 12 coins or 4 dice per trial and 100,000 total trials. Dice may have 4, 6, 8, 10, 12 or 20 faces.

2. Exact distribution vs sample

The exact rule is available before simulation; expected and observed counts appear after starting.

Selected event: Sum 12 = 1/36 = 2.778% per trial.

Rare by this page's ≤5% rule.

Every possible outcome for the selected fair-face rule
OutcomeExact waysExact probabilityExpected countObserved countObserved − expected
Sum 21/362.778%———
Sum 32/365.556%———
Sum 43/368.333%———
Sum 54/3611.111%———
Sum 65/3613.889%———
Sum 76/3616.667%———
Sum 85/3613.889%———
Sum 94/3611.111%———
Sum 103/368.333%———
Sum 112/365.556%———
Sum 121/362.778%———

3. Selected-event convergence

Blue is the cumulative observed proportion; dashed amber is the exact per-trial probability. The chart starts after 20 trials when possible; the table retains early checkpoints.

Run at least one trial to see convergence.

Sampling varies around the exact model. The Wilson interval describes an observed proportion approximately; no finite sample proves the fair-face assumption, and convergence is not guaranteed to be monotonic.

4. Export completed or partial results

JSON records the rule, seed, algorithm, status, exact distribution, all sampled rows and checkpoints. Separate CSV files contain distribution or convergence rows. Export is enabled after a run pauses, completes or is cancelled.

Comments & questions

Probability Experiment Lab

Specify a finite experiment, then compare its exact outcome counts with a reproducible local simulation. See where observed frequencies differ from expected counts and how one selected outcome develops across trials. The seed reproduces a teaching sample; it does not predict physical tosses.

Key features

  • Integer convolution gives exact favorable and total sequence counts for fair independent coins and dice
  • A documented 32-bit seeded pseudorandom generator makes every repeated run reproducible
  • Expected and observed counts, differences and a selected event's at-least-once chance
  • A labeled five-percent rare-event rule and approximate Wilson 95% interval for the observed rate
  • Chunked trials with pause, resume and cancel; partial results are retained
  • Versioned JSON plus distribution and convergence CSV exports

How to use

  1. Choose one to twelve fair coin flips or one to four fair dice and select a supported face count.
  2. Select the number of heads or the dice sum to follow; enter up to 100,000 trials and a 32-bit seed.
  3. Run the experiment, pausing or cancelling if needed; compare the exact distribution, expected counts and sampled results.
  4. Inspect the selected outcome's convergence graph and checkpoint table, then export JSON or CSV.

Use cases

  • Show why 2d6 sums are not equally likely even though each die face is fair
  • Reproduce a classroom coin-flip simulation from the same rule and seed
  • Explain why a rare event may not appear in a finite sample

Frequently asked questions

Is the theoretical probability simulated?

No. The exact numerator counts all equally likely sequences under the explicit assumption of independent fair faces. Only the observed counts come from seeded pseudorandom trials.

What does rare mean here?

This page labels a selected event rare when its exact per-trial probability is at most 5%. That threshold is a teaching convention, not a statistical test.

Can the same seed predict real dice?

No. It repeats this tool's deterministic pseudorandom sequence for the same rule and run length. Physical coins, dice and biased devices can behave differently.

What does the 95% interval mean?

The Wilson score interval is an approximate uncertainty summary for the observed event proportion under independent Bernoulli trials. It is not a guarantee or evidence that the fair-face model is true.

What happens when I cancel?

The next bounded chunk is not scheduled. Completed trials, their distribution and checkpoints remain visible and exportable with a cancelled status.

Privacy

All rules, seeds and sampled results are calculated in this browser tab. They are not submitted to an API or saved after leaving. Downloads occur only when you choose them.

Related Tools

Random GeneratorLotto GeneratorAlgebra Balance LabKakuro StudioFunction Graph WorkbenchAudio ABX Blind TestCard Sort StudyEvent Run of ShowChecklist RunnerKanban Project BoardMind Map WorkbenchArgument Map EditorTeam Skill MatrixCorpus ConcordancerTerminology Glossary ManagerCloze Worksheet MakerSliding Tile PuzzleReversi BoardNonogram StudioMinesweeper LabTangram StudioCrossword BuilderWord Ladder GameWord Search StudioAnagram Word GameConnect Four BoardAttribute Trio PuzzleMaze WorkbenchNumber Merge GameLogic Grid Puzzle MakerLights Out PuzzlePeg Solitaire BoardArithmetic Cage PuzzleSudoku StudioChess Tactics BoardProjectile Motion LabGeometry Construction LabEtymology Map ExplorerPronunciation Comparison StudioReading PacerPhonetic Transcription LabPeriodic Trend LabPhonics Word BuilderSpaced Repetition CardsService Blueprint DesignerOrganization Chart EditorProject Risk RegisterHabit Progress TrackerProcess Swimlane DesignerResource Capacity SchedulerInventory Movement LedgerRanked Ballot CounterUsability Task RunnerRequirements TraceabilitySentence Structure LabTranslation Memory WorkbenchDictation PracticeFraction ManipulativesMolecule Structure ViewerGantt Dependency PlannerWeighted Decision MatrixRound Robin SchedulerMental age test · everyday attitude themesPast-life story test27-question Enneagram explorerKorean initials quizFocus Games · Numbers and Ink ColorsColor vision reference platesPitch Recognition PracticeNumber Memory PracticeMoving Target RecognitionScoreboardBingo Card GeneratorTruth or DareQuote of the DayPreference Tournament MakerRock Paper ScissorsRandom Seating PlanRandom Nickname GeneratorRandom Conversation QuestionsMouse TestTouchscreen TestMonitor TestRefresh Rate EstimateScreen and Display InformationKorean Business Number CheckLadder GameCompatibility CheckerPassword GeneratorMy IP AddressLunch PickerSpin the WheelMetronomeReaction Time TestBalance Game (Would You Rather)Personality Type TestDream DictionaryKeyboard Test
Explore all Life/Fun tools →Image/Media →Text/Convert →Dev Tools →