Expected Goals (xG): what it is and how it works

Category: News | Team Analysis

‘Expected goals’ (xG) is a metric that analyses the quality of the chances that take place in a match. Each shot has a value that shows the probability of becoming a goal. This number is the percentage (0.1 means that this shot ends up in goal 10% of the time) that is assigned according to […]


‘Expected goals’ (xG) is a metric that analyses the quality of the chances that take place in a match. Each shot has a value that shows the probability of becoming a goal. This number is the percentage (0.1 means that this shot ends up in goal 10% of the time) that is assigned according to the place of the shot, the distance to the goal and the angle, as well as the part of the body (head, foot or others) with which the ball is shot, adding to the variable the speed of the play, the pass that precedes – if any – the shot, etc. To facilitate the understanding of the tool we are going to show examples of the model of goals expected from Driblab.

How the expected goals began to be used (xG)

This model was started in 2013 by our CEO Salvador Carmona. This metric responds to the need to quantify the value of scoring chances. There were already models that answered these questions but at Driblab we work with different parameters and it differs from the rest of the companies in the amounts of xG it gives to the shots. The first ones who created a model of xG were the bookmakers, soon after, were people who worked in clubs or pretended to do it, as well as statisticians who made their models for pure hobby. Step by step the xG models have made a space in the analysis with pages like FiveThirtyEight, even having a place in international media like ESPN, The Guardian or FourFourTwo reaching the coaching staffs even being publicly mentioned as the example of Frank Lampard this season.

Our models have maps that allow the visualization of this metric. In our case our CTO Coré Ramiro developed maps where the Driblab model is shown in images like the one we see below corresponding to the second leg of the Champions League between Liverpool and Atletico Madrid:

Each circle represents a chance, the size is the xG value (the probability of becoming a goal), and the filled circles are the goals. The sum of xG in the score above is a sum of each team’s total xG. In this case we see how Atletico were very effective with three goals on low-probability shots while Liverpool had low scoring efficiency part of blame to Jan Oblak’s great game saving more than expected.

Clarifications of our xG model

When evaluating the expected goals (xG) we calculate the quality of the chances. So a key indicator, beyond the total volume of xG in a match, is how clear those chances were. For example, in the first leg Atletico 1-0 Liverpool (image below) we see a very similar sum of xG for the two teams that tells us about an even match but if we analyze the quality of those shots Liverpool conceded in the goal a shot with 0.59 xG (1-0 Saul), that is, a shot that is a goal 59% of the times; while the most dangerous shot of Liverpool was 0.21 xG. Looking at the quality of the shots is a clear indicator beyond the total volume of goals expected.

xG applied to player analysis

The value of the expected goals also allows for an analysis of a player’s effectiveness and ability to score. The use of this metric allows us to see the performance and evolution of the players at finishing and creating xG: the most relevant attacking players usually score more than expected. The example of Erling Haland is very enlightening as he stands out for his reliability in this regard: since he arrived at Borussia Dortmund he has scored more than twice as much as expected. In addition, another indicator that allows us to analyze the performance is the ‘xG per shot’ that shows us how efficient the selection of shots is: the higher xG per shot the less haste in those shots and the higher probability of scoring. In the case of Erling Haland we can see how this selection of shots with such a high xG per shot (0.22 xG per shot) is key to understanding why he is overperforming.

Similarly, the expected goals serve to compare the performance of defensive systems (how much they concede and the quality of the chances) and help to add context to goalkeeper performances. The example we will see below is very clear by analyzing the shots faced to goal (xG that a goalkeeper face) with the goals conceded. A clear example is Kepa Arrizabalaga, who this season is one of the worst goalkeepers in terms of expected goals. When evaluating this performance we must also consider the quality of the chances conceded (xG per shot) as well as the comparison between xG received and goals conceded. In this case we see how he is underperforming and that the opponents have found many shots in areas very close to the goal.

xG applied to team analysis

Another application that has the model of expected goals is its usefulness in measuring team performances. This analysis can differentiate the type of action with which these expected goals were created: open play, counter-attack, free kick, set piece or corner kick. For example, below we see the performance of Real Madrid in open play and the problems in finishing scoring fewer goals than expected this season. In this case, we are looking at a team that is scoring less than expected.

We are Driblab, a consultancy specialized in the statistical analysis of players and teams; our work is focused on advising and minimizing risk in professional football decision-making in areas related to talent detection and footballer evaluations. Our database has more than 130,000 players from more than 120 competitions, covering information from all over the world. Here you can learn more about how we work and what we offer.

Autor: Driblab
For News | Team Analysis we also recommend you:

Driblab and Coritiba sign multi-year partnership agreement

We are pleased to announce a partnership agreement with Coritiba Foot Ball Club.

driblabPRO Release Notes December ‘21: Possessions

During the last month we have developed a new tool at driblabPRO that expand the resources we provide to our clients.

Driblab and HNK Rijeka sign multi-year partnership agreement

Driblab and HNK Rijeka sign multi-year partnership agreement.

Serie A: Set pieces in the title race

In this analysis, we take a look at the goals expected by each Serie A team from both set pieces and in play. Mourinho’s Roma are the clear leaders.

Il pressing può anche essere costoso (Italian)

Il pressing non è più una novità, ma lo è il modo in cui viene fatto. Nelle prossime righe ci immergeremo nel mondo dei dati per scoprire chi fa più pressing e chi lo fa meglio.

Serie A. I calci piazzati nella corsa per il titolo (Italian)

In questa analisi, diamo un’occhiata ai gol previsti da ogni squadra di Serie A sia dai calci piazzati che in gioco. La Roma di Mourinho è il chiaro leader.

Serie A, la rivoluzione silenziosa (Italian)

Che cosa è successo per la Serie A per diventare campioni di Euro 2021 dopo aver fallito la qualificazione per la Coppa del Mondo 2018? Guardiamo l’evoluzione del calcio italiano negli ultimi cinque anni.

‘Expected Points’ (xP): those who give credit to merit

What are Expected Points (xP)? We take a closer look at one of the metrics that tries to establish a long-term deservedness for how many points a team should have earned.

Vinicius, by the numbers: this is how he has stopped the excuses

Vinicius Junior has become the star he promised to be. And it’s all being proven in a multitude of data and metrics. We analyse where he is making an incredible leap forward.

driblabPRO Release Notes November ‘21

During the last month we have developed new tools at driblabPRO that expand the resources we provide to our clients. Here are the details of the new releases.


Información corporativa

Somos una empresa con sede en Madrid fundada en 2017 por Salvador Carmona y Cristian Coré Ramiro. Desde nuestros inicios nuestro trabajo se ha centrado en el análisis estadístico de datos para ayudar a los clubes en la planificación deportiva. Somos una consultora big data que ofrece servicios personalizados para cada cliente y defiende un modelo de gestión mixto y una comunicación constante para acompañar el día a día de las instituciones. Nuestro punto fuerte es la más amplia cobertura disponible en número de torneos profesionales y juveniles. Para más detalles, póngase en contacto con nosotros.

Colaboramos con:


Hemos aparecido en:

Talk to our speciali