Picture this: the home side wins 1-0, yet the commentator insists the losing team created far more chances. Odd, right? That is exactly where expected goals, or xG, earns its place. Put simply, xG estimates how likely each shot was to become a goal, based on the situation it was taken in. Our team has spent a long time explaining this metric to readers who are new to football analytics, and the question we hear most is how expected goals xG is calculated. So we will walk through it properly, step by step, the way we would with a client who is just getting started.
What xG actually measures
xG gives every shot a value between 0 and 1. That value is the average probability that a shot of that type turns into a goal. The key word here is type. The number is not based on whether the ball actually went in. It is based on the circumstances at the moment the shot was struck: where it came from, how the striker was positioned, and what the defence looked like.
Add up the xG of every shot a team takes in a match and you get a rough sense of how many quality chances they created. A side with 2.4 xG and one goal has not necessarily played badly. It may simply have had a poor finishing afternoon, or faced a goalkeeper who had the game of his life. We find that clients who grasp this distinction stop judging matches purely on the scoreboard.
The model behind the number
There is no simple formula you can run on a calculator. Data providers build a statistical model and train it on thousands of past shots where the outcome is already known. The model keeps asking one question: when shots looked like this, how often did they go in? The answers become the probabilities you see on stats sites.
A penalty usually lands around 0.76 to 0.79, because history shows most penalties are scored. A speculative effort from well outside the box might only get a few percent. In our experience comparing outputs for clients, penalty values are among the most consistent across providers. Mid-range shots show the biggest spread, and that is where modelling choices really start to matter.
Keep one caution in mind. Providers do not share a single model, so two sites can display slightly different xG totals for the same match. Neither number is absolute truth. Treat each one as an estimate with a margin of error, and be wary of anyone who presents it to two decimal places as if it were a fact.
The inputs the model weighs
The model does not simply count shots. It looks at several factors, and shot location is usually the heaviest. Distance and angle to goal explain much of the probability. A shot from the centre of the penalty spot sits in a different universe from a shot from the byline at a shallow angle.
Body part matters too. A strike with the stronger foot, a weaker-foot effort and a header all carry different values, because accuracy and power vary between them. Headers from the same spot usually come out lower than a clean foot strike.
How the chance was created is recorded as well. Through balls that split the defence tend to produce high-quality chances. Crosses often leave the striker with a harder finish. Fast counter-attacks, where the defence has not yet reorganised, form another category the model tracks separately.
Set pieces and rebounds get their own estimates. Penalties, direct free kicks, corners and loose balls after a tackle all sit in different buckets. Some advanced models go further and factor in how many defenders stood between the shooter and goal, and how far off his line the goalkeeper was when the shot came.
Scoring one shot, step by step
Imagine a striker receives a through ball, runs into the box and finishes with his right foot from close range. The model rates this highly. The goal is open, the last defender has been beaten, and the shot is difficult to block.
Now picture a long effort from a narrow angle, tightly marked. Its xG will be low, and it would stay low even if it went in. Turn the same attempt into a header from a cross and the value shifts again. That level of detail is the real reason xG tells you more than a raw shot count ever could.
What xG cannot see
This is the part many people skip, and it is where most misunderstandings begin. xG does not know a player’s individual finishing talent. A striker who converts well above or below average is not fully captured by the number. Over a season, a clinical forward will often outperform his xG, while a wasteful one will fall short of it.
It also ignores goalkeeper quality in most setups. A brilliant save from a high-xG chance is recorded as a miss, and the keeper gets no credit for it. Pressure, fatigue and sudden tactical changes are invisible to the model as well.
Small samples deserve extra scepticism. Across a handful of matches, luck dominates. A team can carry a healthy xG advantage for three games and still be unlucky to be level on points. Read the trend over a longer stretch before drawing conclusions.
Reading xG in match reports
When you see xG in a report, treat it as a gauge of chance quality rather than a forecast. A side with the higher xG deserves attention, but that does not guarantee they will win next time out. It means they were reaching the positions that usually lead to goals.
Comparing total xG with actual goals is sensible, provided you remember they measure different things. Goals are the outcome; xG is the quality of opportunities. The gap between them usually reflects finishing efficiency and a healthy dose of luck. Sometimes that gap closes over time, and sometimes it simply reflects a team that finishes better than the model expects.
Judging several matches together beats drawing conclusions from one game. If you want to see how these numbers fit the wider picture of modern football, our piece on advanced metrics explain the recent scoring surge places xG within that broader context.
When the lower xG side still wins
This confuses plenty of fans. A side with the lower xG can still win, and that is perfectly normal. They may finish with great efficiency, or score from a moment no chance chart could have predicted. A deflected shot or a set piece from a poor position can decide a match without changing the underlying chance quality much.
So xG helps you look beneath the result, but it does not replace the scoreline. You need both perspectives, and only when they sit side by side does the full story become clear.
A rough guide to shot values
The figures below are approximate. Exact numbers depend on the model, so use them to build intuition rather than as fixed rules.
- Penalty: around 0.76 to 0.79
- Close-range shot inside the box: often somewhere between 0.3 and 0.6
- Long-range effort from outside the box: usually under 0.05
Headers sit in an interesting middle ground. From the same position, a header generally carries a lower value than a foot strike, mostly because of the accuracy and power trade-off. That is why a striker who scores many headers may look more or less efficient depending on how the model handles that split.
Mistakes to avoid when using xG
The most frequent error is treating xG as an exact forecast for a single match. It is an average probability, so any individual game can go either way. A side with 2.0 xG losing 3-0 is not a broken model; it is a normal outcome.
Ignoring differences between providers is another slip. Before you compare numbers, check where they come from and which model produced them. Mixing two sources without noticing can make a trend look like a change when it is really just methodology.
Judging a player purely on xG, without considering tactics, also leads people astray. A winger asked to cross constantly will look very different from a centre forward who gets into the box. Context is everything, and drawing long-term conclusions from a tiny sample is best avoided altogether.
Derbies, where xG and the scoreline part ways
Derbies are often where xG and the scoreline diverge most sharply. Emotions run high, the tempo is frantic, and a late goal can overturn everything, even when the chance chart says the other side deserved more. Open play gets scrappy, set pieces decide things, and the xG total can tell a story the final score quietly hides.
For a clear example of how a scoreline can obscure the run of play in exactly this kind of match, look at derby day drama late equalizer stuns title contenders. It shows why the result does not always reflect the balance of the game.
Frequently asked questions
Is xG accurate?
xG is a probability estimate, not an exact count. It is genuinely useful for comparing the quality of chances across teams and matches, but every figure carries a margin of error. Think of it as a well-informed estimate rather than a measurement.
Why do different stats sites show different xG numbers?
Each provider builds its own model from its own data, and the factors each one weighs can differ. Small discrepancies are normal, and they usually shrink when you look at longer samples.
Can xG predict match results?
xG is better at revealing long-term tendencies than forecasting one specific game. A single match still carries plenty of random variation, so use it as one input among several.
Is a player with high xG but few goals performing badly?
Not necessarily. He may be creating good chances but running into an excellent goalkeeper or a short run of bad luck. Over time that gap tends to narrow, though some players will always finish below their xG.
Where should a new fan start with xG?
Begin by understanding what xG measures and what it leaves out. Then compare the total xG with the scorelines of a few matches you already know well, and read it alongside other analysis rather than relying on any single number.



