24 Game Solver
Enter any four numbers in our free 24 Game solver to find every distinct arithmetic equation that equals 24, reveal a first-step hint, or practice.
All Solutions Equal to 24 for [4, 7, 8, 8] (7 found)
Solved in 11.11 msHow to Use the 24 Game Solver
- 1
Enter 4 card numbers or deal a random solvable hand
Type four numbers (1 to 99) into Cards #1–#4, click a classic preset hand (such as 4, 7, 8, 8 or the fraction classic 3, 3, 8, 8), or click "🎲 Deal Random Hand" to practice.
- 2
Set fraction and negative intermediate rules
Leave "Allow fraction intermediates" enabled to include division steps like 8 ÷ (3 − 8 ÷ 3) = 24, or uncheck it if your classroom rules require whole-number intermediates only.
- 3
Click First-Step Hint Only or Solve for 24
Press "💡 First-Step Hint Only" to reveal just the first pair of numbers and operator to combine, or click "Solve for 24" to see every distinct arithmetic equation.
- 4
Review solutions grouped by final operation
Browse deduplicated equations organized by their final operator (+, −, ×, ÷) so you can quickly spot target factor pairs like 3 × 8, 4 × 6, or 2 × 12.
How It Works
Our 24 game solver and 24 card game solver exhaustively evaluates every valid arithmetic way to combine four numbers into 24 using addition (+), subtraction (−), multiplication (×), and division (÷), using each of the four cards exactly once. For any four numbers, there are 24 card permutations, 64 operator combinations, and 5 distinct binary expression tree shapes—such as ((a ○ b) ○ c) ○ d versus (a ○ b) ○ (c ○ d)—totaling 7,680 candidate equations.
The 24 math game solver evaluates all 7,680 expression trees in under 5 milliseconds using high-precision rational math so classic fraction hands like 3, 3, 8, 8 → 8 ÷ (3 − 8 ÷ 3) = 24 and 1, 3, 4, 6 → 6 ÷ (1 − 3 ÷ 4) = 24 are never missed by rounding errors. Equivalent equations that only differ by commuting a + b or a × b are normalized into a single canonical signature, and you can click "First-Step Hint Only" to see just the opening pair of cards to combine without spoiling the full formula.
How the 24 Game Solver Algorithm Finds Every Valid Equation
Our 24 game solver algorithm tests all 5 binary expression tree topologies across every permutation of your four numbers and all 64 operator triples (+, −, ×, ÷). Because two sub-expressions can be combined in parallel—such as (a + b) × (c + d)—as well as sequentially like ((a × b) − c) × d, checking all five parenthesizations is essential. Each tree is evaluated using exact fraction arithmetic and deduplicated by sorting commutative operands.
Mental Math Strategy: Factor Pairs & Fraction Division Tricks
When scanning a new 4-card hand, always look for ways to isolate one number as part of a factor pair of 24: 3 × 8, 4 × 6, or 2 × 12. If you see an 8 on the board, try to combine the remaining three numbers into 3; if you see a 6, try to make 4. When whole-number steps fail on classic tough hands like 3, 3, 8, 8 or 1, 3, 4, 6, look for a fraction subtraction inside a denominator: 8 ÷ (3 − 8/3) = 8 ÷ (1/3) = 24, and 6 ÷ (1 − 3/4) = 6 ÷ (1/4) = 24.
Frequently Asked Questions
How do you solve 3, 3, 8, 8 or 1, 3, 4, 6 in the 24 math game?
Both classic hands require an intermediate fraction inside a division step: for 3, 3, 8, 8, the solution is 8 ÷ (3 − 8 ÷ 3) = 8 ÷ (1/3) = 24. For 1, 3, 4, 6, the solution is 6 ÷ (1 − 3 ÷ 4) = 6 ÷ (1/4) = 24. Make sure "Allow fraction intermediates" is checked to see fraction solutions.
Does every 4-number hand in the 24 card game have a solution?
No. Out of the 715 unique 4-card combinations drawn from numbers 1 to 13, 566 hands (about 79.2%) can make 24 using +, −, ×, and ÷, while 149 hands (such as 1, 1, 1, 1 or 3, 4, 6, 7) are mathematically impossible. Our solver instantly tells you when a hand has no valid solution.
How does the solver avoid listing duplicate equations?
Expressions that only rearrange commutative additions or multiplications—such as (1 + 2) + (3 × 7) versus (3 × 7) + (2 + 1)—are reduced to a single canonical signature so you only see genuinely distinct mathematical methods.
How do I practice with the First-Step Hint mode?
Click "🎲 Deal Random Hand" to load a guaranteed solvable 4-card puzzle, then click "💡 First-Step Hint Only" to reveal just the first two numbers and operation to combine so you can work out the remaining two steps mentally.
Put Your Strategy to the Test
Practice live word and logic games right in your browser or explore related solvers and daily hints.
Play Free Puzzle Games on Puzzit
Related math Tools
Instant 9×9, 6×6, X-Sudoku, and Killer Sudoku solver with step-by-step logical hints.
Use our Minesweeper solver to find safe cells, guaranteed mines, and exact probabilities.
Unscramble words instantly from your letters with blank tiles, word filters, and definitions.
Solve easy, hard, and Christmas rebus puzzles with answers, printable PDFs, and a maker.