Select a theme:   Light Mode  |  Dark Mode
June 17, 2026

S-M-A-R-T! These researchers used math to crack Wordle

Engineers use information theory to solve New York Times puzzle with 99% success rate

A team of researchers at Binghamton University has developed a method to solve Wordle, which is currently celebrating its fifth anniversary. A team of researchers at Binghamton University has developed a method to solve Wordle, which is currently celebrating its fifth anniversary.
A team of researchers at Binghamton University has developed a method to solve Wordle, which is currently celebrating its fifth anniversary. Image Credit: Binghamton University, State University of New York.

Every day, millions of people play Wordle, the popular New York Times game that challenges users to guess a secret five-letter word. Using information theory, a team of researchers at Binghamton University, State University of New York, has developed a method to solve the game with a 99% success rate.

In Wordle, players attempt to solve a five-letter word within six guesses. At the start, players are presented with five blank spaces to play any letter of their choosing, with zero hints offered. When a player guesses a word – say “BRAVE” – the game provides feedback in the form of color highlights. 

  • Grey indicates that a guessed letter is not part of the secret word
  • Yellow indicates that a guessed letter is part of the secret word but is not in the correct order
  • Green indicates the guessed letter is part of the secret word and in the correct order

The player keeps guessing and is presented with clues until they guess the correct word and all five squares turn green – or they run out of guesses and lose the game.

Cracking the code 

The research team, led by Assistant Professor Congyu “Peter” Wu, applied Shannon entropy – a mathematical measure of uncertainty – to determine which guesses provide the most information. Rather than focusing solely on guessing the most likely answer from the get-go, their method prioritizes guessing words that provide as much information as possible to reduce the pool of possible words.

“Let's say you're at a certain guess. The previous guesses will eliminate a whole bunch of options, and based on the remaining options, guessing some words will send you into a trajectory where information gain is speedier,” said Wu, a faculty member at the Thomas J. Watson College of Engineering and Applied Science’s School of Systems Science and Industrial Engineering.

“A subtle but important insight from the paper is that a guess doesn’t have to be the most likely answer; it simply has to be informative,” said Donald Stephens, a doctoral student at Binghamton University. “By applying Shannon entropy, the objective shifts to maximizing the expected reduction in uncertainty rather than the probability of being right. In practice, this approach can lead to solving the puzzle in fewer guesses.”

Their method might seem more “random,” but it is more likely to lead to a successful guess by the end of the game. To use the method in real time, a player would need to run a script/program on the side. The player would enter the color-coded feedback that the game provides, and the program would spit out the next best guess to attempt to provide more information.

The team tested their strategy against a more traditional approach based on guessing common letters (e.g., “A”, “E”, “R”). In simulations, their approach solved 99% of Wordle puzzles, while the traditional method solved just 90%. 

From class project to publication 

This research paper didn’t stem from a research study but rather a class project where Wu tasked students to demonstrate information theory to solve a problem.  

Co-author Talal Aladaileh said that the paper’s growth from a course project into a published paper speaks volumes about the rigor, depth, and quality of the School of Systems Science and Industrial Engineering program at Binghamton.

“The courses here don't just teach concepts; they push you to apply them in ways that have real, lasting impact,” Aladaileh said.

Wu said that the project is a great use of information theory because it actively supports incorporating it to better perform a task. 

“What is especially creative and valuable about the team's intellectual contribution,” Wu said, “is that it transformed a static measurement (Shannon entropy) in a scientific domain into a dynamic solution that helps accomplish a popular task better, which showcases the team's deep understanding of class material and their talent as engineers.”

The paper, “Solving Wordle Using Information Theory,” was published in the Northeast Journal of Complex Systems.