Magic Number & Games Behind Calculator

Enter two win-loss records and the games each team has left. You get the games behind, both winning percentages, the maximum wins each team can still reach, and the magic number or elimination number that decides the race. Everything is worked out in your browser; nothing is uploaded, stored or sent anywhere.

The race

First team

Shown in the results; leave blank for a neutral label.

Second team

Shown in the results; leave blank for a neutral label.

A decided tiebreaker in the first team's favour lowers the magic number by one, because finishing level is then enough.

Race result

Games behind
not computedof the leading team
Magic number for the first team
not computedwins by the first team plus losses by the second
Elimination number for the second team
not computedthe same count, read from the chasing side
Most wins still possible
not computedif every remaining game is won

Both records

Winning percentage is wins divided by games played; games behind counts a leading team as a dash.
TeamW-LWin pctGames leftMost winsGB

    How this is computed

    • Calculate to see the arithmetic.

    What this does not do

    • It reads win-loss records only. Leagues that award points for ties or overtime losses, or that rank by goal difference, need their own table; nothing here converts those results.
    • It assumes these two teams are the only contenders and that the title is decided by win-loss record. Head-to-head and other tiebreakers enter only through the tiebreaker choice, which adds or drops the one game that separates a tie from a clear lead.
    • Games behind treats an unplayed game as half a win and half a loss, so records with an unequal number of games played can look closer or further apart than their winning percentages suggest.
    • It keeps no schedule and stores nothing: reloading the page clears your entries.