AbraCalc

Make 24 Challenge

Four random digit cards, one goal: reach exactly 24 using plus, minus, times, and divide. Every hand dealt is solver-checked so it's always possible — tap Reveal if you get stuck.

Built by the AbraCalc team

Embed this tool on your site

How to play

  1. Look at the four number cards dealt at the top — every hand is checked by a built-in solver, so a solution always exists.
  2. Tap cards to add their numbers to your expression and tap +, −, ×, ÷, or the parentheses to build out the calculation.
  3. Tap Check Answer once all four cards are used to see if your expression equals exactly 24.
  4. Stuck? Tap Reveal a Solution to see one valid path the solver found, or New Hand to deal a fresh, solvable set of four.

Four number cards appear at the top of the screen, each a digit from 1 to 9, and the job is to combine all four using addition, subtraction, multiplication, and division so the result lands exactly on 24. Tap a card to drop its number into the expression, tap an operator to insert it, and use the parentheses buttons to control order of operations when a straight left-to-right read won't get there. A built-in solver checks every hand before it's dealt, running through every order of the four numbers, every operator combination, and every way of grouping them, so a hand only appears if at least one working combination exists — nobody gets stuck on an impossible deal. Tap Check Answer once all four cards are used, or tap Reveal a Solution to see one path the solver found.

Frequently asked questions

Can I ever get dealt a hand that's actually impossible to solve?
No — before any hand is shown, the tool runs a full solver over every ordering of the four numbers, every operator combination, and every way of grouping them with parentheses, and only deals hands where at least one combination reaches exactly 24.
Do I have to use all four cards, or can I use fewer?
Check Answer requires all four cards to be used exactly once, which matches the classic 24 game rules — using only some of the numbers or reusing one twice won't be accepted as a solution.
What does Reveal a Solution actually show me?
It runs the same solver used to guarantee the hand is possible and displays one full expression, complete with parentheses, that evaluates to exactly 24 using all four dealt numbers.