Counting Effective Tiles
Ukeire is the set of tiles you can draw that lower shanten. Kinds are how many distinct ids are in that set. The count is the sum of the copies still left of those kinds only. This page counts both for the ordinary win of four melds and one pair. Scoring and safety sit beside the count. They change with the ruleset.
This site sorts a discard by lower shanten, then more ukeire copies, then more ukeire kinds. mjlab uses that ladder and does not run an expected-value engine. The frame is tile efficiency. The distance is shanten. At shanten 0 the same test lists the winning tiles, the step from 0 to −1.
What the count is
On 13 tiles the analyzer reads shanten, then tries one extra copy of each kind the hand holds fewer than four of. If shanten falls, that kind is ukeire. Kinds are the size of the set. The count sums, over that set only, four minus the copies already in the hand.
On 14 tiles it tries each discard and runs the same test on the 13 that remain. A cut row prints shanten and the copy total. It does not print a kind count, and this page does not invent one.
The default subtraction is the hand alone. Discards, melds, and indicators are not removed. The pond arithmetic appears in one labeled section below. Every other figure here is hand-only.
A kind that completes two blocks is still one kind. Overlapping Taatsu is the shape page. Block slogans are maxima for one block with the rest of the hand fixed. For ryanmen, kanchan, and penchan, the copy column also assumes that none of the accept tile is already held.
| Block | Kinds | Copies |
|---|---|---|
| Ryanmen, 45 accepts 3 and 6 | 2 | 8 |
| Kanchan, 46 accepts 5 | 1 | 4 |
| Penchan, 12 accepts 3 | 1 | 4 |
| Pair, finishing a triplet, two already held | 1 | 2 |
| Single, making a pair, one already held | 1 | 3 |
| Shanpon, each pair held twice | 2 | 4 |
Those lines are not the hand's ukeire until the whole 13-tile hand is recomputed. A draw that pairs a loose tile in an unfinished group can lower shanten even when no one block's slogan named it.
The ladder is this site's sort. A deficiency paper's discard rule is a step-k completion probability under a knowledge base, not this ladder. A published 立直 sample player keeps shanten and maximizes the number of necessary kinds. This site maximizes copies, then breaks ties on kinds. That is a choice of key, not a measured win rate.
Same shanten, wider ukeire
Both hands are shanten 1. The first key ties, so copies decide, then kinds.
Shanten 1. Nine kinds, 23 copies. No improvement rows.
1s×3, 2s×3, 3s×3, 4s×1, 5s×2, 6s×2, 7s×4, 8s×3, 9s×2. Every sou kind counts. 7s contributes 4 because none are held. 4s contributes 1 because three are held, and that last copy still lowers shanten.
Shanten 1. Seven kinds, 19 copies. No improvement rows.
1s×1, 2s×3, 3s×4, 5s×3, 6s×2, 7s×4, 8s×2. 4s is absent because all four are in the hand. 9s is absent too: four sit outside the hand, and drawing one does not lower shanten. A leftover copy is ukeire only when the shanten test says so.
23 copies and 9 kinds rank ahead of 19 copies and 7 kinds. That is wider ukeire at the same shanten. A 立直 yaku, a 国标 fan family, or a 川麻 suit you are clearing can still prefer the narrower shape. Write the count, then name the ruleset in Discard Strategy.
Lower shanten beats a larger count
A larger copy total does not buy a step you failed to take.
Best cut: East. Shanten 0, ukeire 8. Cutting 4m or 5m leaves shanten 1 with 24.
East is the only tenpai cut, so it wins on the first key. The 24-copy lines rank behind it.
| Cut | Shanten | Ukeire copies |
|---|---|---|
| East | 0 | 8 |
| 4m | 1 | 24 |
| 5m | 1 | 24 |
| 1p | 1 | 18 |
| 9p | 1 | 18 |
| 4p | 1 | 15 |
| 6p | 1 | 15 |
| 1s | 1 | 14 |
| 2p | 1 | 12 |
| 3p | 1 | 12 |
| 5p | 1 | 12 |
| 7p | 1 | 12 |
| 8p | 1 | 12 |
The 13 tiles after East are this ryanmen: 2 kinds, 8 copies.
Shanten 0. Waits: 3m×4, 6m×4. Two kinds, eight copies.
Best cut: 8s. Shanten 1, ukeire 31. Cutting 1m stays at shanten 1 with 23. Cutting 2s or 3s is shanten 2 with 35.
31 against 23 is the same-shanten comparison. 35 against 31 is shanten first: 35 is larger, and shanten 2 loses.
| Cut | Shanten | Ukeire copies |
|---|---|---|
| 8s | 1 | 31 |
| 1s | 1 | 25 |
| 4s | 1 | 25 |
| 1m | 1 | 23 |
| 9s | 1 | 15 |
| 6s | 1 | 8 |
| 5s | 1 | 7 |
| 2s | 2 | 35 |
| 3s | 2 | 35 |
Shanten 1. Eleven kinds, 31 copies. No improvement rows.
1m×3, 2m×4, 3m×4, 1s×3, 2s×3, 3s×3, 4s×1, 5s×2, 6s×2, 7s×4, 9s×2. The floating 1m adds acceptance: 1m, 2m, and 3m are on the list, and 8s is not. Cutting 1m instead returns the pure sou shape, 9 kinds and 23 copies. That is a value choice. The ukeire sort picks 8s.
立直. Keep the sou tiles when the plan is chinitsu, or when tanyao is the yaku you are protecting. 国标. The same cut can serve 实质进张 for a one-suit fan, with the man tile off that plan. The ladder's best cut remains 8s.
At tenpai, the count is the wait
At shanten 0, ukeire and the wait are the same set. Each hand below is shanten 0, and a tenpai hand has no improvement list.
Shanten 0. 3m×4, 6m×4. Two kinds, eight copies. Ryanmen.
Shanten 0. 5m×4. One kind, four copies. Kanchan.
Shanten 0. 3m×4. One kind, four copies. Penchan.
Shanten 0. 2m×2, 1s×2. Two kinds, four copies. Shanpon.
Ryanmen wins on copies, 8 against 4. Shanpon ties kanchan and penchan on copies and wins on kinds, 2 against 1. Kanchan and penchan tie on both keys.
Preferring kanchan over penchan, because the closed wait upgrades to a ryanmen more often, is common 立直 and sequence teaching about ryanmen upgrades. It is not a second analyzer number. The shapes are drawn in Wait Types.
Ryanmen wins on copies here. Equal counts among kanchan and penchan are not ranked by the analyzer. On these four tenpai hands the ladder stops at kinds and copies, so a closed wait does not outrank an edge wait when those two keys match. Those two keys are the whole sort on this site: lower shanten, then the hand-only copy total, then kinds. When kinds and copies both match, this page stops. It does not invent a third key that would place the closed wait ahead of the edge wait.
立直. Furiten can remove a kind you already discarded, while the hand-only list still prints it. Declaring riichi freezes the closed hand, so later shape changes stop. Both sit on top of these counts. See Riichi Mahjong.
Count each kind once
Count a kind once, then add the copies that remain.
Shanten 0. Three kinds, six copies: 2p×2, 6p×2, 9p×2.
Two of each wait are already held, so each kind contributes 4 minus 2. The total is 6. Counting 3×4 = 12 invents six tiles.
Shanten 1. Seven kinds, 19 copies. 4s is not among them.
All four 4s are in the hand, so 4s cannot be ukeire. The seven kinds are 1s×1, 2s×3, 3s×4, 5s×3, 6s×2, 7s×4, and 8s×2.
Shanten 1. Eight kinds, 28 copies. 4s is listed once.
1s×4, 2s×4, 3s×3, 4s×4, 5s×2, 6s×3, 7s×4, 8s×4. The 35 side and the 56 side both accept 4s, and the list still has 4s once. 5s is ×2 because two are held. This hand has improvement rows. They keep shanten at 1 and raise the kind count. They are not added to the 28.
Hand-only copies, and the tiles you can see
Shanten 0. 3m×4 and 6m×4. The analyzer prints 8.
Neither wait is in the hand, so the slogan and the 13-tile test agree on 8.
Shanten 0. 2m×2 and 1s×2. Four copies, not eight.
Each wait is already held twice. The slogan of eight assumed that none of the accept tile was held.
The pond is a side calculation this site does not run. The analyzer prints the hand-only count and has nowhere to put the pond. On the ryanmen, if two 3m are already in the pond, 3m (4−0−2) + 6m (4−0−0) = 6, while the analyzer still prints 8. After you subtract everything you can see, unseen copies may sit in other hands or the dead wall. The visible count is an upper bound for comparison, not the live wall. Drills here score the hand-only 8.
An improvement draw is a second list
Acceptance lowers shanten. A shape improvement does not. Adding the two lists mixes a step already taken with a step that only widens the shape, and this site does not add them. This site lists an improvement only when shanten stays the same and the number of kinds rises. A draw that keeps the kind count flat is not listed, even when the future wait looks easier. That is narrower than "any better shape." Tenpai hands have no improvement list. The three equal hands in the next section have no improvement rows. Those two wordings are not claimed to be the same definition.
Shanten 1. Seven kinds, 24 copies. Improvement: 3s, to eight kinds.
Ukeire is 2m×4, 3m×3, 4m×3, 5m×4, 4s×3, 5s×4, 6s×3. 3s is not in that list.
Shanten 1. Seven kinds, 24 copies. Improvement: 2s, to eight kinds.
Ukeire is 2m×4, 3m×3, 4m×3, 5m×4, 3s×3, 4s×4, 5s×3. 2s is not ukeire. Do not add 24 and either improvement into one total.
Shanten 1. Five kinds, 14 copies. Ten improvement kinds, each to six.
Ukeire is 1m×2, 9p×2, 3s×3, 6s×3, 9s×4. The ten improvement kinds are 2m, 3m, 7p, 8p, 1s, 2s, 4s, 5s, 7s, and 8s. Each goes from 5 kinds to 6. None of the ten is in the ukeire list.
Equal totals do not rank a closed wait against an edge wait
Each hand is shanten 1, with 3 kinds and 8 copies, and has no improvement rows. Shared accepts are 9s×2 and East×2.
Shanten 1. 5m×4, 9s×2, East×2. Kanchan 46m. No improvement rows.
Shanten 1. 2m×4, 9s×2, East×2. Kanchan 13m. No improvement rows.
Shanten 1. 3m×4, 9s×2, East×2. Penchan 12m. No improvement rows.
The analyzer ties all three. It cannot see that 46m upgrades to a ryanmen more readily than 12m. Preferring that upgrade is common 立直 and sequence teaching about ryanmen upgrades. Label it 立直, and label it general sequence pedagogy. It is not an analyzer result.
国标: structural ukeire, scoring draws, and empty tenpai
国标 reads a fan plan on top of the structural list. This section does not compute a fan total. The analyzer returns every kind that lowers shanten. In the Canada MCR association's glossary, 实质进张 advances the core fan (主体番种), 型听 is structural tenpai under the minimum fan to win, and 改良进张 leaves xiangting unchanged while the wait widens.
Shanten 0. One kind, three copies: 1s×3. Structural ukeire only.
The pin body and the white-dragon triplet are finished. The only winning tile is 1s. For a one-suit plan, structural ukeire is 1s×3 and 实质进张 is empty. The association's 2020-07-16 lecture, 如何打好国标麻将, would also call the finished hand 型听 if it is under the minimum fan. This is not a 国标 win until that check. The fan total is not computed here.
Shanten 1. Structural ukeire: 3s, 6s, 9s, 9p, 1m. Five kinds, 14 copies.
3s, 6s, and 9s stay with the sou body. 9p and 1m lower shanten by completing a triplet in another suit. Which of the five are 实质进张 depends on the core fan. The analyzer returns the union.
The ten improvement kinds, each from 5 kinds to 6, match the association's 改良进张 only under "xiangting unchanged and the wait widens." This site's test is "the kind count rises," which these ten pass. The wordings agree on this hand. They are not treated as one definition for every hand.
The association's 2019-01-05 continuation, 国标麻将浅识(续), counts 当量 as pedagogy. A pair's remaining copies are multiplied by 4, for a self-draw and a pong. A sequence tile is multiplied by 2, for a self-draw and a chi from the left only. Their sketch is 2×4 = 8 for a pair with two left, and 4×2 = 8 for a sequence tile with four left. That ×2 is not 立直 ukeire, not 川麻, and not what the analyzer prints. Which competition year applies, and whether 8 fan is the minimum, is not locked here. Name the edition from Chinese Official Mahjong.
川麻: the missing suit can be the whole wait
川麻 here follows 血战到底-style pages: DoubleWin, the World Mahjong Tour 血战到底 rules, and the Sichuan Mahjong Mobile guide. House rules differ, including 血战到底 versus 血流 and whether a late win is compulsory. Name 血战到底 when you use the continuing deal. The set has 108 tiles and no honors, so these hands use none. There is no chi, so do not multiply a sequence accept by the 国标 当量 ×2.
Best cuts: 1p and 2p, tied. Shanten 0, ukeire 3. Cutting 3s or 8s is shanten 1 with 33.
| Cut | Shanten | Ukeire copies |
|---|---|---|
| 1p | 0 | 3 |
| 2p | 0 | 3 |
| 3s | 1 | 33 |
| 8s | 1 | 33 |
| 5s | 1 | 24 |
| 6s | 1 | 24 |
| 4s | 1 | 23 |
| 7s | 1 | 23 |
| 1m | 1 | 21 |
| 2m | 1 | 21 |
| 3m | 1 | 21 |
Shanten 0. One kind, three copies: 1p×3. Under 定缺筒 this is not a legal hu.
The wait is the missing suit, and a pin tile is still in the hand. The 33-copy one-shanten is not a reason to cut a sou while a pin remains. 定缺 says the pin goes first. After it goes, the structural tenpai is still illegal, because the only wait is 1p.
Best cuts: 3s and 8s, tied. Shanten 0, ukeire 11. Next: 5s and 6s at 8.
Two suits only. This is the picture after 定缺 is cleared. The best cuts are legal tiles, and meld-and-pair ukeire applies inside the suits you kept.
| Cut | Shanten | Ukeire copies |
|---|---|---|
| 3s | 0 | 11 |
| 8s | 0 | 11 |
| 5s | 0 | 8 |
| 6s | 0 | 8 |
| 2m | 0 | 7 |
| 1m | 0 | 5 |
| 4m | 0 | 5 |
| 4s | 0 | 4 |
| 7s | 0 | 4 |
| 3m | 0 | 3 |
Sichuan Mahjong is the rules page. The analyzer does not choose 定缺, and it does not delete an illegal wait from the list.
川麻: an exhaustive draw pays tenpai
During the hand, the shared sort still prefers lower shanten. At an exhaustive draw, 查叫 compares tenpai with noten, not the wider count. On 血战到底, play continues after someone else wins, so a narrow tenpai can still be the practical goal. That is table economics, not a change to the 13-tile formula.
Shanten 0. One kind, three copies: 3m×3. Narrow tanki.
Only sou and man are held, so a 定缺 of pin is already clear, and the wait is not the missing suit. Three copies is a small tenpai. It is tenpai.
Shanten 1. Nine kinds, 23 copies. One suit, sou. Noten if the wall ends now.
It has more ukeire, and it loses 查叫 to the tanki if the wall ends now. Once 定缺 is an empty suit, this hand is not 花猪. It is noten.
Seven pairs changes the set
Count seven pairs (七对) only on tables that include that win. 立直 includes it. 国标 includes it as a special pattern. 川麻: the fetched 血战到底 pages score 七对 at 2 fan, and other Sichuan tables may omit it. Kokushi is a 立直 pattern. These hands are not kokushi, and kokushi is not a legal win in 国标 or 川麻.
Shanten 0. One kind, three copies: 9p×3.
Six pairs plus a 9p singleton. The wait is the seven-pair tanki. This page did not recompute the hand with seven pairs turned off.
Shanten 0. Three kinds, seven copies: 1p×2, 4p×2, 7p×3.
A seven-pairs-only reading sees 7p×3. The extra 1p and 4p win as a standard hand. "Count the pairs" undercounts this hand. "Always add seven pairs" is wrong on a table without that win. The standard-only waits were not recomputed here.
What to practice
- Shanten, including 0 and −1, in How to Count Shanten.
- Kinds and hand-only copies on this page. Name every kind in one-shanten training. Cut by the copy total in one-shanten discard.
- The cut, in One-Shanten Discard and Discard Strategy.
- The wait as a shape, in Wait Types.
- Overlap, still one kind, in Overlapping Taatsu.
- The table. Riichi Mahjong, Chinese Official Mahjong, or Sichuan Mahjong. Carry a 立直, 国标, or 川麻 sentence only into the ruleset it names.
The ladder's best cut is the efficiency best cut. A scoring plan, a missing suit, or an exhaustive-draw tenpai is an overlay you name before you play past the numbers.