Why scorelines mislead
Ever watched your side dominate for ninety minutes and lose 1-0? Goals are scarce. Top-level matches average under three, so a good team can draw a blank and a bad one can bag two. A few results won’t tell you who’s actually playing well.
Shots look like the fix, at about 25 a match, but they’re not all equal. The three-metre tap-in and the 35-metre hopeful punt each get logged as a single shot.
That’s the gap xG fills. It scores every shot from 0 to 1, the share of similar shots that went in historically. Sum a whole match and the total captures quantity and quality of chances in one figure.
Where the number for each shot comes from
Modellers feed hundreds of thousands of recorded shots into a model, along with the outcome and the circumstances of each. The inputs that matter most:
- Distance to goal. The biggest driver. Every extra metre cuts the odds sharply.
- Angle. How much of the goal the shooter can see from where he stands.
- Body part. From the same spot, headers go in far less often than foot shots.
- Type of play. Was it open play, a direct free kick, a corner, a counter or a penalty?
- Type of assist. Through balls and cut-backs create better chances than crosses.
Richer models also track goalkeeper and defender positions, pressure on the shooter and the height of the ball.
Feed in a new shot and out comes a probability. The model has no idea who took it. It’s the chance being rated, never the shooter.
What typical shots are worth
| Situation | Approximate xG |
|---|---|
| Penalty | 0.76–0.79 |
| One-on-one with the goalkeeper, central, 10 m | 0.30–0.45 |
| Shot from the centre of the six-yard box | 0.35–0.60 |
| Header from the penalty spot from a cross | 0.08–0.12 |
| Shot from the edge of the penalty area, central | 0.06–0.10 |
| Direct free kick, 22 to 25 m | 0.05–0.08 |
| Shot from 30 m or more | 0.01–0.03 |
| Average of all shots | about 0.10–0.12 |
Ranges exist because providers’ models disagree; the exact figure depends on who you ask.
One match, worked through
Imagine a team that takes 12 shots.
| Shots | xG each | Total |
|---|---|---|
| 1 penalty | 0.78 | 0.78 |
| 2 close-range chances | 0.35 | 0.70 |
| 3 shots inside the area | 0.12 | 0.36 |
| 6 shots from outside the area | 0.04 | 0.24 |
| 12 shots | 2.08 |
On those chances the team “expected” about two goals, which is not the same as promising exactly two. To find the chance of a blank, multiply the odds that each shot misses:
(1 − 0.78) × (1 − 0.35)² × (1 − 0.12)³ × (1 − 0.04)⁶ = 0.22 × 0.4225 × 0.6815 × 0.7828 = 5.0%.
So roughly one match in twenty with this exact set of chances finishes goalless. Take the penalty away and the same calculation gives 22.5%.
Repeat the arithmetic for each possible scoreline, and for two teams’ shot lists, each possible result. That’s how the “deserved result” tables you see online are built.
What season totals show
Spread over a season, the noise settles and xG starts to say something.
- xG difference (xG for minus xG against), taken per match, is one of the best simple guides to what happens next. It forecasts better than goal difference early in a season, and better than points.
- Goals minus xG tells you whether a team has been finishing better or worse than expected. Big gaps, either way, tend to close.
- xG per shot reveals style. Few high-value shots means a different game plan from many long-range tries.
- Non-penalty xG strips out penalties, which are worth a lot but arrive unevenly.
A club in fourth place whose xG difference looks like a tenth-placed team’s has been lucky and is a fair bet to drop. A bottom-half club with a strong xG difference is the opposite: a fair bet to rise.
Using it on players
A striker’s xG tells you how good his chances were, and his goals tell you what he made of them. Regularly arriving where high-value chances fall is a skill in itself, and it carries over from season to season better than finishing above xG does.
Expected assists (xA) hands the passer the xG of the shot that followed, scored or not. Post-shot xG (expected goals on target) values a shot once it has been hit, based on where in the frame it was going. Goalkeepers are rated with it, by comparing goals conceded against the quality of shots faced.
Mistakes people make
- Reading one game’s xG as the verdict. “We won the xG 1.8 to 0.9” describes the chances, not a hidden real score.
- Forgetting the scoreline’s effect. A side that goes 2-0 up early drops deep and allows low-value shots, so the opponent’s xG climbs even though the leaders played fine.
- Summing xG inside a single move. A shot, a rebound and a second rebound can add past 1.0 although only one goal can come out of the move. Good models adjust for that.
- Forgetting what isn’t a shot. A ball that zips across an empty goal mouth untouched scores zero xG.
- Mixing sources. Numbers from two providers can’t be swapped.
Keep in mind that xG is a description of how teams performed. Nobody can use it to call a single match with certainty.
Questions people ask
What is xG in football?
What xG does a penalty have?
Is it possible to win while creating less xG?
Why does xG differ between sites for the same game?
If a player scores above his xG, is he a great finisher?
Where the numbers come from
- Opta Analyst (Stats Perform): What is expected goals (xG)?
- StatsBomb: Introducing xG and how the model works
- Rathke A. An examination of expected goals and shot efficiency in soccer. Journal of Human Sport and Exercise 12(2), 2017
- Lucey P, Bialkowski A, Monfort M, Carr P, Matthews I. Quality vs quantity: improved shot prediction in soccer using strategic features from spatiotemporal data. MIT Sloan Sports Analytics Conference, 2015