What is xG in football? Expected goals (xG) is a statistic that measures the quality of a chance by estimating how likely a shot is to be scored. This guide explains how xG works and how it is calculated, walks through a full match example, and covers how bettors use it and where its limits lie.
Where does xG come from?
Expected goals models were popularised in the early 2010s by football analysts, including Sam Green, then working at Opta, although the idea of rating shots by how likely they are to be scored is older than that. Modern models are built from large historical datasets of shots, recording how often similar chances were converted in the past.
How does xG work?
Every shot taken during a match is given a value between 0 and 1. A value close to 0 means the chance had almost no hope of being scored, while a value close to 1 means a goal was almost certain. A shot with an xG of 0.10, for example, is scored about one time in ten.
At the end of the game, each side’s xG is the total of the xG values of all the shots it took. This total shows how many goals an average team would expect to score from those chances. It is a measure of chance quality, not a verdict on how many goals a team should have scored.
How is xG calculated?
In simple terms, each shot is compared with a large set of similar shots from the past, and the model estimates how often chances like it are scored. Depending on the model, the factors taken into account include:
- Distance from goal
- Angle of the shot
- The goalkeeper’s position
- The positions of defenders and other players
- Shot type, such as a header or a shot with the foot
- Pattern of play, such as open play, a counter-attack or a set piece
Not every model uses every factor, which is one reason the same chance can have a different xG depending on the data provider.
What are typical xG values for different chances?
Exact figures vary between models, but these ranges give a feel for the scale:
- Penalty: around 0.75 to 0.79, roughly a 75% to 79% chance of scoring.
- Tap-in from the six-yard box: around 0.85 to 0.90, an 85% to 90% chance, when the shooter is unmarked and the goalkeeper is out of position.
- Long-range shot from 30 yards: around 0.02 to 0.05, a 2% to 5% chance.
Not every shot from close range is rated so highly. Headers, tight angles and defenders closing down the shooter can all pull the value well below that of a simple tap-in.
How does xG work across a full match?
To make it easier to follow, here is an illustrative Champions League match: Ajax at home to Benfica. The shots and xG values are made up for the example.
First half
Ajax create one clear chance inside the six-yard box, worth 0.83 xG, but miss it. Benfica’s only effort is a shot from outside the area worth 0.03. At half-time it is Ajax 0-0 Benfica, with first-half xG of 0.83 for Ajax and 0.03 for Benfica.
Second half
Ajax have one shot inside the box (0.28) and three from outside the box (0.05 each, so 0.15 in total) but cannot score, giving them 0.43 xG for the half. Benfica win and score a penalty (0.76) and also have three shots from outside the box (0.03 each, so 0.09) without scoring, giving them 0.85 xG for the half. Full time: Ajax 0-1 Benfica.
Full-time xG
- Ajax: 0.83 + 0.43 = 1.26 xG, 0 goals
- Benfica: 0.03 + 0.85 = 0.88 xG, 1 goal
Ajax underperformed their xG by 1.26 goals, while Benfica scored slightly more than their 0.88 xG. The numbers suggest Ajax created the better chances, but one match is a very small sample, so xG should not be read as proof of who deserved to win.
How can bettors use xG?
Bettors use xG to look past final scorelines and judge whether the odds reflect how well teams are really playing, which is a starting point for finding value in the odds. The main uses are below.
Spotting over or underperformance
A team that wins 3-0 with a total xG of 0.86 was either very clinical or lucky. On the other hand, a team that loses 1-0 despite 2.85 xG created plenty of high-quality chances and can count itself unlucky. In both cases the scoreline may say less about the next match than it seems.
Regression to the mean
Teams that consistently generate high xG but score few goals often see their scoring pick up over time, as finishing luck evens out. This is a tendency over many matches, not a promise that goals are “due” in the next game: expecting that is the gambler’s fallacy.
In-play betting
In a live match, a team that is losing but building up a lot of xG is creating the kind of chances that often lead to goals. That pressure is worth weighing against the in-play odds, while remembering that chances are not goals.
Totals betting
Looking at a team’s xG and xGA (expected goals against) alongside its raw goals record can help when assessing over/under goals markets. Matches between teams with high xG and high xGA tend to produce plenty of chances, even if recent scorelines have been low.
Why does xG matter?
xG is useful for evaluating performance. By adding up the xG of all shots in a match or over a season, you can see how many goals a team or player would be expected to score from the chances they had. That gives you more than the scoreline alone and helps show when a result owed more to luck than to skill.
It also adds context to a form guide, which is built on results: a run of wins backed by strong xG usually looks more solid than one built on a handful of low-quality chances.
How does xG compare to actual goals?
A player who underperforms their xG scores fewer goals than the quality of their chances would suggest. That could be down to poor technique, a goalkeeper making outstanding saves, defenders making brave blocks or shots hitting the post or crossbar.
Equally, some players overperform for a spell and every shot seems to fly in. Over time, most players tend to move back towards their xG.
How accurate is xG?
xG measures the quality of chances, so a team with the higher xG does not automatically deserve to win. Take a hypothetical match: one team scores two spectacular goals from difficult positions in the first ten minutes, then plays a tight game and barely attacks again as it protects the lead. It wins 2-0, but at full time its xG is 0.66 against the losing side’s 0.73.
Nothing went wrong with the model here. Two low-probability shots went in, and the early lead changed how both teams played. That is why xG is best read with the match situation in mind, and over many games rather than one.
What are the limitations of xG?
Because xG models are not standardised, figures from different data providers are not directly comparable, so stick to one source when you compare teams or players. xG totals from a single match can also be driven by randomness, so, like most statistics, xG works best over a large sample.
At player level, comparing goals scored with xG is a common way to discuss over or underperformance. Keep in mind that xG describes the chances a player gets, not how good the player is at taking them.
How do penalties affect xG?
With a value of around 0.75 to 0.79, a penalty can significantly lift a player’s or team’s xG total, which makes overall performance harder to interpret. For this reason, many data sources also show non-penalty xG (npxG), which leaves penalties out.
What does xG not take into account?
xG tells you how many chances a team creates and how good they are, but standard models do not factor in the quality or skill of the player shooting. If an elite striker and a defender who rarely shoots take a shot from the same position in the penalty box, the xG value is the same.
What other statistics are similar to xG?
The success of xG has led to several related metrics:
- xGA (expected goals against): the sum of the xG of the shots a team concedes.
- xGD (expected goal difference): the difference between a team’s xG and its xGA.
- xA (expected assists): estimates chance creation by measuring the likelihood that a completed pass becomes an assist.
- xGOT (expected goals on target): a post-shot model for shots on target that combines the original xG value with information about where the shot ended up in the goal.
FAQ
What does xG stand for in football?
xG stands for expected goals. It measures the probability of a shot resulting in a goal, on a scale from 0 to 1.
How is xG calculated?
Each shot is given a value based on how often similar chances were scored in a large set of historical data. Distance, angle, shot type, the goalkeeper’s position and the pattern of play all affect the number.
What is the xG of a penalty?
Most models rate a penalty at around 0.75 to 0.79, roughly a 75% to 79% chance of scoring. The exact figure depends on the model.
Does xG take into account the player taking the shot?
No. Standard xG models rate the chance, not the shooter, so a world-class striker and a debutant get the same value from the same position.
Does a higher xG mean a team should have won?
Not necessarily. xG shows which side created the better chances, but finishing, goalkeeping and luck decide single matches, so it is most reliable over many games.
How can xG help in betting?
xG is a useful extra tool that goes deeper than goals scored and conceded, helping you judge whether results reflect performance. It does not guarantee winning bets, so treat it as one input among several.