Oakland Athletics, 2002 season. A data investigation

Moneyball
by the numbers

The book and the film tell it as a story about a stubborn general manager. Underneath, it is a statistics problem with a clean answer. This page rebuilds that answer from the raw season data: every team, every salary, every game of 2002.

2002PayrollWinsCost per win
The story in brief

How did a team with a third of the Yankees’ payroll win just as many games?

In 2002 the Oakland Athletics had the third-lowest payroll in baseball. They had just lost their stars Jason Giambi and Johnny Damon to richer clubs. They won 103 games anyway, exactly as many as the New York Yankees, who spent three times as much.

Michael Lewis told the story in the 2003 book Moneyball, and Brad Pitt played general manager Billy Beane in the 2011 film. The idea behind it was simple. Baseball was paying for the wrong statistics, so the skills that really win games were on sale.

This page checks that idea against the real numbers. It rebuilds the argument step by step from the season data, and it also looks at what the book and the film left out.

Nine chapters · about 15 minutes · every chart is interactive

1
First inning

An unfair game

In 2002 the New York Yankees spent $125.9 million on players. Oakland spent $40.0 million, 28th of 30 teams. Both won 103 games.

Money did matter that year. Across the league, payroll and wins had a correlation of 0.44. Rich teams bought wins on average, and the bottom left of the chart is crowded with cheap teams that lost. Oakland sits alone in the top left corner. The question Michael Lewis asked is the right one: how does a team end up there, and do it three years running?

Payroll against wins, all 30 teams, 2002
Hover or tap a dot for the team.
OaklandNY YankeesOther playoff teamsMissed playoffs
Dashed line: least-squares fit. Payroll is the sum of player salaries in the Lahman database.

Beane's A's could not win an auction for a star. So the job was to find wins the auction was pricing wrongly. That needs two things: a model of what actually produces wins, and proof that the market pays for something else. The next five innings build both.

2
Second inning

Set the target in runs

Paul DePodesta (Peter Brand in the film) started from the end. In the book he works out that a team needs about 95 wins to make the playoffs, that 95 wins takes outscoring opponents by about 135 runs, and that the 2002 roster should score 800 to 820 and allow 650 to 670.

The tool behind this is Bill James's Pythagorean expectation. Wins are hard to predict directly. Runs are not, and runs convert to wins at a steady rate.

Win% ≈ RS² / (RS² + RA²)

I checked it on 1,038 team seasons from 1962 to 2002. The formula predicts a team's final win total with a typical error of 4.0 wins. A plain linear version works just as well: every extra 9.6 runs of run differential is worth one win. Plug in DePodesta's +135 and you get 81 + 135 / 9.6 = 95.1 wins. His arithmetic holds exactly.

Run differential against wins, every team season 1990 to 2002
Wins scaled to a 162 game season. The 2002 A's and DePodesta's pre-season target are marked.
Dashed line: wins = 81 + run differential / 9.56, fitted on 1962 to 2001.

The actual 2002 A's scored 800 and allowed 654. Both inside the predicted range. That differential is worth 97 wins. They won 103, so about six wins came from sequencing and luck, including a 20 game streak with several one-run finishes.

Try it: the Pythagorean calculator
3
Third inning

What actually makes runs

If the target is 800 runs, the next question is which hitting statistic best predicts runs. Baseball had paid for batting average for a century. Switch between the statistics below and watch how tightly each one tracks scoring.

Team statistic against runs scored per game, 1990 to 2002

Over the full 1962 to 2001 sample (1,008 team seasons, everything a front office could have known before 2002), the correlations with runs per game are: batting average .84, on-base percentage .90, slugging .93, OBP plus slugging .96, stolen bases .14. Stolen bases, the thing scouts called "speed", tell you almost nothing about scoring.

Put on-base and slugging in one regression and you get a working run model:

Runs per game = −4.82 + 16.03 × OBP + 10.16 × SLG   (R² = 0.93)

