The standard 24 Game requires exactly four whole numbers combined with addition, subtraction, multiplication, division, and parentheses — never three — and the 24 Game Solver follows that rule by accepting only four inputs in the range 1 to 99. Every returned expression uses each entered number exactly once and produces exactly 24 when evaluated with exact fraction arithmetic, so a hand like 3, 3, 8, 8 (which needs a fractional intermediate such as 8 ÷ 3) is solved correctly while a hand like 1, 5, 11, 13 returns no result under the basic rules. The solver exhaustively tries every allowed operation order and parenthesis placement, then lists up to 50 distinct expressions of the form "expression = 24" so each answer can be checked at a glance. A no-solution response means the exhaustive search found nothing under the stated rules; it does not mean the puzzle is unsolvable in a system that allows powers, factorials, concatenation, or decimal-point insertion. Because the search runs entirely in your browser and accepts only positive whole numbers from 1 through 99, this is the fastest way to confirm whether a four-number hand really does have a 24 inside it.

24 game solver 3 numbers
24 game solver 3 numbers

Why the Standard 24 Game Uses Four Numbers, Not Three

If you searched for a "24 game solver 3 numbers" tool, the most likely reason is a small memory slip about the standard rules. The classic 24 Game, as documented by the University of California, Santa Cruz mathematics program, asks players to take four given numbers, use each exactly once, and combine them with the four basic arithmetic operations and parentheses to reach exactly 24. Three-number puzzles are a different problem: they are sometimes used as warm-ups or in commercial card variants, and they almost always have different rules about which operations are allowed or how many times a number can appear.

That is why this solver deliberately takes four numbers from 1 through 99 and does not ask "how many numbers?" as a setting. Forcing the input down to three would either invent rules that no published version of the game actually uses, or hide solutions that the standard four-number rules can find. The exhaustive search, the reduced-fraction arithmetic, and the 50-expression cap all depend on the four-number contract. Treating the rules as fixed makes the answer unambiguous: either there is an expression that equals 24 under these rules, or there is not.

Entering Your Four Numbers and Selecting Solve

  1. Open the solver page and locate the four input fields, one for each number you want to combine.
  2. Type one whole number from 1 to 99 in each field. Do not enter decimals, fractions, or negative numbers, and do not leave a field blank.
  3. Double-check the digits against the source puzzle — a single wrong digit is the most common reason for an unexpected no-solution result.
  4. Select Solve to start the exhaustive search over the four numbers using +, −, ×, ÷, and parentheses.
  5. Wait for the result panel to render. The search is exhaustive for the four-number, four-operation rule set, so it returns either a list of expressions or a clear no-solution verdict.
  6. Read each returned expression from the inside of the parentheses outward and confirm it really equals 24 using standard order of operations.

No account, login, or usage limit applies. Everything happens in your browser, so the four numbers you type and the expressions the page shows are not uploaded, stored, or attached to any profile. If you need to test a second hand, simply change the four values and select Solve again.

How to Read the Returned Expressions

Every expression is printed in a fixed format that ends with "= 24", which lets you verify a proposed answer directly instead of trusting an unexplained success message. The list is sorted first by expression length and then by locale-aware character order, so the shortest constructions appear near the top. Because the same arithmetic idea can be written in several ways — for example, 8 × (3 + 8 ÷ 3) and a rearranged equivalent — the page deduplicates results before displaying them, then caps the list at 50 expressions to keep the interface readable.

When evaluating a returned expression, always work from the innermost parentheses outward and apply multiplication and division before addition and subtraction at each layer. Do not casually remove parentheses: they encode the operation order the solver discovered, and dropping them almost always changes the value. The expression text uses plain × and ÷ symbols rather than asterisk or slash shorthand so the answer can be copied directly into homework, a worksheet, or a chat with a study partner without translation.

Hands That Need Fractional Intermediates

The biggest difference between integer-only guesses and an exhaustive search is what happens when a hand needs a fractional value partway through. The solver stores every intermediate result as a reduced fraction — an integer numerator and a positive integer denominator, simplified by their greatest common divisor — and only accepts an expression when the final numerator equals 24 times the denominator. That comparison is exact, so a value merely close to 24 (such as 23.999999 from a floating-point rounding error) is never reported as success, and a valid repeating-decimal path is never lost to rounding noise.

