What expected goals (xG) actually measures in football
A guide to the statistic behind the number you see next to a scoreline: what it counts, how the probability is built, and where it stops being useful.

Expected goals, usually written as xG, is a statistic that assigns each shot in a match a probability of becoming a goal, according to Wikipedia. Add up the probabilities of every shot a team or player had, and the total is their xG for that match.
The idea is to estimate how many goals a side would typically score from the chances it created, separately from whether the players actually finished them on the day, Wikipedia states.
xG figures come from statistical or machine-learning models trained on large sets of historical shot data. Different providers build these models differently: some rely only on event data, others add positional or contextual information, and they do not all weigh the same shot features. Wikipedia notes that this means xG numbers published by different sources are not necessarily directly comparable with one another.
How the probability is built
Early academic work set out which factors matter. A 2004 study by Jake Ensum, Richard Pollard and Samuel Taylor, examining 930 shots and 93 goals across 37 matches from the 2002 World Cup, used logistic regression to identify five factors with a significant effect on whether a shot succeeded.
Those were: distance from goal, angle to goal, whether the shooter was at least a metre from the nearest defender, whether the shot followed a cross, and the number of outfield players between the shooter and the goal, per Wikipedia.
A later paper by the same authors, combining data from the 1986 and 2002 World Cup competitions, narrowed this to three significant factors: distance, angle, and proximity to the nearest defender.
Mathematically, each shot is treated as a trial with an estimated scoring probability. If a shot has a probability of 0.20, a second has 0.10 and a third has 0.40, the total xG for those three shots is 0.70, meaning a team would be expected to average 0.70 goals from similar chances over many repetitions, Wikipedia explains using that worked example.
That is distinct from the chance of scoring at least once from the same three shots, which the source's illustrative calculation puts at roughly 0.14, or about 14 per cent, under an assumption that the shots are independent of each other.
The term's origins are debated. Vic Barnett and Sarah Hilditch used the phrase in a 1993 paper on artificial pitch surfaces. Howard Hamilton proposed an 'expected goal value' for any action that might lead to a goal in 2009, and Sander Itjsma described a related method in 2011 for valuing chances created during a match, Wikipedia records.
The same approach was later applied to ice hockey. Brian Macdonald presented a paper using 'expected goals' at the MIT Sloan Sports Analytics Conference in 2012, offering an alternative to raw goal counts for judging performance in a low-scoring sport.
What xG does not tell you
Because xG is built from a model's assumptions about shot quality, it does not capture everything that happens around a shot. Wikipedia's account of the method notes it can help distinguish a team that lacks quality chances from one that has a finishing problem, and can be used to evaluate defensive or goalkeeping performances.
It can also be used to track how the balance of play shifted during a match, in terms of chance quality rather than just the number of attempts, per the same source.
What the figure does not do is tell you what actually happened in a given game. A probability of 0.70 goals from a set of shots does not mean a team was guaranteed to score close to that; real matches still turn on the specific shots taken and saved on the day.
xG also depends on which model produced it, so a total from one provider cannot be assumed to mean the same thing as a total from another, given the differences Wikipedia describes in data sources and shot features used across implementations.