Lineup chemistry: when five players beat the sum of their parts

Lineup chemistry is a five-man unit's ridge residual: its actual net rating per 100 possessions minus what our RAPM model predicts from the ten players on the floor. Positive means the unit outperformed the sum of its parts. Because the prediction already accounts for the opposing five, the number is opponent-adjusted by construction, and over small samples most of it is noise.

Seasons covered9 (2017-18 to 2025-26)Lineups reconstructed from play-by-play plus box scores
Minutes reconstruction errorWithin 0.5 secondsPer player, per game, against the official box score
UnitsPoints per 100 possessionsResidual against the RAPM prediction, opponent-adjusted by construction

What the model expects versus what actually happened

Our RAPM model is additive on purpose. It fits one offensive and one defensive number per player by ridge regression over every reconstructed possession, coding the five players on offense +1 and the five on defense -1, with points per 100 possessions as the target. Nothing in that setup has a term for two players enjoying each other's company. The model's prediction for any stint is plain arithmetic: add the five offensive ratings, subtract the five defensive ones.

Chemistry is what that arithmetic misses. Take every stint a particular five-man unit played, ask the model what it expected, compare that to what the unit actually did, and average the differences weighted by possessions. Statisticians call the leftover a residual. A positive residual is a surplus in points per 100 possessions: the unit scored more, or allowed less, than its own ten-man arithmetic said it should. A negative one means the unit underperformed its talent.

The important thing to hold onto is that a residual is a leftover, not a measurement of fit. It contains genuine chemistry. It also contains everything else the additive model could not see.

  • Predicted net rating = sum of the five offensive ratings, minus the sum of the five defensive ratings.
  • Residual = actual net rating minus predicted net rating, per 100 possessions.
  • Chemistry = that residual across all of the unit's stints, weighted by possessions.

Why it is opponent-adjusted for free

Raw five-man net ratings, the kind you get from a standard lineup table, tell you what happened without asking who it happened against. A backup unit that spends its minutes across from other backup units will look better than it is. A starting five that draws the other team's best group every night will look worse.

The residual sidesteps this without any extra machinery. The model's prediction already contains the five opponents, with a minus sign in front of them. Run into a strong opposing five and the predicted net rating drops accordingly, so simply matching that lower bar produces a chemistry near zero and beating it produces a positive one. Opponent adjustment is not a correction applied afterward. It falls out of how the number is defined.

The adjustment is only as good as the model's opinion of those opponents, and it covers who was on the floor rather than the circumstances they were in. Rest, travel, an injury that developed mid-game and garbage-time minutes all land in the residual along with everything else.

Most lineup chemistry is noise, and here is why

Five-man units accumulate possessions slowly. Even a team's most-used starting five plays a small share of the season intact, and the great majority of the combinations a team fields over a year never play enough possessions together to say anything about. Across a sample that short, a handful of contested threes falling or not falling moves net rating by more than any plausible chemistry effect could.

The Ringer's "Five Reasons NBA Lineup Data Is Lying to You" (April 2023) cites Kostya Medvedovsky's calculation that a five-man unit's offensive rating takes roughly 550 possessions to stabilize and its defensive rating roughly 850, thresholds most units never reach. The same piece makes the selection-bias point that matters most here: coaches stop playing units that lose. So the units with enough minutes to analyze are a survivorship-filtered sample that skews positive before you have computed anything.

We only publish chemistry for units with enough shared possessions, which is why some lineups on the site carry no chemistry value at all. That threshold suppresses the worst of the noise. It does not remove it. Read chemistry as a careful description of what already happened, not as a forecast of what will happen next.

What to conclude, and what not to

The honest use of this number is narrow, and narrower than the word "chemistry" invites. It is a flag, not a verdict.

  • Do use it as a pointer. A large residual over a real sample is a good reason to go watch the unit and look for a mechanism: spacing, a screening partnership, a defensive front that can switch everything.
  • Do take persistent negatives seriously. A unit that keeps coming in under its parts is a rotation problem worth naming, even if the number alone cannot tell you the cause.
  • Do weight by possessions. Between two similar values, the one built on more shared possessions is the one to trust.
  • Do not hand chemistry to a player. It belongs to the specific five. There is no honest way to split it among them, and appearing in a high-chemistry unit is not evidence that a player caused it.
  • Do not use it to plan a substitution. The residual describes a unit that existed. Swap one player and you have a different unit, whose residual you have not measured.
  • Do not read it causally. The residual is a catch-all holding real fit, coaching adjustments, shooting variance and anything our player ratings do not encode. The number cannot separate them for you.
  • Do not assume it repeats. Treat one season's chemistry as history, not as a property of the group.

Why almost nobody publishes this

Computing a lineup residual requires knowing the exact five players on the floor for every stint of every game. There is no public lineup feed for recent seasons, so we rebuild it from scratch out of play-by-play (stats.nba.com playbyplayv3) plus box scores, tracking every substitution and reconciling the result against the official record.

The check on that reconstruction is per-player minutes. Ours match the official box score to within half a second for every game, across nine seasons from 2017-18 through 2025-26. Chemistry inherits that coverage, because it is computed on the same stints.

The second requirement is a possession-level model whose prediction you can subtract, and that comes free once RAPM is already fit on the same data. The full specification for both, including the ridge setup and the honest caveats on single-season RAPM, is on the methodology page.

Where this sits in the public research

Whether NBA lineups exceed the sum of their parts is a real research question with real published work behind it, and it is worth reading rather than taking our word. Stephen Devlin and David Uminsky used spectral analysis to identify group contributions in NBA lineups. A separate line of work frames the problem as cooperative game abstractions, evaluating and rewarding teamwork directly. John Chen has written a clear practitioner walkthrough of lineup value models and where additivity breaks, and Danny Leese approached the same question by clustering players into archetypes and scoring the combinations.

The recurring theme across that work is that additive player ratings already explain a great deal of what a lineup does, and that the synergies left over are identifiable rather than dominant. A residual is one of the simplest ways to see that for yourself: if chemistry were enormous, RAPM would be a much worse model than it is.

The player ratings underneath our chemistry number are RAPM and IPM, which belong to the same family of prior-informed impact metrics as EPM (Taylor Snarr) and LEBRON (BBall Index). DARKO (Kostya Medvedovsky) reaches the same goal by a different route, a Bayesian box-score projection updated game by game. What is missing from the shelf is not the idea, it is a place to look the number up. The papers compute synergy on their own samples and stop, and the tools that publish lineup tables publish unadjusted net ratings. We compute the residual against our own RAPM fit and publish it for every qualifying five-man unit across all nine seasons. As far as we can tell, we are the only site that does.

Every number on Closing 5 is computed from play-by-play we reconstruct ourselves. See the methodology.