Infinite Monkey Theorem Experiment

The probability of generating the target sentence within iterations is approximately .

Live View of Generated Text

Line Chart: Characters before Match
This chart shows the number of characters matched to the target sentence across iterations.
For example, it took 120 Characters for your target sentence to appear for the first time in the sequence


Histogram: Frequency of Matches
This histogram shows how often certain numbers of iterations are required to match the target sentence.

About This Experiment

The Infinite Monkey Theorem states that given enough time, a monkey randomly pressing keys will eventually type a given text. This experiment simulates randomness and demonstrates how it can create structured outcomes. With large iterations and the Law of Large Numbers, order emerges from randomness.