Skip to content

Expected goals (xG)

also: xG · xGF · xGA · shot quality

The sum of every shot's probability of becoming a goal, given where and how it was taken.

Formula
xG = Σ P(goal | distance, angle, shot type, strength, rebound)

Each unblocked shot is scored for quality (how far out, at what angle, with what kind of shot, at what strength, and whether it came off a rebound) and those probabilities are added up. A team's expected goals is what an average finisher would have scored on the chances it created.

The model here is binned rather than a regression: shots are grouped by those five features and each bin uses its own observed goal rate, shrunk toward coarser bins where the sample is thin. Every number in it is a goal rate you can look up, which matters more for a figure that gets published than a fraction of a point of accuracy.

It is calibrated within each season, so the league's expected goals equal the goals the league actually scored that year. Scoring environments move, and without that a team from a low-scoring season carries an era effect before it plays a game.

The common mistake

Comparing a team's expected goals against with the sum of its goalies'. Team xG here is 5-on-5 only; goalie xG covers every strength, so the goalie figure is roughly 40% larger. Both are right and they answer different questions.

Where to get it

Related

Expected goals (xG) from the API

500 free credits every month, no card. REST or MCP.

Get a free key