Expected Goals X G Calculator
Track your expected goals with our free sports calculator. Get personalized stats, rankings, and performance comparisons.
Reviewed for accuracy by Sher, Sports Science & Nutrition Specialist
Formula
xG = Sum(P(goal|shot_type, location))
Each shot type has a base probability: inside box 0.12, outside 0.04, big chance 0.38, header 0.06, free kick 0.05, penalty 0.76. Sum all for total xG.
Worked Examples
Example 1: Dominant Home Performance
Problem:Home team: 8 shots inside box (3 big chances), 4 outside, 2 headers, 1 FK, 1 penalty. Scored 3.
Solution:Inside box xG: (8-3)x0.12 = 0.60 Outside: 4x0.04 = 0.16 Big chances: 3x0.38 = 1.14 Headers: 2x0.06 = 0.12 FK: 1x0.05 = 0.05 Penalty: 1x0.76 = 0.76 Total xG: 2.83
Result:xG: 2.83 | Goals: 3 | Over-performing: +0.17
Example 2: Low-Quality Shot Volume
Problem:Away team: 3 inside box (0 big chances), 8 outside, 1 header, 2 FK, 0 penalties. Scored 1.
Solution:Inside: 3x0.12 = 0.36 Outside: 8x0.04 = 0.32 Headers: 1x0.06 = 0.06 FK: 2x0.05 = 0.10 Total xG: 0.84 14 total shots, low quality
Result:xG: 0.84 | Goals: 1 | Over-performing: +0.16
Frequently Asked Questions
What are Expected Goals (xG) in soccer?
Expected Goals (xG) is a statistical metric that quantifies the quality of a scoring chance by measuring the probability that a shot will result in a goal. Each shot is assigned a value between 0 and 1 based on factors such as shot location, angle to goal, body part used, assist type, and game situation. A penalty kick has an xG of approximately 0.76, meaning it is scored 76 percent of the time on average. A shot from the edge of the box might have an xG of 0.05 to 0.10. Summing xG values for all shots gives a team or player's total expected goals, providing an objective measure of chance creation quality independent of finishing ability.
What is a good xG total for a team in a match?
The average xG for a team in a professional soccer match is approximately 1.2 to 1.5 goals. A team generating 2.0 or more xG is considered to have created a very strong attacking performance. Below 0.8 xG suggests poor chance creation. In the top European leagues, the strongest attacking teams average 2.0 to 2.5 xG per game across a season, while weaker teams may average only 0.8 to 1.0. Context matters: a team averaging 1.5 xG against strong opposition is performing better than one averaging 2.0 xG against weaker teams. Over a full season, the cumulative xG totals are highly predictive of final league standings.
What does it mean to over-perform or under-perform xG?
When a team or player scores more goals than their total xG, they are over-performing expected goals, and when they score fewer, they are under-performing. Small differences are normal due to random variation, but large sustained differences are meaningful. Over-performance can indicate elite finishing ability, a tendency to take shots in psychological pressure situations that boost quality beyond what models capture, or simply luck. Under-performance may indicate poor finishing, bad luck, or shots being blocked before reaching the goalkeeper. Research shows that over or under-performance tends to regress toward the mean over time, making xG a useful tool for predicting future scoring rates.
How do big chances affect xG calculations?
Big chances, defined as clear goal-scoring opportunities where a player would reasonably be expected to score, carry the highest xG values in open play, typically 0.30 to 0.60 per chance. These include one-on-one situations with the goalkeeper, open-goal opportunities, and close-range shots with no defensive pressure. Big chances are crucial because they disproportionately drive xG totals. A team creating 3 big chances (total xG around 1.2) is generating more quality than a team taking 15 long-range shots (total xG around 0.75). Coaches increasingly focus on big chance creation and conversion rates as key performance indicators for attacking effectiveness.
How do headers and free kicks compare in xG value?
Headers generally have lower xG values than foot shots from equivalent positions, typically 30 to 40 percent lower. This is because heading accuracy and power are harder to control, and goalkeepers can better read headed shots. An average header from inside the six-yard box might have an xG of 0.25 compared to 0.45 for a foot shot from the same location. Direct free kicks have an average xG of approximately 0.05 to 0.06, meaning roughly 1 in 17 to 20 results in a goal. However, indirect free kicks that lead to headers or tap-ins create secondary chances with higher xG values. Elite free kick specialists like Messi can have individual free kick conversion rates of 8 to 10 percent, above the average.
Can xG be used for individual player evaluation?
Yes, xG is an extremely valuable tool for individual player evaluation. For strikers, comparing goals scored to xG reveals finishing quality. A striker who consistently scores more than their xG is a genuinely clinical finisher, while one scoring less may be inefficient or unlucky. For creative players, expected assists (xA) measures the quality of chances they create for teammates. For defenders and goalkeepers, xG against measures the quality of chances conceded. A defender whose team concedes fewer goals than xG against is contributing positively to the defensive effort. These metrics help scouts and analysts identify player qualities that traditional statistics like goals or assists cannot capture.
What are the limitations of expected goals models?
Despite their utility, xG models have several limitations. They cannot fully capture the dynamic nature of soccer situations such as defensive positioning, goalkeeper readiness, or the psychological pressure on the shooter. Most models use pre-shot variables and do not account for post-shot factors like shot placement accuracy and power. The quality of available data limits model accuracy, particularly outside top European leagues. XG models also struggle with rare events like long-range goals and unconventional shot situations. Additionally, xG is a probabilistic measure, meaning individual match xG totals have significant variance. It is most useful when analyzed over many matches rather than drawing strong conclusions from single games.
How has xG changed tactical analysis in modern soccer?
XG has revolutionized tactical analysis by shifting focus from shot quantity to shot quality. Coaches can now objectively evaluate whether their attacking system creates high-value chances or merely generates low-quality shots that inflate possession and shot statistics without creating genuine goal-scoring threat. Defensively, xG against helps evaluate whether a team concedes high-quality chances or effectively forces opponents into low-probability shots. Recruitment departments use xG overperformance and underperformance data to identify players who may be undervalued by traditional scouting. The metric has also changed broadcast analysis, with xG now regularly featured on television match coverage.
What is the difference between xG and post-shot xG?
Standard xG (pre-shot) measures the probability of a goal based on the shot location and situation before the ball is struck. Post-shot xG (PSxG) incorporates additional information about where the shot was actually placed within the goal frame, its speed, and trajectory. PSxG is always calculated only for shots on target. For example, a shot from 20 meters might have a pre-shot xG of 0.04 but a PSxG of 0.30 if it was perfectly placed in the top corner. The difference between goals conceded and PSxG on target is a better measure of goalkeeper performance than the difference between goals and pre-shot xG, because it isolates the quality of the save rather than the defensive positioning.
References
Reviewed for accuracy by Sher, Sports Science & Nutrition Specialist ยท Editorial policy
Related Calculators
๐งฎX Fip (expected Fip)
Calculate x fip (expected fip) with inputs, formulas, and instant results.
๐งฎExpected Assists (x A)
Calculate expected assists (x a) with inputs, formulas, and instant results.
๐งฎExpected Goals (hockey) (for Contrast)
Calculate expected goals (hockey) (for contrast) with inputs, formulas, and instant results.
๐งฎX G Differential
Calculate x g differential with inputs, formulas, and instant results.
๐งฎExpected Goals (hockey)
Calculate expected goals (hockey) with inputs, formulas, and instant results.
๐งฎSoccer Expected Goals Calculator
Estimate expected goals (xG) from shot location, angle, and assist type.
๐งฎGaa (goals Against Average)
Calculate gaa (goals against average) with inputs, formulas, and instant results.
๐งฎSparring Load Calculator (rpe X Time)
Calculate sparring load (rpe x time) with inputs, formulas, and instant results.