Log5 Method Calculator
Sports analytics
- Log5 formula: team A wins 58.0% of its games and team B 47.0% of theirs; Bill James's log5 combines them as (a - a x b) / (a + b - 2ab).
- Substitution: (0.580 - 0.2726) / (0.580 + 0.470 - 0.5452) = 0.6090 for team A in a head-to-head meeting.
- Complement: team B takes the remaining 39.10%, and the two probabilities exhaust the matchup by construction.
- Log5 result: team A wins 60.90% of meetings - one expected A win every 1.64 meetings between these two records.
Two winning percentages walk into a matchup, and the question is what single probability comes out. If a team that wins 58 percent of its games meets a team that wins 47 percent of theirs, the answer is not the average and not the difference - because both records were compiled against average opposition, and neither team is average opposition for the other.
Bill James's log5 method, from his Baseball Abstracts of the early 1980s, fuses the two records through their odds: P = (a - a x b) / (a + b - 2ab). For the 58 and 47 percent teams it gives team A a 60.90 percent chance in the first worked example, team B the complementary 39.10 percent, and an expected wait of 1.64 meetings per A win. Despite the name, this algebraic form uses no logarithms - the name survives from James's original odds-ratio derivation.
This calculator takes both teams' winning percentages and returns the full matchup split - A's probability as a percentage and a decimal, B's complement, and the meetings per expected A win.
Worked examples
Log5 for a 58 against 47 percent matchup
(58 · 47)
| Team A win probability (%) | 60.90 |
| Team B win probability (%) | 39.10 |
| Team A win probability (decimal) | 0.6090 |
| Meetings per expected A win | 1.64 |
Log5 for a mismatch
(65 · 40)
| Team A win probability (%) | 73.58 |
| Team B win probability (%) | 26.42 |
| Team A win probability (decimal) | 0.7358 |
| Meetings per expected A win | 1.36 |
Log5 for identical teams
(52 · 52)
| Team A win probability (%) | 50.00 |
| Team B win probability (%) | 50.00 |
| Team A win probability (decimal) | 0.5000 |
| Meetings per expected A win | 2.00 |
Two records, one matchup
The formula's logic is a correction for context. Team A's 58 percent was earned against the league, whose average member wins 50 percent; against team B, a weaker-than-average opponent at 47 percent, A's chance rises above its own record to 60.90 percent. Log5 prices the opponent: your record, re-based against this specific rival's record, through the odds each record implies.
The cleanest way to see the mechanism is the odds route the calculator's anchor uses: convert each percentage to odds against the field, take their ratio, and convert back. The algebra lands on the same (a - ab)/(a + b - 2ab), which is why the formula, for all its unassuming looks, is exactly Bayes-flavoured reasoning about relative strength rather than a curve fitted to results.
| Matchup | Team A | Team B | Log5 for A |
|---|---|---|---|
| Edge vs weaker side | 58 percent | 47 percent | 60.90 percent |
| Mismatch | 65 percent | 40 percent | 73.58 percent |
| Dead even | 52 percent | 52 percent | 50.00 percent |
The sanity checks log5 passes
Two checks validate any matchup formula, and log5 passes both by construction. Equal teams must split the matchup evenly: the third worked example's identical 52 percent records return exactly 50.00 percent, not 52. And a team facing a precisely .500 opponent must keep exactly its own percentage, because a .500 opponent is the average context the record was compiled against. Formulas built by averaging or differencing fail one check or the other; log5's odds structure is what makes both hold at once.
The mismatch example shows the formula's dynamic range: 65 against 40 percent produces 73.58 percent, a strong but not overwhelming edge - the weaker team still wins more than a quarter of meetings (26.42 percent), which matches how often substantial underdogs actually win single games, and is the reason single-elimination formats produce their famous upsets on schedule.
- Enter both percentages from the same window - full season against full season, or current form against current form; mixing windows distorts the matchup.
- Log5 assumes the records were earned against comparable average opposition; cross-league comparisons need a schedule-strength adjustment first.
- The two probabilities always sum to 100 percent by construction - there are no draws in the model's world, so split draw probability manually in sports that have them.
- Despite the name, the algebraic form uses no logarithms; the name is a fossil of James's original derivation.
- The same fusion works for any two strength rates - win rates, conversion rates, Elo-derived percentages.
Worked examples
Example 1: Team A winning percentage 58; Team B winning percentage 47. Team A win probability (%) = 60.90. Supporting values: Team B win probability (%) 39.10; Team A win probability (decimal) 0.6090; Meetings per expected A win 1.64. Log5 formula: team A wins 58.0% of its games and team B 47.0% of theirs; Bill James's log5 combines them as (a - a x b) / (a + b - 2ab). Substitution: (0.580 - 0.2726) / (0.580 + 0.470 - 0.5452) = 0.6090 for team A in a head-to-head meeting. Complement: team B takes the remaining 39.10%, and the two probabilities exhaust the matchup by construction. Log5 result: team A wins 60.90% of meetings - one expected A win every 1.64 meetings between these two records.
Example 2: Team A winning percentage 65; Team B winning percentage 40. Team A win probability (%) = 73.58. Supporting values: Team B win probability (%) 26.42; Team A win probability (decimal) 0.7358; Meetings per expected A win 1.36. Log5 formula: team A wins 65.0% of its games and team B 40.0% of theirs; Bill James's log5 combines them as (a - a x b) / (a + b - 2ab). Substitution: (0.650 - 0.2600) / (0.650 + 0.400 - 0.5200) = 0.7358 for team A in a head-to-head meeting. Complement: team B takes the remaining 26.42%, and the two probabilities exhaust the matchup by construction. Log5 result: team A wins 73.58% of meetings - one expected A win every 1.36 meetings between these two records.
Example 3: Team A winning percentage 52; Team B winning percentage 52. Team A win probability (%) = 50.00. Supporting values: Team B win probability (%) 50.00; Team A win probability (decimal) 0.5000; Meetings per expected A win 2.00. Log5 formula: team A wins 52.0% of its games and team B 52.0% of theirs; Bill James's log5 combines them as (a - a x b) / (a + b - 2ab). Substitution: (0.520 - 0.2704) / (0.520 + 0.520 - 0.5408) = 0.5000 for team A in a head-to-head meeting. Complement: team B takes the remaining 50.00%, and the two probabilities exhaust the matchup by construction. Log5 result: team A wins 50.00% of meetings - one expected A win every 2.00 meetings between these two records.
Log5 beyond baseball
James built log5 for baseball, but the structure - two rates, each measured against a common field, fused into a head-to-head probability - recurs wherever strengths are quoted as percentages. Election forecasters fuse candidate strength the same way; chess and tennis rating systems are cousins through the odds form; even A/B testing borrows the shape when two conversion rates must be turned into the probability that one variant beats the other in a fresh contest.
The transfer carries the assumption with it: the percentages must be honest measures against a comparable field. A win rate compiled in a weak league is not the same currency as one compiled in a strong league, and log5 will fuse them at face value, producing a precise answer to a question the inputs never asked. The formula is exact; the scouting is on you.
Log5 method in practice
The everyday uses are bracket mathematics and honest expectations. A playoff series probability is built by raising the single-game log5 figure through the series format; a fan's intuition that 'we win six of ten against them' can be checked against the 60.90 percent the records actually imply; a broadcaster's matchup graphic can be audited in one line of arithmetic.
That audit is the calculator's template use: 58 and 47 must return 60.90 and 39.10, with the decimal 0.6090 and 1.64 meetings per expected win. Any spreadsheet that fuses records differently - averaging them, differencing them - will fail the equal-teams check at 52 against 52, which is the fastest possible exposure of a wrong formula.
Reading the three examples
The first example is the formula's home turf: two good teams, a modest edge, and an answer (60.90 percent) close to but meaningfully above the stronger team's own record - because the opponent is below average, the record understates the matchup edge, and log5's whole job is that correction.
The other two examples are the boundary markers. The mismatch at 73.58 percent shows log5 refusing to overstate dominance - a 25-point gap in records buys less than three-to-one odds. The dead-even 50.00 shows it refusing to invent an edge from identical records. A formula that behaves at the boundaries can be trusted in the middle, which is where matchups actually live.
Series formats amplify the single-game figure in ways worth computing rather than guessing: a team with a 60.90 percent single-game edge is a solid favourite across a long series, yet the same edge in a one-game playoff leaves the underdog winning nearly four times in ten, which is the arithmetic behind the eternal argument about whether short series crown the best team. Log5 supplies the honest input to that argument - the per-game probability - and the format, not the formula, decides how much it gets amplified.
FAQs
What win probability does the first example give team A?
60.90 percent against team B's 39.10 percent - the 58 percent team's edge grows because its 47 percent opponent is below the average context its record was compiled against.
What probability remains for team B?
39.10 percent: the complement, since the two probabilities exhaust the matchup by construction.
What decimal probability does team A hold?
0.6090 - the same 60.90 percent in the decimal form that series-probability and odds calculations consume.
What probability does the mismatch example give?
73.58 percent for the 65 percent team over the 40 percent team - a strong edge that still leaves the underdog 26.42 percent, as single-game reality requires.
How many meetings per expected A win in the first example?
1.64 meetings - the reciprocal of the 0.6090 probability, the expected wait between A wins in a long run of these matchups.
What split do the identical teams produce?
50.00 percent each: two 52 percent teams are, to log5, the same team, and the formula's refusal to invent an edge is its basic sanity check.