Wordle and Information Entropy
Wordle as an Information-Theory Problem
Wordle and the information in a guess
Wordle asks a player to identify a mystery five-letter word in at most six guesses. After each guess, the game shows a color pattern for its five letters:
Gray means the letter does not occur in the answer.
Yellow means the letter occurs in the answer but is in a different position.
Green means the letter is correct and in the correct position.
Each pattern narrows the set of words that could still be the answer. A useful solver therefore needs to choose guesses that provide information, not merely guesses that seem likely to be the answer. A guess can be useful even when it is not a possible answer: it may separate the remaining candidates into informative groups.
For example, after the guess crane, the pattern gray–yellow–green–gray–gray indicates that the answer contains an R in a different position from the one guessed, has an A in the third position, and contains no C, N, or E. A later guess can use those constraints to distinguish among remaining possibilities. In one example, the solver reduced the candidates to shard and sharp, then selected shard and solved the puzzle in three guesses.
A commonly used informal benchmark is that solving in four guesses is roughly “par,” while solving in three is especially strong. This makes the solver’s objective more nuanced than simply finding the answer eventually: it should aim to reduce the remaining possibilities efficiently while preserving a good chance of finishing within six guesses.
Choosing an opening guess
A natural first approach is to use common English letters. Guesses such as other followed by nails cover many frequent letters. This approach can benefit from both positive and negative feedback: learning that a common letter is absent can be useful because it rules out many candidate words.
However, frequency-based intuition alone does not fully evaluate a guess. It does not automatically account for the positions of letters, and it may be unclear whether one arrangement of the same letters is better than another. It also does not compare the likely outcomes of different guesses in a systematic way.
An alternative is to choose a word with some uncommon letters. For instance, a guess containing a rare letter such as W might occasionally produce a highly distinctive pattern. The difficulty is that such a pattern may be very unlikely. A guess must be evaluated across all the patterns it might produce, not just its most exciting possible result.
Guess words and answer words
The game accepts a much larger list of valid guesses than it uses as possible answers:
The valid-guess list contains about 13,000 words, including rare or obscure words.
The possible-answer list contains about 2,300 words.
A solver can use the larger list for guesses while considering a separate set of words as possible answers. However, relying on the official answer list has drawbacks: it is specific to one version of the game, excludes many otherwise common words, and can reveal future answers if its contents or ordering are accessible. A more general solver can instead use broad information about English word frequencies to estimate which words are plausible answers.
Information and probability
The information in an observation measures how much it reduces uncertainty. An observation that cuts the possibilities in half provides one bit of information. Cutting the possibilities by a factor of four provides two bits; cutting them by a factor of eight provides three bits.
If an event has probability p, its information is
This formula expresses the number of repeated halvings corresponding to the event’s probability:
If p=21, the event provides 1 bit.
If p=41, it provides 2 bits.
If p=81, it provides 3 bits.
Thus, rare events carry more information than common ones. A highly informative color pattern is generally unlikely to occur; a likely pattern usually leaves many possibilities unresolved.
Information is also convenient because it adds across observations. If one observation provides 2 bits and a second provides 3 bits, together they provide 5 bits. The corresponding probabilities multiply, while their information values add. This makes information useful for analyzing a sequence of guesses.
Guess outcomes and expected information
A five-letter guess has five letter positions, and each position can receive one of three colors. The theoretical number of color patterns is therefore
For any proposed guess, the remaining candidate words can be grouped according to which of these patterns the guess would produce. The probability of each pattern depends on how likely the matching answer words are.
The information from one particular pattern is
where p is the probability of that pattern. To evaluate the guess before seeing its result, the solver calculates the expected information across all possible patterns:
where pi is the probability of outcome pattern i. This expected information is called entropy.
A guess with high entropy is expected to reduce uncertainty substantially. The best guess is not necessarily the one with the single most informative possible pattern; it is the one with the strongest probability-weighted performance across all its possible patterns.
Example: unlikely and likely outcomes
Suppose a guess can produce a rare pattern that matches only 58 words out of roughly 13,000. That outcome would sharply reduce the candidate set, but it has a low probability if all words are treated as equally likely.
A more common pattern might match about 1,400 words. This outcome is less informative because it leaves many more candidates, but it is much more likely to occur. The expected information of the guess must account for both cases.
The distribution of outcomes also matters. A guess is attractive when it creates many reasonably balanced groups, rather than concentrating most of its probability in one large group. For example, a guess such as weary has a long tail of rare, highly informative patterns, but its most likely outcomes may be much less informative. A guess such as slate can produce a flatter outcome distribution, reducing the chance that the result is an uninformative pattern. In one analysis, weary had an expected information value of about 4.9 bits, while slate had about 5.8 bits.
What entropy measures
Entropy captures both the shape of an outcome distribution and the amount of uncertainty it represents.
Entropy and distribution shape
For a fixed set of possible outcomes, a more uniform distribution has higher entropy than a distribution concentrated on a few outcomes. If all outcomes are equally likely, no single outcome is predictable in advance, so the uncertainty is high.
With 35 possible color patterns, the maximum entropy occurs if all patterns are equally likely:
Actual Wordle patterns are not equally likely, so a guess will generally have lower entropy.
Entropy and the number of possibilities
If a distribution has 16 equally likely outcomes, its entropy is
If it has 64 equally likely outcomes, its entropy is
Thus, an entropy of 6 bits represents as much uncertainty as 64 equally likely possibilities, even if the actual distribution contains a different number of outcomes with unequal probabilities.
Entropy is the expected information of a distribution. In a Wordle solver, it can measure the information expected from a guess or the uncertainty remaining among possible answers.
A first entropy-maximizing solver
A basic solver can use entropy at every step:
For each valid guess, determine the color pattern it would produce for each remaining possible answer.
Calculate the probability of each resulting pattern.
Calculate the guess’s entropy from those probabilities.
Choose the guess with the highest entropy.
After observing the actual pattern, remove answers that do not match it and repeat.
The solver can search all roughly 13,000 valid guesses, even when some guesses are not possible answers. After the first guess, it calculates entropy relative to the reduced set of remaining candidates.
If every answer word is initially assumed equally likely, then entropy over the remaining answer words is simply the logarithm of their count. For example, with 13,000 equally likely candidates, the uncertainty is approximately
In that uniform case, entropy is another way of expressing how many possibilities remain. Its additional value becomes clearer when candidate words have unequal probabilities.
First-solver performance and limitation
When tested against all 2,315 possible answers, this simple solver averaged about 4.124 guesses. It performed reasonably well but did not account for the fact that some words are much more plausible answers than others.
A further weakness appears near the end of a game. Suppose two candidates remain, and the solver considers them equally likely. If it cannot distinguish between them with another informative guess, it may spend extra guesses trying to identify the answer rather than directly choosing the more plausible word. This motivates both a better probability model and an endgame strategy that considers expected score, not just information.
Modeling how likely words are to be answers
To account for commonness, a solver can assign each word a prior probability based on its frequency in English. One source of such information is word-frequency data derived from a large collection of published English text.
Raw frequency is not enough by itself. A word that is one thousand times less common than another may still be familiar enough to be a plausible answer. The goal is not to make answer probabilities directly proportional to word frequency, but to distinguish broadly plausible words from words that are extremely obscure.
One way to create this distinction is to:
Sort five-letter words by their frequency in English.
Place the sorted words along an axis.
Apply a sigmoid function so that words receive probabilities near 1 on one side of a cutoff and near 0 on the other, with a gradual transition between them.
Choose the cutoff and transition width to represent which words seem plausible as answers.
The resulting probabilities form a prior distribution: an estimate, before any clues are received, of how likely each word is to be the answer.
This model need not perfectly reproduce the game’s answer list. Its purpose is to express general linguistic knowledge and make the solver more robust across different versions of Wordle.
Entropy with unequal word probabilities
When candidate answers are not equally likely, simply counting matching words can misrepresent uncertainty. A pattern that matches many extremely obscure words may be less concerning than a pattern that matches only a few common words.
For example, suppose four plausible words have substantial probability, while twelve additional matching words each have probability around 1/1000. If all sixteen words were equally likely, the entropy would be
But if the extra twelve words have very low probability, they contribute little to the overall uncertainty. In an example of this kind, the actual entropy is about 2.11 bits, much closer to the two bits associated with four equally likely possibilities.
The entropy of a word distribution is calculated by summing the information associated with each word, weighted by that word’s probability:
where qj is the probability of candidate word j.
This probability-weighted entropy provides a more realistic measure than the raw number of matching words. A large set of candidates does not necessarily imply high uncertainty if most candidates have negligible probability.
Unequal probabilities also affect guess evaluation
The same principle applies when evaluating a guess. Patterns with the same number of matching words can have very different probabilities if those words have different prior likelihoods.
For example:
One pattern may match 32 words that are mostly implausible answers.
A neighboring pattern may match only 8 words, but include several credible possibilities.
The two patterns can be about equally likely overall, despite the large difference in their raw match counts. Therefore, a probability-aware solver calculates each pattern’s probability from the probabilities of the words that would produce it, rather than treating every matching word as equally likely.
Solver improvements: probability-aware choices and endgame strategy
A more advanced solver uses the word-frequency prior in two ways:
It calculates each guess’s expected information using the non-uniform probabilities of candidate answers.
It maintains a probability estimate for each remaining word and uses those estimates when deciding what to guess.
Its measure of remaining uncertainty can now differ from a simple count. For example, a solver might have 526 matching words but an entropy of 8.02 bits. This is equivalent to about 259 equally likely possibilities, since
The effective uncertainty is lower than the raw count because many of the 526 words are considered very unlikely answers.
Why maximum information is not always the best next guess
Early in a game, maximizing entropy may be a good strategy. Late in a game, it can be better to choose a guess that is itself a likely answer. If only a few candidates remain and one is much more probable than the others, guessing that candidate may improve the expected score even if a different word would provide more information.
A more complete decision rule estimates the expected number of guesses required after each possible choice:
For a proposed guess, determine the probability that it is the answer.
If it is the answer, count the guesses already used.
If it is not the answer, estimate how many more guesses will be required after receiving its pattern.
Combine these possibilities to estimate the expected total score.
Choose the guess with the best expected score.
The estimate of future guesses can be learned from simulated games. For each point in a game, the solver records the remaining entropy and the number of guesses required afterward. It can then group similar uncertainty levels, average their outcomes, and fit a function linking remaining entropy to expected future guesses.
This makes the solver’s objective more systematic: information still matters, but it is evaluated in terms of its effect on the expected number of guesses.
Performance and trade-offs
The probability-aware solver averaged about 3.6 guesses in simulations against the 2,315 possible answers. It performed better than the uniform-probability solver, though it occasionally failed to solve within six guesses. This can happen because it sometimes chooses a word that is a likely answer rather than the word that maximizes information.
If the solver is allowed to use the game’s exact answer list, a more advanced version achieves an average near 3.43 guesses. That version also uses a two-step lookahead: it estimates the value of a guess by considering its expected information over the next two guesses, rather than only one.
In experiments using this deeper search, crane appeared to be the strongest opening guess. The result illustrates why intuitive openers may sometimes perform well, while also showing that optimal choice depends on the answer model, the available guesses, and the solver’s evaluation method.
Limits on how efficiently Wordle can be solved
Using the true answer list, the starting uncertainty is a little over 11 bits. A brute-force search indicates that the maximum expected information available from the first two guesses is about 10 bits. Even with excellent play, a typical best-case estimate therefore leaves about 1 bit of uncertainty after two guesses—equivalent to two equally likely possibilities.
This helps explain why an algorithm cannot generally guarantee solving every puzzle in three guesses. The information available from the first two guesses is not sufficient to ensure that the answer is uniquely determined in every case. Strong average performance is possible, but a guarantee of solving every puzzle in three guesses would require more information than the available guesses can reliably provide.

Ask anything
We've read this whole study set, so questions about it get the best answers.