StepOut

xG

Shooting

Metric Definition

Have you ever watched your team score from an unlikely position or somehow miss an open goal, and wondered, "How likely was that chance to end up in the net?"

xG turns that chance into a figure you can add up, compare and track over time. Every shot is assigned a probability based on how often similar chances have been scored in the past.

The model compares thousands of historical shots that share similar characteristics, such as the distance from goal, shooting angle, type of assist, body part used, and defensive pressure, to estimate the likelihood of that attempt becoming a goal.

The result is expressed as a number between 0 and 1. xG helps us measure the quality of the chances that produced them, giving us a clearer picture of a team's and a player’s attacking performance and whether a result aligns with the opportunities created.

How It Is Calculated

Expected Goals (xG) is calculated using a machine learning model that has been trained on hundreds of thousands, and often millions, of historical shots.

Every shot in the dataset includes a range of information about the chance, including whether it was a goal or not. By analysing this data, the model identifies the patterns that make certain chances more likely to be scored than others.

Most xG models rely on a similar set of key features, including:

  • Distance from goal: Shots taken closer to goal are converted more often.
  • Shooting angle: The more of the goal the shooter can see, the higher the probability of scoring.
  • Body part used: Chances taken with the foot, head or another body part have different historical conversion rates.
  • Assist type: A through ball, cross, cut-back or rebound each creates different kinds of opportunities.
  • Defensive pressure: The number and proximity of defenders between the shooter and the goal can affect the chance of scoring.
  • Goalkeeper positioning: Whether the goalkeeper is well positioned or caught out of place influences the quality of the opportunity.
  • Phase of play: Open play, corners, free kicks and penalties all have distinct scoring profiles.
  • 1v1 situations: Chances where the attacker has only the goalkeeper to beat are typically converted at much higher rates.

What’s the Difference Between xG and xG per shot?

Total xG measures both the quantity and quality of chances a team creates. A team can increase its total xG by taking lots of low-quality shots or by creating a smaller number of high-quality opportunities.

xG per shot separates quality from volume. It is calculated by dividing a team's total xG by the number of shots they take, showing the average quality of each attempt.

For example, two teams can both finish with 1.50 xG, but arrive there in very different ways:

Both teams generated the same total xG, but Team B created the higher-quality chances.

Looking at both metrics together gives a more complete picture of a team's attack, showing not only how many chances they created but also the quality of those chances.

  • Team A: 15 shots, averaging 0.10 xG per shot. They relied on volume, with most attempts coming from difficult positions.
  • Team B: 6 shots, averaging 0.25 xG per shot. They created fewer chances, but each one came from a far more dangerous area.

How Should You Use This Metric to Evaluate Teams and Players?

Expected Goals (xG) measures the quality of scoring chances, making it useful for analysing both teams and players. However, how you interpret the metric depends on what you're evaluating.

For Teams:

Example:

  • Over the course of a season, xG for and xG against provide a more reliable measure of performance than goals scored and conceded, which can be heavily influenced by finishing, goalkeeping, and luck.
  • Use xG difference to assess overall performance. A positive xG difference (xG for - xG against) usually indicates a team is consistently creating better chances than it allows, making it one of the strongest indicators of consistency.
  • Numbers alone rarely tell the full story. A team that scores early may choose to defend deeper, allowing the opposition to take more shots from less dangerous areas. While the shot count increases, the quality of those chances often remains low, making expected goals (xG) a much better indicator of how threatening the opposition actually was.
  • Team A wins 1-0 despite facing more shots, 18-7.
  • At first glance, the high shot count suggests Team A was under heavy pressure.
  • However, the opposition's 18 shots produce only 0.8 xG, while Team A's 7 shots generate 1.9 xG.
  • This shows that xG reflects the quality of chances created, making it a more reliable metric than shot count alone.

For Players:

Example:

  • Always evaluate players based on their role. A goalscorer and a playmaker contribute in different ways, so they shouldn't be judged using the same metrics.
  • For goalscorers, non-penalty xG per 90 (npxG/90) is the preferred metric because it removes penalties and reflects the quality of chances they receive during open play.
  • For creative players, metrics like expected assists (xA) and the xG generated from the chances created provide a better measure of their attacking contribution.
  • Comparing goals scored with xG can provide insight into finishing, but only over a large sample. Over shorter periods, players can naturally overperform or underperform their xG due to factors such as confidence, goalkeeping, or simple variance.
  • Two strikers each finish the season with 10.0 xG, but one scores 13 goals while the other scores 8.
  • The first has overperformed their xG, while the second has underperformed it.
  • However, this alone does not prove one is a clinical finisher and the other is wasteful.
  • Finishing performance can vary even over a full season, so goals scored relative to xG should always be evaluated across a larger performance sample size.

Frequently Asked Questions

What counts as a good xG in a single match?

A team total above 2.0 points to a strong chance-creating display in most leagues. Anything past 3.5 is rare and usually means a heavy mismatch.

Does high xG mean a team should have won?

Not necessarily, since xG measures chance quality across a match, not the outcome of specific sequences or game state. A team can post 2.5 xG and lose 1-0 if their chances came in low-value clusters or their opponent's goalkeeper had an outstanding game. xG is best read over a run of matches rather than a single result.

Why do teams outperform or underperform their xG?

Teams score more than their xG when finishing quality is elite or when variance runs in their favour through deflections and goalkeeper errors. Teams underperform their xG due to poor finishing, an opponent's exceptional goalkeeping, or simple bad luck. Over a full season, most teams regress toward their xG total, which is why analysts treat large gaps as a signal rather than a fixed trait.

Is xG a reliable predictor of future performance?

xG is one of the stronger predictive metrics in football analytics because shot quality is more repeatable than shot conversion. A team consistently generating high xG but scoring below it is likely to see results improve, and the reverse holds for teams overperforming unsustainably.

WhatsApp