SportsMonkie.com
Football

What Is xG in Soccer? Expected Goals Explained

By Sourav Das Updated August 8, 2026
Soccer player striking a shot on goal, illustrating expected goals (xG)
On this page4
  1. 01How the model works
  2. 02A worked example
  3. 03How to read xG
  4. 04Why xG matters, and its limits

xG in soccer is expected goals: the probability that a given shot ends up in the net, expressed as a number between 0 and 1, based on a model of where and how the shot was taken. A close-range tap-in might carry an xG of 0.7 — it scores about 70 percent of the time — while a hopeful strike from 30 yards might be 0.03. Add up the xG of every shot a team takes in a match and you get their total expected goals: a measure of how many goals the quality of their chances should have produced, regardless of what actually went in.

That distinction is the whole value of xG. Goals are rare and noisy; a team can dominate and lose, or steal a win on one lucky strike. xG cuts through the randomness to ask what a team’s chances were really worth.

How the model works

An xG model is trained on hundreds of thousands of historical shots. For each new shot, it looks at the situation and returns the share of past shots from similar spots that became goals. The main inputs are:

  • Distance from goal — closer shots score far more often.
  • Angle — a shot from straight on has more net to aim at than one from a tight angle.
  • Body part — headers convert at lower rates than shots taken with the foot.
  • Type of chance — a one-on-one, a shot after a through ball, a header from a cross, or a set piece each carry different historical odds.

More advanced models add the positions of defenders and the goalkeeper. Different providers — Opta, StatsBomb, and others — build their models slightly differently, so the exact xG of a shot can vary a little by source. The underlying idea is identical: convert a chance into the probability it scores.

A worked example

Say a team takes five shots in a match, with these xG values:

ShotSituationxG
1Close-range tap-in0.70
2Header from a cross0.15
3Edge of the box, foot0.09
4Long-range effort0.04
5One-on-one with the keeper0.35

Total xG: 0.70 + 0.15 + 0.09 + 0.04 + 0.35 = 1.33

So the quality of their chances was worth about 1.3 goals. If they actually scored three, they finished well above expectation — a hot day in front of goal that is unlikely to repeat. If they scored zero, they were wasteful or unlucky, and the underlying performance was better than the result. Either way, the 1.33 describes the chances themselves, not the scoreline.

How to read xG

xG shows up in a few common forms:

  • Match xG — total expected goals in a game, often shown per team to reveal who created the better chances.
  • xGA (expected goals against) — the quality of chances a team allows.
  • xGD (expected goal difference) — xG minus xGA, one of the best single summaries of a team’s true level. A positive xGD means a side creates better chances than it concedes.

The most important habit is patience. A single match’s xG can be skewed by one enormous chance, and finishing genuinely varies game to game. xG earns its reputation over a run of matches, where it predicts future goals better than past goals do — which is exactly why clubs and bettors lean on it.

Why xG matters, and its limits

xG changed how the sport is analyzed because it separates the quality of a performance from the luck of finishing. A striker “underperforming his xG” over a few games is probably just cold, not broken; a team consistently outscoring its xG is often riding variance that will regress. Used well, it is the closest thing soccer has to a fair, predictive measure of chance creation.

The limits are real. xG says nothing about how a chance was finished — a world-class strike into the top corner counts the same as a scuffed shot from the same spot. Models differ between providers, small samples mislead, and xG ignores the buildup that never produced a shot at all. It is a powerful tool, not a verdict.

For the players who consistently beat their expected numbers, the greatest soccer players is full of elite finishers, and the Ballon d’Or winners reads like a list of players who turned high xG into trophies. To compare how other sports build their own advanced metrics, see our explainers on EPA in football and true shooting percentage — the same “value versus expectation” thinking, applied to different games.

Bottom line: xG is the scoring probability of each shot, summed into expected goals — a measure of chance quality that beats raw goals over any stretch longer than a single lucky afternoon.

Share this article

Frequently asked questions

What does an xG of 0.3 for a shot mean?+

It means that from that position and situation, a shot scores about 30 percent of the time historically. Roughly one in three attempts from there ends in a goal. A tap-in might be 0.7 or higher, while a speculative shot from distance could be 0.03, or a 3 percent chance.

Can a team's xG be higher than the goals they scored?+

Yes, and it often is. A team can create 2.5 xG worth of chances and score only once — meaning they finished below expectation that day, through bad luck or poor finishing. Over many matches, goals and xG tend to converge, which is why xG predicts future scoring well.

What goes into an xG model?+

Distance from goal, angle to the goal, the body part used (foot versus header), the type of assist or pass before the shot, and whether it was a one-on-one or a set piece. Some models add defender positions and goalkeeper location. Each factor shifts the historical scoring probability.

Does xG include penalties?+

Usually yes. A penalty is typically assigned a fixed xG of around 0.76, reflecting the long-run conversion rate of spot kicks. Some analysts strip penalties out to judge open-play chance creation separately, so it is worth checking whether an xG figure is with or without penalties.

Is a high xG always good?+

For an attack, yes — it means a team is creating quality chances, which tends to produce goals over time. But a single match's xG can mislead. One huge chance can inflate it, and finishing varies game to game. xG is most reliable across a run of matches, not one result.

What is xGA and xGD?+

xGA is expected goals against — the quality of chances a team allows. xGD, expected goal difference, is xG minus xGA, a strong summary of overall team performance. A positive xGD means a team creates better chances than it concedes, which usually points to a good side.

Sources

Play & tools

Free browser games and tools — no account, no download.

Related football guides

View all →