Work it out
An example
The leader has 88 wins. The second team has 66 losses. The season has 162 games. 162 + 1 − 88 − 66 = 9. So any combination of nine does it: nine wins of the leader, or nine losses of the other one, or five and four. If the two play each other, one game takes off two.
Why it works
The team behind can win at most 162 minus its losses. Here that is 96. The leader is certain with one more, 97. It has 88, so it needs nine. And every time the other one loses, its best possible result is one smaller.
If they finish with the same record
Until 2021 there was an extra game. Now the results between the two teams decide. Whoever has already won that comparison needs one less: its real magic number is the one above minus one. Newspapers often leave this out.
Several teams behind
Work it out for each of them. The highest number counts. It does not always belong to the second in the standings, if another one has played fewer games.
The other side
The elimination number, sometimes called the tragic number, is the same thing seen from behind: so many wins of the leader and losses of your own, and it is over.