ByJonty Colman
BBC Sport journalist
Expected goals (xG) is a metric used to determine how likely a player is to score a chance and to calculate how many goals a team is expected to score in a match.
The metric was invented in 2012 by Opta's Sam Green and has become commonplace across football analytics.
In xG, every shot a player has is given a score between zero and one. The higher that number is, the more likely a team is to have scored that particular chance.
This information is calculated from Opta's historical data from nearly one million shots.
The data model then generates a calculation on the percentage chance the player is likely to have scored in the same scenario.
Other factors taken into consideration include distance, angles, goalkeeper position, the positions of other players, shot type, pattern of play and the previous action.
For instance, a chance that has an xG of 0.2 means that a player had a 20% chance of scoring from that opportunity. A chance with an xG of 0.8 would represent an 80% chance of scoring.
Those xG figures are then added up to determine how a player or team has been performing collectively during a match or season.
The data metric has been criticised by some supporters, pundits and managers, but it is seen as a good indicator of how a player or team has been performing in front of goal.
Image source, Getty Images
Bryan Mbeumo scored 20 Premier League goals in the 2024-25 season, despite having an xG of just 12.3 goals
Yes, xG is often used by data teams at football clubs to help determine whether or not they have been taking their chances or not. The model can add further context towards a result rather than just the score itself.
It also aids clubs in their recruitment. For the 2024-25 season, forwards Bryan Mbeumo and Matheus Cunha were two of the top overperforming for goals compared to their xG models for the season in the Premier League. Manchester United signed both shortly after the season ended.
Ahead of signing Mohamed Salah in 2017, then Liverpool manager Jurgen Klopp was more interested in signing Julian Brandt from Borussia Dortmund.
After being convinced by Liverpool's analyst, whose reasons for preferring Salah included his xG values, Salah was signed and has gone on to win four Premier League golden boots in eight full seasons with the club.
Gary O'Neil often referred to expected goals metrics during his time as Wolves' head coach, while ex-Everton boss Sean Dyche also spoke about it last season when giving context to a defeat to West Ham.
Thomas Frank, Daniel Farke, Eddie Howe, Thomas Tuchel and Pep Guardiola have all also discussed xG and its uses in recent years.
Other xG-related statistics
Expected goals statistics have led to the berth of other similar metrics to record different sets of data.
Expected goal difference (xG minus xG allowed) helps indicate how a team should be performing in matches and across a season.
xG can also be narrowed down to open play and set-pieces, while non-penalty xG is used to determine a team's expected goals without penalties.
For goalkeepers, xG prevented can be used to determine whether they are conceding more or fewer goals than they should be.
Expected assists and post-shot xG are also among the growing number of xG-related statistics.
This article is the latest from BBC Sport's Ask Me Anything team.
What is Ask Me Anything?
Ask Me Anything is a service dedicated to answering your questions.
We want to reward your time by telling you things you do not know and reminding you of things you do.
The team will find out everything you need to know and be able to call upon a network of contacts including our experts and pundits.
We will be answering your questions from the heart of the BBC Sport newsroom, and going behind the scenes at some of the world's biggest sporting events.
Our coverage will span the BBC Sport website, app, social media and YouTube accounts, plus BBC TV and radio.