So a point of on-base percentage is worth about 1.6 times a point of slugging. In the book DePodesta argues for three times. My regression on public data does not get that high, but the direction is the same and it is the part the market missed: OBP counts for more than slugging, and both beat batting average.

Try it: build an offense
The run model above, applied over 162 games. Wins assume Oakland's 654 runs allowed.
Start position is the real 2002 A's (.339 / .432). The model says 810 runs. They scored 800.
4
Fourth inning

Outs are the currency

Why does on-base percentage matter so much? Because an inning ends after three outs and nothing else. OBP is simply the share of plate appearances that do not make an out. This is also why the A's almost never bunted or stole: both risk or spend outs.

The run expectancy table makes this concrete. It gives the average number of runs a team scored from each situation to the end of the inning, measured over every MLB game from 1999 to 2002. Click the bases and set the outs.

Run expectancy explorer
expected runs, rest of inning
Source: Tom Tango's run expectancy matrix, 1999 to 2002. League averages, so a weak hitter bunting loses a little less than shown.

With a runner on first and nobody out, a team expects 0.953 runs. A successful sacrifice bunt moves it to a runner on second with one out: 0.725. The "productive" play costs a quarter of a run. A steal of second has to succeed about 74% of the time just to break even. The 2002 A's stole 46 bases, the fewest in baseball, and drew 609 walks, sixth most.

5
Fifth inning

Replacing Giambi in the aggregate

After 2001 Oakland lost Jason Giambi (to the Yankees for seven years and $120 million), Johnny Damon and closer Jason Isringhausen. No single affordable player could replace Giambi's .477 on-base percentage. The move in the book and the film: stop trying. Replace the average of three lineup spots instead.

Three lineup spots, before and after
On-base percentage, from the season batting lines. Bars start at zero.
Jeremy Giambi was traded to Philadelphia for John Mabry in late May 2002 (Mabry: .322 OBP, .523 SLG in 211 PA). Justice's $7.0M is his listed salary; per the book the Yankees were covering half of it.

The three outgoing spots averaged a .364 OBP, exactly the figure quoted in the book. The three replacements averaged .380. Hatteberg, a catcher who could no longer throw, was taught first base and got on base at a .374 clip for $900,000. Giambi earned $10.4 million in New York that year.

The bullpen got the same treatment. Isringhausen's 34 saves left; Billy Koch arrived by trade and saved 44. Chad Bradford, the submarine pitcher nobody wanted because of how he looked, threw 75 games with a 3.11 ERA for $235,000.

6
Sixth inning

The market had the price wrong

A model is only an edge if everyone else is pricing by a different one. Here is every 2002 hitter with at least 350 plate appearances: what he produced, and what he was paid. Find the cheap dots on the right.

2002 hitters: production against salary
OaklandSearch matchEveryone else (235 hitters)
Salary on a log scale. Much of the spread is service time: players in their first three years earn near the minimum whatever they hit.

To test the pricing properly I ran the regression economists Jahn Hakes and Raymond Sauer made famous: explain each hitter's salary from his previous season's on-base percentage and slugging, controlling for playing time and contract status. The coefficient is what the market paid for each skill.

What teams paid for on-base percentage and for slugging, by season
Salary increase associated with 10 extra points of the statistic. Vertical bars show one standard error.
On-base percentageSlugging
My replication on Lahman salaries, about 350 hitters a year with 130+ PA. The shaded span is after the book came out in 2003. Estimates are noisy; 2000 is an outlier.

In four of the five seasons before the book, the market paid close to nothing for on-base percentage once slugging was accounted for, even though OBP is the more valuable skill. From 2003 to 2006 the price of OBP was three to four percent of salary per 10 points, every year. Hakes and Sauer's published study found the same correction and concluded the inefficiency was real and that it closed once the knowledge spread. Beane was buying a dollar for fifty cents, and then the sale ended.

7
Seventh inning

The season and the streak

The film's low point is real. On May 23 the A's were 20 and 26. From there they went 83 and 33, a .716 pace. The streak ran from August 13 to September 4: 20 straight wins, an American League record at the time, outscoring opponents 141 to 65.

