KBO FAQ
Background
The traditional magic number is the smallest number such that any combination of wins by the first-place team and losses by the second-place team totaling the magic number guarantees that the first-place team will finish the season with a better record than the second-place team.
The clinch numbers provided by RIOT Sports can be thought of as improved replacements for traditional magic numbers. They are superior since their calculation accounts for teams' remaining schedules and the league's tiebreak procedures.
First Place Clinch Number
The first place clinch number is similar to the commonly reported magic number. If a team wins this number of additional games, it is guaranteed to finish the season with a better record than any of the other teams in the league, or to win the tiebreaker for first place. An asterisk (*) indicates that even if a team wins all of its remaining games, it will not necessarily clinch first place. In this case the team does not have a first place clinch number.
Postseason Clinch Number
If a team wins this number of additional games, it is guaranteed a spot in the postseason. As with the first place clinch number, an asterisk (*) indicates that even if a team wins all of its remaining games, it cannot guarantee itself a postseason berth.
The elimination numbers provided by RIOT allow fans to determine which teams are still in contention for the postseason, and how close those teams are to being eliminated.
First Place Elimination Number
This is the minimum number of games that a team must win in order to remain in contention for first place. Teams that are already eliminated from first place contention are labeled "Out" in this box. See the list of frequently asked questions for an example of the distinction between the interpretations of the First Place Elimination Number and the First Place Clinch Number.
Postseason Elimination Number
This is the minimum number of games that a team must win in order to remain in contention for the postseason. Teams that are already eliminated from the postseason are labeled "Out" in this box.
The magic number can be computed using the following numbers:
- w1 - the number of games the team currently in first place has won so far
- w2 - the number of games the team currently in second place has won so far
- g2 - the number of games the team currently in second place has left to play
Now, suppose that the first-place team wins x more of its remaining games and the second-place team loses y more of its remaining games (i.e., it wins g2-y games). We will now derive a formula for the magic number, x + y. The team currently in first place will finish with w1 + x wins and the team currently in second place will finish with w2 + g2 - y wins. The team currently in first place will finish ahead of the team currently in second place as long as w1 + x > w2 + g2- y. The magic number is the smallest number x + y such that x + y > w2 + g2 - w1.
Since we are dealing with integers (whole numbers), the magic number is w2 + g2 - w1+ 1.
Take the Eastern Conference standings on the morning of March 7, 2019 for example.
| Clinch | Avoid Elimination From | ||||||||
| Team | W | L | GB | PCT | GL | 1st | Postseason | 1st | Postseason |
| Milwaukee | 48 | 16 | - | 0.750 | 18 | 15 | Clinched | 0 | 0 |
| Toronto | 46 | 19 | 2.5 | 0.708 | 17 | * | 2 | 3 | 0 |
| Indiana | 42 | 23 | 6.5 | 0.646 | 17 | * | 6 | 6 | 0 |
The first-place team, Milwaukee, has 48 wins and the second-place team, Toronto, has 46 wins and 17 games left to play. So, w1= 48, w2= 46 and g2= 17, and Milwaukee's magic number is 46 + 17 - 48 + 1 = 16. This means that any combination of wins by Milwaukee and losses by Toronto totaling 16 ensures that Milwaukee will finish with a better record than Toronto and presumably win the Eastern Conference. For example, if Milwaukee wins 16 more games, they will finish with at least 64 wins. The best Toronto can do is 46 + 17 = 63 wins. Thus, Milwaukee would finish ahead of Toronto. Likewise, if Toronto were to lose 16 games, they would have 1 game left to play and could finish with at most 47 wins. Since Milwaukee already has 48 wins, they would finish ahead of Toronto in this scenario as well.
Finally, suppose Milwaukee wins 6 games and Toronto loses 10, a combination adding up to the magic number, 16. In this scenario, Milwaukee would have 54 wins and Toronto would have 46 wins with 7 games left to play. This means that Toronto could finish with at most 46 + 7 = 53 wins and could not catch up with Milwaukee.
Notice that RIOT lists Milwaukee's first-place clinch number as 15, one less than the magic number. In this case, the difference is that first-place clinch number includes the possibility of ties for first place while the magic number does not. Another drawback with the magic number is that it really only applies to a pair of teams. For instance, if Milwaukee wins 6 more games and Toronto loses 10 games in the example above it does not necessarily mean that Milwaukee will finish the season in first place. It just means that the Bucks will finish ahead of the Raptors. Since Indiana has not yet been eliminated, it is still possible that they could move past both Milwaukee and Toronto. The first-place clinch number, however, is a guarantee: no matter what else happens, the Bucks will clinch first place if they win 15 more games.
As the end of the season approaches, fans like to engage in speculation about which teams will advance to the playoffs and whether their favorite team is still in contention. Sports media publish articles declaring that a particular team has been eliminated from contention or that the first place team has clinched a playoff berth. The worked example above ("How are magic numbers computed?") shows how these determinations can often be made by looking at the standings and making a few simple calculations, and how the RIOT numbers improve on those calculations by taking the remaining schedule of games and the league's tiebreakers into account.
RIOT re-scrapes results and re-solves every number nightly, after the day's games are complete. The "As of" stamp under each standings table shows when its numbers were last computed; between runs the numbers do not change. If a game is postponed or finishes late, it is picked up by the next nightly run.
The Remote Interactive Optimization Testbed (RIOT) project was initially made possible by Professor Dorit S. Hochbaum's Office of Naval Research (ONR) research grant N00014-91-J-1241 and National Science Foundation (NSF) Award DMI-9713482. The project started at the Industrial Engineering and Operations Research department of the University at California-Berkeley and subsequently moved to department of Operations Research and Engineering Management (OREM) of the Bobby B. Lyle School of Engineering at Southern Methodist University. RIOT is now a collaborative project between OREM and the Department of Mechanical Engineering at the Colorado School of Mines.
KBO
The top five teams determined by winning percentage ignoring ties (wins/(wins + losses)) make the postseason. The team with the best record during the regular season receives a bye all the way to the championship series. The No. 4 and No. 5 seeds face off in a wild-card round with the winner meeting the No. 3 seed, and then the winner of that series plays the No. 2 seed for a chance to reach the finals. The higher-seeded team gets home-field advantage in each series.
The wild-card round gives the No. 4 seed a real head start: the No. 4 seed advances with a single win, and a draw counts in their favor, while the No. 5 seed must win both games to move on. So when you read a 4th-place versus 5th-place clinch on the standings, the two spots are not interchangeable: clinching 4th is worth roughly a game in hand before the round starts.
- If two teams finish the regular season tied for first place, they play a special first-place game to break the tie.
- If two teams finish the regular season tied for fifth place, they play a special fifth-place game to break the tie.
- If two teams are tied for 2nd through 4th place, their win-loss record against each other is the first tiebreaker. If the season series between the two teams is tied, then the team that scored more runs in the series wins the tiebreaker, and if that doesn't break the tie then the team that finished higher in the previous year's standings wins the tie.
- If three or more teams are tied for any postseason spot, win total in the games played between the tied teams is the first tie-breaker, runs scored in the games played between the tied teams is the second, and the previous year's standings is the third tie-breaker.
Not necessarily. It simply means that there is at least one scenario in which the remaining games in the season play out in a way that your team doesn't win any more games but ends up finishing in first place anyway.
Not necessarily. It simply means that the team cannot guarantee themselves a first-place finish solely by winning all of their remaining games.