The table below lists four hands that exercise different parts of the search. Three are solvable under the standard rules and one is not, which lets you see at a glance what the solver actually does with each type.

HandClassificationWhat the solver does
1, 2, 3, 4Solvable, simple productReturns 1 × 2 × 3 × 4 = 24 and several other constructions, all without fractions.
3, 3, 8, 8Solvable, needs a fractional intermediateReturns forms such as 8 ÷ (3 − 8 ÷ 3) = 24, which depend on an intermediate value of 8/3.
1, 5, 5, 5Solvable, repeated input valueReturns forms such as 5 × (5 − 1 ÷ 5) = 24, showing that the solver accepts a repeated digit as long as it is entered three times.
1, 5, 11, 13Unsolvable under the basic rulesExhausts every pairing and reports no solution under +, −, ×, ÷, parentheses, and each-number-once.

These four hands also act as the verifier anchors used during development: simple products confirm the easy path, the fractional hands confirm that exact arithmetic is in use, and the unsolvable hand confirms that the search can honestly admit defeat when the rules say so. If you want to see the exhaustive search behavior laid out in more detail, the guide on exhaustive search for any four numbers walks through the same algorithm step by step.

When the Solver Reports No Solution

A no-solution result is a verdict, not a failure of the tool. It means the search tried every unordered pair of remaining terms, applied addition, multiplication, both subtraction orders, and both nonzero division orders at each step, repeated that until only one term remained, and never saw that final term reduce to exactly 24 under the rules on the page. The most common real-world causes for an unexpected no-solution are: the digits were transcribed incorrectly, the source puzzle uses a different operation set (powers, factorials, concatenation, decimal points, or repeated use of a single number), or the hand really is unsolvable under the standard four-operation rule set.

Before concluding that a hand is impossible, recheck the four entered numbers against the original puzzle. A single wrong digit can turn a solvable hand into an unsolvable one, and that is by far the most frequent source of frustration. If the numbers are correct and the puzzle source clearly states it allows powers, factorials, or concatenation, then the hand is a different problem and this solver, by design, will not show answers for it. For a related discussion of when integer-only reasoning breaks down even on solvable hands, the guide on why fraction math beats integer guesses goes deeper into the arithmetic.

Rules This Solver Follows and Variants It Does Not

The solver follows the common 24 Game rules documented by the UC Santa Cruz MBAMP program and cross-checked against 4nums. The table below lists exactly what is enforced, what is allowed, and what is deliberately excluded, so you can tell at a glance whether a given puzzle falls inside or outside this solver's contract.

Rule or featureStatusDetail
Use each entered number exactly onceEnforcedNo reuse and no omission of any input.
Four basic operations (+, −, ×, ÷)AllowedBoth subtraction orders and both nonzero division orders are tried.
Parentheses for order of operationsAllowedEvery legal parenthesis placement is searched.
Positive whole numbers from 1 to 99Accepted as inputDecimals, fractions, and negatives are not accepted.
Concatenation of digitsExcluded1 and 2 cannot be combined into 12.
Exponentiation, roots, or factorialsExcludedSquares, cubes, factorials, and radicals are not used.
Decimal-point insertion inside numbersExcluded1.5 cannot be formed from the digits 1 and 5.
Unary negation as an extra operationExcludedNegative intermediate results come only from subtraction order.
Result limit50 expressionsPrevents a high-equivalence hand from filling the tab with hundreds of rearrangements.

Some commercial card editions use a narrower card range — typically 1 to 10, sometimes with face cards swapped in — but this solver deliberately accepts the wider 1 to 99 range while keeping the standard operation contract. That is the trade-off: more hands are accepted, but the operation set stays strict. If a puzzle you are working on allows any of the excluded operations, treat it as a different problem. The answer may exist, but it falls outside what this tool is contracted to find, and your best move is to verify the puzzle's rules with the source and decide whether you need a solver that supports powers, concatenation, or repeated use of a number.