PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabsLessons
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry
ENRUESPTFRDE

Related simulators

Continue with similar topics in this category — or all 66 in Chemistry.

View category →
NewSchool

Radioactive Decay & Chain

Launch Simulator

N(t) from half-life T₁/₂; optional parent → daughter → stable Bateman ODEs (RK4, normalized).

NewSchool

Le Châtelier Principle (Gas)

Launch Simulator

N₂ + 3H₂ ⇌ 2NH₃: T, V, add/remove species; Q vs K and relaxing mole bars.

NewSchool

Galvanic (Voltaic) Cell

Launch Simulator

Two half-cells, salt bridge, voltmeter; E°cell and Nernst E from ion concentrations (pedagogical E°).

NewUniversity / research

Anderson Localization (1D Tight-Binding)

Launch Simulator

Random onsite disorder W on a 1-D chain: diagonalize H, plot |ψ|² eigenstates, IPR vs energy, and localization length estimates (RMS and exponential fit).

NewUniversity / research

Wigner Function (Coherent vs Squeezed)

Launch Simulator

Phase-space quasi-probability W(x, p) for a single-mode Gaussian quantum state: coherent |α⟩, displaced-squeezed D(α)S(ξ)|0⟩, and thermal. The 1σ ellipse rotates by half the squeeze phase θ/2 and shrinks below the vacuum floor along one quadrature — the basic picture of CV quantum optics.

FeaturedKids

Molecule Viewer (3D)

Launch Simulator

Common molecules in 3D. Rotate, zoom. Ball-and-stick models.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Chemistry/Half-Life with Dice: Random Decay

Half-Life with Dice: Random Decay

Roll N dice, remove the ones that "decay"; N vs roll with theory N₀(1−p)ᵏ, T½ = ln 2/λ, log scale.

Dice experiment

100

Decay rule

2 rolls/s

Every roll, each surviving die is thrown again; a die that shows the decay face is removed. Changing N₀ or the rule starts a new experiment. The four extra runs are rolled in step with yours so you can compare the scatter.

Shortcuts

  • •Space / Enter — roll once
  • •P — auto-roll on / off
  • •R — reset

Measured values

Roll number0
Dice remaining N100
Decayed this roll0
Expected N = N₀(1−p)ᵏ100.0
Measured T½ (first N ≤ N₀/2)—rolls
Theoretical T½ = ln 2 / λ3.80rolls
Decay constant λ = −ln(1−p)0.182per roll
Decay probability p0.167

About this model

This is the classroom dice experiment for radioactive decay, done with up to 1000 dice at once. Every die stands for a nucleus that has not decayed yet. On each roll every surviving die is thrown again and is removed if it shows the chosen decay face: a 6 (p = 1/6), a 5 or 6 (p = 1/3), or heads on a coin (p = 1/2). Nothing about a die's past changes its chance on the next roll — that memorylessness is the whole point, and it is the same assumption that makes real decay exponential. The expected number left after k rolls is N(k) = N₀(1 − p)ᵏ = N₀e^{−λk} with λ = −ln(1 − p) per roll, so the half-life in rolls is T½ = ln 2/λ: 3.80 rolls for one face, 1.71 for two faces and exactly 1 roll for coins. The simulator plots your actual count against this smooth curve, marks N₀/2, N₀/4, N₀/8 with the corresponding T½, 2T½, 3T½ positions, and reports the measured half-life as the first roll at which N ≤ N₀/2 (linearly interpolated). A log-scale toggle turns the exponential into a straight line of slope −λ, and "Overlay 5 runs" shows four extra independent runs so students can see run-to-run scatter shrink as N₀ grows (relative noise ≈ 1/√N). Time is discrete here — one roll is one time step — and the model omits daughter products, decay chains and detector effects. For the continuous version with N(t) = N₀e^{−λt}, activity and parent → daughter chains, see the companion simulator Radioactive Decay in this category (chemistry/radioactive-decay).

Who it's for: Grades 7–11 chemistry and physics students meeting half-life for the first time, and teachers who want a quick virtual version of the dice or coin decay lab.

Key terms

  • Half-life (T½)
  • Decay constant (λ)
  • Exponential decay
  • Decay probability p
  • Random (stochastic) process
  • Memorylessness
  • Log scale
  • Statistical fluctuation

How it works

Each die is a nucleus that has not decayed yet. On every roll it decays with the same probability p, whatever happened before — exactly the assumption behind radioactive decay. The expected number left after k rolls is N₀(1−p)ᵏ, an exponential; the half-life is the number of rolls after which half the dice are expected to be gone, T½ = ln 2 / (−ln(1−p)). Real dice fluctuate around that curve; with more dice the relative scatter shrinks.

Key equations

N(k) = N₀ (1 − p)ᵏ = N₀ e^(−λk)
λ = −ln(1 − p) (per roll)
T½ = ln 2 / λ → 3.80 rolls for p = 1/6, 1.71 for 1/3, 1 for 1/2

Frequently asked questions

Why is the half-life 3.80 rolls and not 3 for p = 1/6?
After k rolls a fraction (5/6)ᵏ of the dice is expected to survive. Setting (5/6)ᵏ = 1/2 gives k = ln 2 / ln(6/5) = 0.693/0.182 ≈ 3.80. Three rolls leave about 58 %, four rolls about 48 %, so the half-way point lies between them.
My measured half-life came out quite different from 3.80. Is something wrong?
No — that is the lesson. Each roll is random, so a run with 20 dice can reach N₀/2 after 2 or after 6 rolls. The scatter shrinks roughly as 1/√N₀: switch to 1000 dice or turn on "Overlay 5 runs" and the curves bunch tightly around the theory line.
Why does the log scale give a straight line?
Taking the logarithm of N(k) = N₀(1 − p)ᵏ gives ln N = ln N₀ − λk, a straight line in k with slope −λ. On a log axis every half-life marker is the same vertical distance apart, which makes it easy to read T½ off the graph.
How does this relate to a real radioactive sample?
Each nucleus has a fixed probability per unit time of decaying, independent of its age, exactly like a die that does not remember earlier rolls. A real sample contains ~10²⁰ nuclei, so fluctuations are invisible and time is effectively continuous; the dice simply make the randomness visible at small N.