Expected Goals (xG): What It Measures and What It Does Not
What an expected goals figure is, where it comes from, how it feeds a soccer projection, and the five ways it misleads.
A goal is a rare event, and the difference between a goal and a near miss is often a few inches. Over a handful of matches, goals tell you almost as much about luck as about quality. Expected goals exists to fix that.
What it is
Every shot gets a probability of being scored, based on shots like it in a large historical sample: where it was taken, the angle, the body part, whether it followed a cross or a through ball, how many defenders were between the shooter and the goal. A tap-in from six yards might be 0.7. A shot from 30 yards might be 0.02. Add up every shot a team took and you have its expected goals for the match.
A team with 2.1 xG created chances that would usually produce about two goals. Whether it actually scored zero or four is a separate question.
Where the numbers come from
Several providers publish xG. They use different shot models and give slightly different numbers for the same match, so figures from two sources should not be mixed. Vantis Lab pulls expected goals for the top European leagues from Understat and uses it as an input to team ratings.
How it feeds a projection
A team rating built on goals alone reacts to every lucky bounce. A rating built on xG reacts to chance quality, which is more stable and a better predictor of future goals. Vantis Lab's soccer ratings weight recent xG for and against, adjusted for opponent strength, and the rating gap between two teams produces the expected goals that go into the scoreline model. Read the Dixon-Coles article for the next step.
Where it misleads
- Game state. A team leading 2-0 after twenty minutes sits back and concedes shots it does not care about. Its xG against looks bad; its performance was not. Always look at the match context.
- Counter-attacking teams. Sides that score from fast breaks take few shots of high quality. Season xG understates them a little and overstates teams that pile up low-value shots against packed defenses.
- Small samples. Three matches of xG is better than three matches of goals, but it is still three matches. Regress toward the longer sample.
- Penalties. One penalty adds about 0.76 xG from a single event that has little to do with open-play quality. Many analysts strip penalties out, and you should know whether your source has.
- Shot quality inside the model. Not all 0.1 shots are equal. A model that cannot see the goalkeeper's position or the pressure on the shooter will misjudge some chances. Providers that use tracking data do better here.
The right use
Use xG to rate what a team is doing, not to re-grade what happened. A team that won 1-0 with 0.4 xG against 2.3 got lucky. That does not change the result. It changes what you should expect next week. That is the whole value of the number.
Questions
What is expected goals?
The sum, over every shot a team takes, of the probability that a shot like it is scored. A team with 1.8 expected goals created chances that a typical team would convert into about 1.8 goals.
Is xG better than goals for rating a team?
Over a short sample, yes. Goals are noisy and xG strips out finishing luck and goalkeeping luck. Over a full season the two converge.
Does xG include penalties?
It depends on the source. A penalty is worth about 0.76 xG. Many analysts remove penalties when judging open-play quality.