What is xG in Football? A Complete Beginner's Guide
Football analytics has transformed the way we understand the beautiful game. At the centre of that transformation sits one metric above all others: xG, or expected goals. If you've ever wondered what the number next to a team's name means on a match graphic, or why your favourite pundit keeps saying "the xG tells a different story," this guide is for you.
Introduction: Why xG Matters
Picture this: your team hits the post three times, dominates possession, and creates chance after chance — yet loses 1–0 to a breakaway goal. The scoreline says you lost. But did you really play badly?
Expected goals (xG) gives you a way to answer that question honestly. It strips away luck, goalkeeping heroics, and freak deflections to tell you something more fundamental: how good were the chances each team created?
Since breaking into mainstream football coverage around 2017–2018, xG has gone from an analytics niche to a standard broadcast graphic on Sky Sports, BT Sport, and ESPN. Understanding it doesn't require a statistics degree — it just requires an appreciation for the fact that not all shots are created equal.
What Does xG Stand For?
xG stands for Expected Goals. The "x" follows a common convention in statistics and mathematics where "x" denotes an expected or unknown value. You'll see the same convention in related metrics like xA (expected assists), xGA (expected goals against), and xGOT (expected goals on target).
Every shot in a football match is assigned a probability value between 0 and 1.
- A 0 value means the shot has virtually no chance of scoring.
- A 1 value means the shot is virtually certain to result in a goal.
If a shot is assigned a value of 0.30 xG, it means that if you took that exact shot 100 times under similar conditions, it would result in a goal roughly 30 times.
A Simple Analogy: The Penalty vs. The Long Range Shot
Most people intuitively understand xG without knowing the technical name. Consider two scenarios:
- The Penalty Kick: 12 yards from goal, only the keeper to beat, no defensive pressure. Real-world data shows that in the Premier League, roughly 76–79% of penalties result in goals. Therefore, in most professional models, a penalty is worth ~0.79 xG.
- The 30-Yard Screamer: A player shoots from 30 yards out, with three defenders in the way and a narrow angle. Statistically, this shot scores roughly 3 times out of 100. In an xG model, this shot is worth 0.03 xG.
xG simply formalises this intuition using thousands of matches worth of data.
How Did xG Come About?
While xG feels like a modern invention, its roots go back decades:
- 1993: Academic statisticians Vic Barnett and Sarah Hilditch published early research examining the factors that influence shot success.
- Late 2000s: Football bloggers and analysts (like Howard Hamilton and Sander Ijtsma) began developing open, transparent models for the public.
- 2012–2017: Data companies like Opta and StatsBomb refined these models using increasingly granular data.
- 2017: xG broke into the mainstream when BBC's Match of the Day began including it in match summaries.
What Factors Go Into an xG Model?
Modern expected goals models are sophisticated machine learning algorithms that consider dozens of variables for every shot. The most critical factors include:
- Distance to Goal: The closer the shot, the higher the xG.
- Angle to Goal: Shots from directly in front of goal have higher xG than those from wide, tight angles.
- Body Part: Shots taken with the feet have higher xG than headers or volleys from the same position.
- Assist Type: Shots from through-balls or cutbacks have higher xG than shots from high, hanging crosses.
- Defensive Pressure: Was the attacker in space, or were three defenders lunging to block the shot?
- Goalkeeper Position: Was the keeper set, or were they caught out of position? (Used in the most advanced models).
What Does an xG Value Actually Tell You?
When you see a single xG number (like 0.15), it describes the quality of that specific chance. When you see a team's total xG for a match (like 2.4), it describes the total quality of all chances they created during those 90 minutes.
As a general rule of thumb:
- Under 0.05 xG: A speculative, low-quality chance.
- 0.10 – 0.20 xG: A moderate quality chance.
- 0.40 – 0.60 xG: A high-quality chance (often called a "Big Chance").
- 0.90+ xG: A "sitter" that is nearly impossible to miss.
The Limitations: What xG is Not
xG is a powerful tool, but it is not a perfect simulation of reality. It has two main limitations:
- It assumes an "average" finisher: A shot taken by Erling Haaland or Lionel Messi has the same xG as the same shot taken by a League Two defender. xG tells you how good the chance was, not how good the finisher was.
- It doesn't account for what happened after the shot: xG measures the probability at the moment the ball is struck. It doesn't care if the ball flew into the top corner or went out for a throw-in. (To measure that, you use a different metric called xGOT).
How to Use the xG Calculator
The best way to understand xG is to experiment with it. Our interactive xG calculator allows you to place a ball anywhere on the pitch, choose the situation, and see the probability value change in real-time.
Try placing a shot from the penalty spot, then move it five yards to the left. Watch how the angle change impacts the xG. This hands-on experience is the fastest way to build "xG intuition."
Conclusion: A Better Way to Watch Football
Expected goals is the most important innovation in football analytics of the past two decades. It transforms vague impressions ("they were the better team") into a rigorous, quantifiable measure of chance quality. xG doesn't replace watching football. It enhances it.
Frequently Asked Questions
Is xG the same in football and soccer?
Yes. Football and soccer are the same sport. xG means exactly the same thing regardless of which word you use.
Who invented xG?
No single person invented it. It evolved from academic probability research in the 1990s and football analytics blogging in the 2000s–2010s, with contributors like Howard Hamilton and Sander Ijtsma playing key roles in making it accessible.
Where can I find xG data for free?
FBref.com, Understat.com, and FotMob all provide free xG data for major European leagues. For exploring how xG is calculated, the interactive calculator at FindBest Tools is an excellent free resource.
Does xG work for lower leagues?
In principle yes, but data quality decreases in lower divisions. Models trained on top-flight data may be less accurate when applied to leagues with fewer data points.
Can a team consistently outperform their xG?
Over small samples, yes — frequently. Over a full season, most teams and players regress toward their xG totals. Some elite finishers do appear to sustainably outperform xG, but the effect is smaller than most assume.