24 game

Four numbers, four operations, one target. Combine all four numbers with addition, subtraction, multiplication and division to make exactly 24. Every hand has at least one solution.

24 game

Tap a number, an operation and another number to merge them into a new card. Use all four cards to reach the target. Keyboard: 1–4 pick a card, + − * / the operation, U undoes.

Target24
Solved0

How to play

  1. You get four cards with numbers. The target is shown above them: usually 24.
  2. Tap a card, then an operation (+ − × ÷), then a second card. The two cards merge into a new one with the result.
  3. Keep combining until one card is left. If it shows the target, the hand is solved.
  4. Each number must be used exactly once. Brackets are implicit: the order you combine the cards is the order of the calculation.
  5. Results can be fractions. 8 ÷ 3 gives a card that says 8/3, and you can keep using it.

Made a wrong turn? Undo takes back the last step, and Reset hand returns to the four original cards.

Levels and modes

Levels

Easy deals numbers from 1 to 9 and always has a solution with whole numbers only. Classic uses 1 to 13, like a deck of cards with the face cards counting 11, 12 and 13. Make 10 keeps the 1–9 numbers but the target is 10. Wild target picks a new target between 10 and 50 for every hand.

Relaxed

No clock. Solve a hand, look at the steps, and deal the next one when you are ready.

Timed 60 s

Solve as many hands as you can in one minute. Showing a solution skips the hand, so it costs you time but not the round. Your best score is saved for each level.

Daily hand

One classic hand per day, the same for everyone. Solve it on consecutive days to build a streak.

Typing instead of tapping

Switch the input to Type and write the whole expression, for example (8 - 2) * 4 * 1. You can use * or x for multiplication, / or : for division, and round or square brackets. The game checks that you used exactly the four numbers and tells you what your expression is worth if it misses.

With a keyboard in card mode, keys 1–4 pick a card, + − * / pick the operation, U or Backspace undoes and R resets the hand.

Strategies

  • Think in factor pairs. 24 is 1 × 24, 2 × 12, 3 × 8 and 4 × 6. Look for two cards that make one half of a pair while the other two make the other half: with 5, 7, 2, 4, try (5 + 7) × (4 − 2).
  • Aim for 24 by a step away. 25 − 1, 23 + 1, 20 + 4, 30 − 6, 48 ÷ 2 and 72 ÷ 3 are all ways in. If three cards make 23, the last card had better be a 1.
  • Use the 1s. A 1 can be multiplied or divided away without changing anything, which is handy when the other three cards already make 24.
  • Don’t fear fractions. Some hands only work through a fraction. The famous one is 3, 3, 8, 8: 8 ÷ 3 = 8/3, then 3 − 8/3 = 1/3, and 8 ÷ 1/3 = 24. Another: 1, 5, 5, 5 gives 5 × (5 − 1/5) = 24.
  • Count the solutions. How many solutions? tells you how many genuinely different answers a hand has. Orders that only swap 3 × 8 for 8 × 3, or regroup a sum, count as one.

In the classroom

The 24 game is a favourite warm-up in maths lessons. It practises mental arithmetic, the order of operations and the role of brackets, and it rewards flexible thinking: there is no formula, only trying ideas and checking them. Easy mode is good for younger students, and Make 10 works well for practising number bonds. Ask students to write their solution as one expression with brackets: the typed mode checks it for them.

FAQ

Does every hand have a solution?

Yes. Before a hand is dealt, a solver tries every way to combine the four numbers and only deals hands that work. It uses exact fractions, so 8/3 is really 8/3 and not 2.666…

Can I use powers, square roots or put two digits together?

No. Only addition, subtraction, multiplication and division, and every number exactly once. Writing 1 and 2 as 12 is not allowed.

What counts as a different solution?

Two answers are the same if they only differ in the order of a sum or a product, or in how a chain of sums or products is grouped. Using the cards in a genuinely different way counts as a new solution.

Is my streak saved?

Yes, in your browser, together with your best timed scores. If storage is blocked the game still works, it just does not remember.