Skip to main content

Expected Goals X G Calculator

Track your expected goals with our free sports calculator. Get personalized stats, rankings, and performance comparisons.

Share this calculator

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\nOutside: 4x0.04 = 0.16\nBig chances: 3x0.38 = 1.14\nHeaders: 2x0.06 = 0.12\nFK: 1x0.05 = 0.05\nPenalty: 1x0.76 = 0.76\nTotal 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\nOutside: 8x0.04 = 0.32\nHeaders: 1x0.06 = 0.06\nFK: 2x0.05 = 0.10\nTotal xG: 0.84\n14 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 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.

Is my data stored or sent to a server?

No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.

Can I share or bookmark my calculation?

You can bookmark the calculator page in your browser. Many calculators also display a shareable result summary you can copy. The page URL stays the same so returning to it will bring you back to the same tool.

How do I interpret the result?

Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.

What formula does Expected Goals X G Calculator use?

The formula used is described in the Formula section on this page. It is based on widely accepted standards in the relevant field. If you need a specific reference or citation, the References section provides links to authoritative sources.

References