Card Game Companion

Gin rummy calculator

Pick a hand to see its best melds and lowest deadwood, whether you can knock, and what the hand scores.

Your cards

Practice

Get quick at the two sums every gin hand ends with. Streak: 0

How the calculator works

It tries every way of splitting your hand into sets and runs and keeps the one that leaves the lowest deadwood, so a card that could go in either a set or a run is always put where it saves the most. Aces are low (A-2-3 is a run, Q-K-A is not), aces count 1 and pictures 10.

Scoring a gin hand in five steps

  1. Count the knocker's deadwood.
  2. If it is 0, it's gin. No lay-offs. The knocker scores 20 plus the defender's whole count.
  3. Otherwise the defender lays out melds, lays off unmatched cards on the knocker's melds, and counts what is left.
  4. Knocker lower? The knocker scores the difference.
  5. Equal or higher? Undercut: the defender scores the difference plus 10.
Example: you knock with 6. Your opponent lays off a card and is left with 14. You score 14 − 6 = 8. Had they got down to 5, they would undercut you for 6 − 5 + 10 = 11.

More rummy tools

Questions people ask

What is deadwood in gin rummy?
Any card in your hand that isn't part of a set or a run. Aces count 1, number cards their face value and jack, queen and king 10. Your deadwood total decides whether you can knock and who wins the hand.
When can you knock in gin rummy?
When your deadwood, after your discard, is 10 or less. With no deadwood at all you go gin. In Oklahoma Gin the first up-card sets a lower limit.
What is an undercut in gin rummy?
When the knocker's opponent ends up with a count equal to or lower than the knocker's after laying off. The opponent then scores the difference plus a 10-point undercut bonus (25 in many homes).