MLB Magic Number Calculator
Find any team's magic number to clinch the division or pennant — and the elimination number on the flip side.
What is a magic number?
A magic number counts down a team's path to clinching a division title or playoff spot. It's the combined number of wins by the leading team and losses by the closest chasing team that will lock up the spot. Every time the leader wins or the chaser loses, the magic number drops by one. The moment it hits zero, the leader has clinched and the race is mathematically over.
You'll see it most in baseball, where it's printed right in the standings during the August and September pennant races, but the idea works in any league with a fixed schedule — basketball, hockey, or football. The only thing that changes between sports is how many games are in the season.
How the magic number is calculated
The magic number formula is simple:
Magic number = Games + 1 − Leader's wins − Chaser's losses
Take a 162-game MLB season. Suppose the division leader has 90 wins and the second-place team has 64 losses:
162 + 1 − 90 − 64 = 9
The leader's magic number is 9. Any combination of nine results — leader wins or chaser losses, in any mix — clinches the division. Five leader wins and four chaser losses? Clinched. Nine straight chaser losses? Also clinched. The "+1" in the formula accounts for the tie-breaker: the leader needs to finish strictly ahead, not just level.
Magic number vs elimination number (E#)
The elimination number — written E# in standings — is the same idea viewed from the other dugout. It's the combined number of leader wins and chaser losses that would mathematically eliminate the chasing team. Because both numbers count the exact same events, a team's elimination number is always identical to the leader's magic number over them.
So a leader with a magic number of 9 over the second-place team is the same as that second-place team having an elimination number of 9. When either reaches zero, the race is decided: the leader clinches and the chaser is out. The elimination number is sometimes also called the tragic number, for obvious reasons.
New to reading a ball-game display? See our guide to how to read a baseball scoreboard — R-H-E, line scores, the count, and everything else on the board.
Magic numbers across sports
The formula never changes — only the season length does. Switch leagues with the presets in the calculator above.
| League | Games | When magic numbers matter |
|---|---|---|
| MLB | 162 | The classic use. Magic numbers headline division and wild-card races through August and September. |
| NBA | 82 | Used for clinching playoff seeds and division titles down the stretch in March and April. |
| NHL | 82 | Tracks playoff clinching, though points (2 for a win, 1 for an overtime loss) complicate the exact maths. |
| NFL | 17 | Short season, so a magic number of 1 or 2 often locks up a division in the final weeks. |
Clinch and elimination glossary
| Term | Full Name | What It Means |
|---|---|---|
| M# | Magic Number | Combined leader wins and chaser losses needed to clinch. Games + 1 − leader's wins − chaser's losses. |
| E# | Elimination Number | The magic number from the chaser's side. Equals the leader's magic number over that team. |
| Tragic # | Tragic Number | Another name for the elimination number — the count that eliminates the trailing team at zero. |
| GB | Games Behind | How far the chaser trails the leader. ((leader W − chaser W) + (chaser L − leader L)) / 2. |
| Clinch | Clinch | Securing a division or playoff spot. Happens the instant the magic number reaches zero. |
| GR | Games Remaining | Games a team has left to play. Games in season − wins − losses. |
Track the whole race, not just one number
Create a free live standings board that updates as results come in and keeps the clinch picture current.
Auto-saves to the cloud
Update wins and losses as games finish. Your standings save automatically on any device.
Share with your league
Send a live link to your group chat. Everyone sees the same real-time standings and clinch scenarios.
Multiple scorekeepers
Give update access to co-commissioners so more than one person can keep the board current.
Embed on your site or Discord
Drop a live standings widget into your league website, blog, or Discord server.
Frequently asked questions
A magic number is the combined number of wins by the leading team and losses by the closest chasing team needed for the leader to clinch a division or playoff spot. Each leader win or chaser loss lowers it by one. When the magic number reaches zero, the spot is clinched and the race is over.
Use the formula: magic number = total games in the season + 1 − leader's wins − chaser's losses. For a 162-game MLB season, a leader with 90 wins over a chaser with 64 losses has a magic number of 162 + 1 − 90 − 64 = 9. Any nine wins by the leader or losses by the chaser, in any combination, clinch it.
The elimination number, often shown as E# in standings, is the magic number seen from the chasing team's side. It is the combined number of leader wins and chaser losses that would mathematically eliminate the chaser. A team's elimination number always equals the leader's magic number over them — when it hits zero, that team is out of the race.
In MLB standings the magic number (sometimes labelled M# or "Magic") shows how close a division or wild-card leader is to clinching. A magic number of 1 means a single leader win, or one more loss by the closest chaser, ends the race. It counts down through the final weeks of the pennant race in August and September.
Yes. The same formula works for any league — only the season length changes. The NBA and NHL play 82 games, the NFL plays 17, and MLB plays 162. Plug the right number of games into magic number = games + 1 − leader's wins − chaser's losses and the calculator above handles all four with one click.
A tragic number is the magic number from the losing side: the combined number of leader wins and chaser losses that will officially eliminate the chasing team. It is identical to the elimination number (E#). When a team's tragic number reaches zero, they can no longer catch the leader.
Each MLB team plays 162 regular-season games. That is the number used in the magic number formula — 162 + 1 − leader's wins − chaser's losses — and it is the default preset in the calculator above. The postseason and any tie-breaker games are not counted.
Enter the current standings in the calculator above for an instant magic number, or create a free live standings board on Leaderboarded that updates as results come in. A live board shows every team's wins, losses and position throughout the season so the clinch and elimination picture stays current for everyone.
Related calculators & resources
Create a free live standings board
Persistent standings that save automatically, support multiple scorekeepers, and embed on your league site.