Skip to content

Learning centre · Guide 03

Expected goals (xG)

What an xG number describes, how it is built and what it cannot tell you.

Written by Gareth Burch · All learning guides

Expected goals (xG) estimates the probability that a particular shot becomes a goal, based on features of the chance. Add the shot probabilities together and you get a team’s xG for that match. It measures chance quality, not goals scored or a guaranteed future return.

A simple sum

ChanceShot xG
Close-range chance0.40
Central effort0.25
Difficult angle0.10
Total0.75 xG

How a shot gets an xG value

A model is trained on past shots and their outcomes. Depending on the data available, inputs can include distance, angle, body part, assist type, defensive pressure and whether the attempt followed a set piece. The model maps those features to a probability between zero and one.

A shot with an xG of 0.20 means that comparable chances in the model’s training data were converted about one time in five. It does not mean the player has exactly a one-in-five chance in every context.

Adding chances up

Suppose a team takes three shots with xG values of 0.10, 0.25 and 0.40. Their total is 0.75 xG. That is the sum of estimated shot probabilities; it is not a prediction that the team will score three-quarters of a goal.

Match xG can help describe whether a side created chances, but different providers may use different data and model definitions. Compare like with like and check what is included.

Limits and interpretation

xG is only as informative as its inputs and model. It may omit context a viewer considers important, and small samples can swing sharply. A high xG total in one game does not prove a team will score in the next one.

For a prediction method, xG can be one signal alongside other evidence. It should not be presented as certainty or as a stand-alone measure of performance.