What is xg in football stats

Last updated: April 1, 2026

Quick Answer: xG (expected goals) is a statistical metric quantifying goal-scoring chance quality by measuring the probability each shot converts into a goal based on historical data.

Key Facts

Understanding Expected Goals (xG)

xG, or expected goals, measures the quality of goal-scoring opportunities in football by assigning a probability value to each shot. Rather than simply counting shots, xG acknowledges that some shots are far more likely to result in goals than others. A shot from two meters in front of an empty goal receives an xG value close to 1.0, while a long-distance attempt from a difficult angle receives a much lower value. This metric provides deeper insight into team performance beyond traditional statistics.

How xG is Calculated

xG values are determined by analyzing historical data from thousands of shots across professional football. Machine learning models identify patterns based on factors including shot distance, angle, defensive pressure, and game context. When a player takes a shot, its characteristics are compared to historical similar shots, and the probability that a similar shot resulted in a goal becomes that shot's xG value. Different data providers may use slightly different methodologies, resulting in minor variations in xG calculations.

xG and Team Performance

Over a full season, team xG totals typically align closely with actual points earned. Teams that generate high xG values usually finish in higher league positions than teams with lower xG. This correlation exists because xG measures underlying performance quality that eventually translates to goals and wins. Teams underperforming their xG are considered fortunate in finishing; teams overperforming are considered fortunate in converting chances efficiently.

xG Difference and Match Analysis

The difference between attacking xG and defensive xG (xG Against) provides valuable match perspective. A team winning 2-1 but having lower xG likely got lucky; a team losing 1-2 while creating higher xG likely underperformed. This helps analysts understand whether results reflected actual team quality or whether luck played a significant role in the outcome.

Applications in Professional Football

Top clubs use xG extensively for player recruitment, tactical analysis, and match preparation. Broadcasters display xG statistics to enhance match commentary. Betting organizations use xG models to set odds. Fantasy football competitors analyze xG to identify undervalued players likely to improve. The metric has fundamentally changed how football professionals and fans understand the game.

Related Questions

How is expected goals (xG) calculated in football?

xG is calculated by analyzing historical shot data to determine the probability that a shot converts into a goal. Machine learning models identify patterns based on distance, angle, defensive positioning, and other contextual factors, assigning each shot a probability between 0 and 1.

What is xG difference and why does it matter?

xG difference compares attacking xG to defensive xG, showing whether a team created and conceded quality chances. A positive xG difference indicates a team performed well; negative indicates underperformance. Over full seasons, xG difference strongly predicts final league positions.

Which football teams have the highest xG statistics?

Top attacking teams like Manchester City, Liverpool, and PSG consistently generate the highest xG totals, reflecting their ability to create numerous high-quality scoring opportunities. These teams dominate their leagues partly due to converting their high xG into actual goals.

Sources

  1. Wikipedia - Expected Goals CC-BY-SA-4.0
  2. StatsBomb - Football Analytics proprietary