What Is xG (Expected Goals)?
What Is xG (Expected Goals)? Explained Simply
You’ve likely encountered it already. A match ends 1-0, and beneath the score someone has shared a graphic showing 2.4 to 0.5. Or a commentator claims a team “deserved more” based on the game. Or a friend who watches far too much football tells you a striker is “due a hot streak” because his xG is soaring. So what exactly is xG, and does it genuinely help, or is it simply another metric people argue over? Let me walk you through it the way I’d explain it over coffee.
xG stands for expected goals. It indicates the probability that a shot would result in a goal, given the type of opportunity it was. That’s essentially all it does. Each shot is assigned a value from 0 to 1. Values near 0 mean the shot is almost never scored. Values near 1 mean the shot is almost always scored. A modest attempt from 35 yards, with three defenders between the shooter and goal, could be valued at 0.02. In other words, about 2 out of every 100 shots of that kind end up in the net. A tap-in from two yards out with an open goal might be valued at 0.9. In roughly nine out of ten cases, that results in a goal. By summing the xG values of all shots a team takes during a match, you obtain that team’s xG for the game. If a team totals 1.8 xG, then, based on the standard of chances it generated, a typical team would be expected to score about 1.8 goals.
Where do the numbers come from?
They come from history. Data companies have logged hundreds of thousands of shots, and for each one they know where it was taken from, how it was taken, and whether it scored. From that, they can work out how often shots in similar situations have gone in.
So when a model says a particular shot is worth 0.12, it’s really saying: “Out of all the shots we’ve seen from about this spot, in about this situation, 12% went in.”
The things that usually go into the calculation include:
• Distance from goal. The closer you are, the better your chances.
• Angle. Straight in front of goal is much easier than a tight angle near the byline.
• Body part. Headers are generally harder to score than shots with the foot.
• Type of pass or situation. A through ball that leaves you one on one is different from a scrappy rebound. Shots from set pieces and open play are treated differently too.
• Pressure and positioning. Some models also look at where the goalkeeper and defenders are standing when the shot is taken.
Different providers build their models differently, so the exact numbers for the same match can vary a little depending on where you look. That’s normal. Don’t be thrown off if one site says 1.7 and another says 2.0.
Penalties are the easy example. A penalty is usually valued at around 0.76 to 0.79, because historically about three out of four get scored.
Brief example: suppose Team A takes 12 shots in a match. Most of these are long-range attempts, including blocked efforts, worth 0.03 or 0.05 each. However, two of them are clear opportunities inside the box, valued at 0.35 and 0.40. Summing everything, Team A finishes with approximately 1.5 xG. Team B, by contrast, takes only 4 shots, but all of them are high-quality chances. One is a one-on-one opportunity worth 0.45, another is a close-range header worth 0.30, and the remaining two are roughly 0.15 each. As a result, Team B ends up with about 1.05 xG. Team A has three times as many shots, yet Team B generates nearly the same level of danger with far fewer attempts. That is precisely the purpose of xG: it prevents you from being overly impressed by shot totals alone, because not every shot carries the same value.
Why it matters
Football is a low scoring game. One deflection, one goalkeeping mistake, one lucky bounce, and the result flips. Final scores can be a bit misleading, especially in a single match.
xG gives you a way to look underneath the score and ask: who actually played better? Who created the better chances? If a team keeps winning 1-0 while creating almost nothing, that’s worth noticing. If another team keeps losing despite creating plenty of good chances, there’s a decent chance things will turn around.
Over a long stretch of games, goals tend to drift toward what the chances suggest. A team scoring far more than its xG is probably getting a bit lucky or finishing unusually well, and that rarely lasts forever. A team scoring far less than its xG is probably due some better fortune.
This is why people who follow football closely, and anyone trying to make sensible predictions, pay attention to it. A team’s underlying numbers are often a better guide to what’s coming next than its recent results.
The other versions you’ll see
Once you get xG, a few related terms make sense straight away.
• xGA (expected goals against). The same idea, but for the chances a team allows. A low xGA means a team defends well and doesn’t give up good shots.
• xGD (expected goal difference). xG minus xGA. A quick way to see how strong a team looks over time.
• xA (expected assists). This measures the quality of the passes that lead to shots. It credits a creative player even when the striker misses.
• npxG (non-penalty xG). xG with penalties removed. Penalties are worth a lot and can make a player or team look better than they really are, so this gives a cleaner picture.
What expected goals (xG) can’t tell you: xG is helpful, but it is not magic. It is important to understand where it falls short. It does not capture everything. Most models do not fully reflect factors such as how good the finisher is. A top striker may convert a 0.10 chance into a goal more often than an average player would. A basic model tends to treat them identically. One match is too small a sample. A single game can readily yield an outcome that xG does not represent. The figure is much more dependable over ten or twenty matches than over just one. It also does not account for game state. A team that goes 2-0 up and then retreats will often allow its opponent to accumulate more xG late in the match, simply because the opponent is trying to catch up. That pattern does not always mean the leading team was worse. xG is a description, not a judgment. Saying a team “should have won” on the basis of xG may be entertaining, but expected goals do not award anyone points. The score is still the score.
If you are just beginning, you can start with a straightforward approach. Examine a team’s expected goals and expected goals against across its most recent matches, rather than relying on a single game. Set those figures against the actual goals scored and conceded. When the two narratives differ substantially, investigate the reasons. The team may have been unlucky. The striker may be on a run of scoring that is unlikely to persist. Alternatively, the goalkeeper may have been making an atypically high number of saves. Then incorporate this information as part of the overall picture, alongside injuries, recent form, upcoming fixtures, and how the teams stylistically and tactically match up. This helps sharpen your judgment. It does not replace judgment.
xG is just a way of measuring the quality of chances instead of only counting goals. It tells you what a team probably deserved based on the shots it took and allowed, and over time that tends to be a better guide to how good a team really is than the scoreline alone. Once you start looking at football through that lens, a lot of results that seemed random start to make more sense. And the next time a friend tells you his team was “unlucky,” you’ll be able to check whether he’s right. Read more
