0.444
44.4
%
44
34
0.444
44.4
%
44
34
The Expected Goals (xG) Calculator brings one of football's most revolutionary analytical concepts to your fingertips. Expected Goals, commonly abbreviated as xG, is a statistical metric that quantifies the probability of a shot resulting in a goal based on the characteristics of the shot itself. Developed through analysis of hundreds of thousands of historical shots, xG has transformed how coaches, analysts, broadcasters, and fans understand football performance by moving beyond raw goal tallies to assess the quality of chances created and taken.
At its core, xG assigns a value between 0 and 1 to every shot, where 0 represents a shot with virtually no chance of being scored and 1 represents a shot that is almost certain to result in a goal. A penalty kick, for example, typically carries an xG of around 0.76, reflecting the historical conversion rate of roughly 76%. A header from the edge of the six-yard box after a cross might have an xG of 0.25, while a long-range shot from 30 meters could be valued at just 0.02-0.04.
This simplified xG calculator uses a logistic regression approach based on the most influential factors in goal-scoring probability: shot distance from goal, shooting angle, body part used, type of assist, and whether the chance is classified as a 'big chance.' While professional xG models from companies like StatsBomb, Opta, and Wyscout incorporate dozens of additional variables — including defensive positioning, game state, goalkeeper position, and shot trajectory — the core predictors in this calculator capture the majority of the variance in goal-scoring probability.
Shot distance is consistently the strongest predictor of goal-scoring probability. As distance from goal increases, the probability of scoring decreases exponentially. Shots from inside the six-yard box have conversion rates exceeding 40%, while shots from outside the penalty area convert at rates below 5%. The relationship follows a logistic curve rather than a linear one, meaning the drop-off in probability is particularly steep between 5 and 15 meters from goal.
Shot angle — the angular width of the goal visible to the shooter — is the second most important factor. Shots from central positions offer a wider target and higher xG values, while shots from tight angles near the byline have very low xG because the visible goal area is minimal. This is why strikers who find central positions inside the box are so valued: they consistently take shots from high-xG locations.
Body part matters significantly. Shots taken with the foot have higher average xG than headers, because foot shots allow for greater accuracy, power, and placement control. Headers, particularly from crosses, are inherently less controllable and have lower conversion rates. Shots taken with other body parts (knee, chest deflections, etc.) are the least likely to score.
Assist type captures the pre-shot context. Through balls that release a player in behind the defense typically lead to higher-xG chances because the shooter faces less defensive pressure and often has more time and space. Crosses generally produce lower-xG chances because headed finishes and first-time volleys from crosses are difficult to control. Set pieces have their own distinct xG profiles depending on the specific situation.
The 'big chance' modifier accounts for situations that xG models flag as clear goal-scoring opportunities — typically one-on-one situations with the goalkeeper or open goals from close range. These chances carry significantly higher xG values than their distance and angle alone would suggest, because the absence of defensive pressure dramatically increases scoring probability.
This calculator uses a simplified logistic regression model to estimate goal-scoring probability. Logistic regression is the standard statistical framework used in professional xG models.
The model computes a logit score from the input features:
$$\text{logit} = \beta_0 + \beta_1 \cdot d + \beta_2 \cdot \theta + \beta_{\text{body}} + \beta_{\text{assist}} + \beta_{\text{big}}$$
where \(d\) is shot distance in meters, \(\theta\) is shot angle in degrees, and the \(\beta\) terms are coefficients for each feature.
The coefficients used are: intercept \(\beta_0 = 0.8\), distance \(\beta_1 = -0.1\) (negative because greater distance reduces probability), angle \(\beta_2 = 0.015\) (wider angles increase probability), with adjustments for body part (head: \(-0.15\), other: \(-0.25\)), assist type (through ball: \(+0.25\), cross: \(-0.1\), set piece: \(+0.05\)), and big chance (\(+0.35\)).
The logit is transformed to a probability using the logistic (sigmoid) function:
$$P(\text{goal}) = \frac{1}{1 + e^{-\text{logit}}}$$
The result is clamped to the range \([0.01, 0.95]\) to reflect practical limits — no shot is guaranteed, and even the worst chances have some probability of going in. The xG rating (1-5) categorizes the chance quality for quick reference.
An xG value of 0.30 means the shot has approximately a 30% chance of being scored based on historical data for similar shots. This does not mean the shot will or will not score — it represents the long-run average conversion rate for shots with those characteristics.
The xG rating provides a quick qualitative assessment: 5 (excellent chance, xG >= 0.50), 4 (good chance, xG 0.30-0.49), 3 (decent chance, xG 0.15-0.29), 2 (moderate chance, xG 0.07-0.14), 1 (low-quality chance, xG below 0.07).
Remember that this is a simplified model. Professional xG models achieve higher accuracy by incorporating goalkeeper positioning, defensive pressure, shot speed and placement, game state, and many other variables. Use this calculator for educational purposes and general estimation rather than as a definitive analytical tool.
Inputs
Results
Logit = 0.8 + (-0.1×8) + (0.015×40) + 0 + 0.25 + 0.35 = 0.8 - 0.8 + 0.6 + 0.6 = 1.6. P = 1/(1+e^(-1.6)) ≈ 0.832. A classic big chance: short distance, wide angle, through ball assist — very high xG.
Inputs
Results
Logit = 0.8 + (-0.1×18) + (0.015×15) + (-0.15) + (-0.1) + 0 = 0.8 - 1.8 + 0.225 - 0.25 = -1.025. P = 1/(1+e^1.025) ≈ 0.264. Wait — let me recalculate: -0.15 - 0.1 = -0.25 total modifiers; 0.8 - 1.8 + 0.225 - 0.15 - 0.1 = -1.025. P ≈ 0.264. Actually with the header and cross penalties, this is still about a 1-in-4 chance from 18m — but realistic xG models would rate this lower due to defensive pressure not captured here.
Expected Goals (xG) is a statistical measure that quantifies the probability of a shot resulting in a goal, based on the characteristics of that shot and the circumstances surrounding it. Each shot is assigned a value between 0 and 1, where 0 means no chance of scoring and 1 means a certain goal. The metric was developed by analyzing hundreds of thousands of historical shots to determine which factors most strongly predict goal-scoring. xG has become the gold standard for evaluating chance quality in modern football analytics.
Professional xG models achieve strong predictive accuracy, typically explaining 25-35% of the variance in individual shot outcomes and performing even better when aggregated over multiple shots or matches. Leading models from StatsBomb, Opta, and similar providers incorporate dozens of variables and are continuously refined. This simplified calculator captures the major predictive factors but lacks variables like defensive pressure, goalkeeper positioning, and shot trajectory that professional models include.
Shot distance from goal is consistently the single strongest predictor, followed by shot angle (the width of goal visible to the shooter). Other significant factors include body part (foot vs. head), assist type (through ball vs. cross), defensive pressure, whether it's a big chance or one-on-one, and the number of defenders between the shooter and goal. Professional models also consider game state (winning/losing/drawing), home/away, and specific pitch location coordinates.
A big chance (or clear-cut chance) is a goal-scoring opportunity where a reasonable player would be expected to score — typically defined as one-on-one situations with the goalkeeper, open goals from close range, or shots from inside the six-yard box with no defensive pressure. These chances carry high xG values, usually above 0.35. Missing a big chance is considered a significant underperformance, while converting one is expected rather than exceptional.
Over small samples, yes — individual finishing quality can cause players to score more or fewer goals than their xG predicts. However, over large samples (200+ shots), most players' actual goals converge toward their xG totals. The few players who consistently outperform xG over multiple seasons (like Lionel Messi) are considered to possess genuinely superior finishing skill. Teams that consistently outperform xG often regress toward the mean in subsequent seasons, a phenomenon known as xG regression.
xG per shot measures the average quality of chances a player or team takes. A high xG/shot indicates the player is shooting from high-probability positions (close range, central locations), while a low xG/shot suggests many shots from difficult positions. Total xG is the sum of all individual shot xG values — it measures the overall volume and quality of chances combined. Both metrics are useful: xG/shot evaluates shot selection quality, while total xG measures overall offensive output.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!