Games above .500 through the 2002 season, AL West contenders
Every game from the Retrosheet game logs. The gold band is the 20 game streak.
OaklandAnaheimSeattle
The 20 wins, game by game
Game 20: Oakland led Kansas City 11 to 0, gave all of it back, and won 12 to 11 on Scott Hatteberg's pinch-hit home run in the ninth.

One caution the numbers themselves offer. A 97 win team by run differential will occasionally win 20 in a row and finish with 103. The streak is the most cinematic part of the season and the least analytical. The method shows up in the 800 and the 654, which landed where DePodesta said they would.

8
Eighth inning

What the film left out

The movie gives you Hatteberg, Justice and Bradford. It barely mentions the players who produced most of the value. Oakland allowed the sixth fewest runs in baseball, and three young starters did most of that for almost no money.

2002 A's pitchers
2002 A's hitters by Runs Created
Bill James's basic formula: (H + BB) × TB / (AB + BB).
Tagged players are the bargain pickups featured in the book. Tejada was the AL MVP; Zito won the Cy Young Award.

Miguel Tejada and Eric Chavez created 220 runs between them for $5.75 million. Zito, Hudson and Mulder went 57 and 21 across 675 innings for $1.97 million combined. All five were developed by the club and were still years from free agency, so their pay was capped by the league's rules.

That is the honest reading of the data. The biggest inefficiency Oakland exploited was cheap pre-free-agency talent, much of it drafted and developed with traditional scouting. The OBP bargains were real, and they were the margin on top.

9
Ninth inning

Aftermath

Oakland lost the 2002 Division Series to Minnesota in five games. It was the third of four straight years they lost a first-round series three games to two. That looks like a flaw in the method until you do the arithmetic: a team that wins 55% of its games against a given opponent wins a best-of-five only 59% of the time. Short series are close to coin flips, and 162 games are not.

Cost per win: Oakland against the league average
Payroll divided by wins, 1995 to 2016.
OaklandMLB average
Oakland, season by season

From 2000 to 2003 the A's averaged 98 wins while ranking 23rd to 29th in payroll, paying about half the league rate per win. Then the edge was copied. Boston hired Bill James in November 2002, tried to hire Beane, hired Theo Epstein instead, and won the 2004 World Series with a large payroll and the same ideas. By 2007 Oakland was paying the league rate per win.

The lasting lesson is the procedure. Define the outcome (wins). Find what drives it (runs, then outs). Measure what the market pays for instead. Buy the difference, and expect the difference to close.

+
Extra innings

Dig in yourself

The formulas

OBP = (H + BB + HBP) / (AB + BB + HBP + SF)
SLG = Total bases / AB    OPS = OBP + SLG
Pythagorean Win% = RS² / (RS² + RA²)    (best fit exponent on 1962–2002: 1.85)
Runs Created = (H + BB) × TB / (AB + BB)

Five things to test

  1. Redo the third inning for the last ten seasons. Does OBP still beat batting average by the same margin now that strikeouts and home runs dominate?
  2. Find the 2002 teams that beat or missed their Pythagorean record by the most (Minnesota +7, Boston −8). Check their record in one-run games.
  3. Rebuild the run expectancy table for a recent season and recompute the steal break-even rate. The 2023 rule changes moved it.
  4. Look up the 2002 draft, the one in the book. Nick Swisher played 1,527 MLB games and Joe Blanton won 101. Jeremy Brown, the catcher the scouts laughed at, played 5.
  5. Pick any current low-payroll winner and ask what the market underprices today. Defense, pitch framing and pitch design have all had their turn.

Where the data lives

Method: all figures computed from the Lahman database (teams, batting, pitching, salaries) and the Retrosheet 2002 game log. Correlations and regressions are ordinary least squares on team seasons 1962 to 2001 unless a chart says otherwise. Salary totals cover players listed in the Lahman salary table and can differ slightly from other payroll sources. Retrosheet data is used under its terms: the information used here was obtained free of charge from and is copyrighted by Retrosheet, www.retrosheet.org.