Every calculator here runs 100% in your browser — nothing is sent to a server or stored in a database.
§01What is
Understanding the Soccer xG Calculator
The Soccer xG Calculator computes Expected goals from 2 inputs: shots, avg xg per shot. Expected goals from shot quality.
Games and puzzles mix math with pattern-spotting. Whether it’s a lottery combination, a dice probability, or a game-theory decision, the numbers behind the fun are worth running properly.
The Soccer xG Calculator sits in that toolkit — it expected goals from shot quality. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.
§02The Formula
How it’s calculated
e.shots × e.avg_xg
Where
shots
Shots
avg_xg
Avg xG per shot
§03Practical Example
Step-by-step walkthrough
Scenario
Apply the formula to a realistic set of inputs: Shots = 10, Avg xG per shot = 0.1.
01Start by noting the input — Shots: 10.
02Start by noting the input — Avg xG per shot: 0.1.
03Substitute these values into the formula: e.shots × e.avg_xg
04Compute Expected goals: the calculator returns 1.
05Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04Variants
Common Soccer xG Problems
The formula gets rearranged depending on which variable you need. Here are the patterns you’ll run into in the real world — find the one that matches your problem and follow the worked steps.
01 · PATTERN
Shots halved
shots = 5 (from 10)
Keep every other input at its default and halve the shots. See how expected goals responds.
01New Shots: 5
02Baseline Expected goals: 1
03New Expected goals: 0.5
04Expected goals decreases by 50% → use this sensitivity to plan for real-world variation.
02 · PATTERN
Shots doubled
shots = 20 (from 10)
Keep every other input at its default and double the shots. See how expected goals responds.
01New Shots: 20
02Baseline Expected goals: 1
03New Expected goals: 2
04Expected goals increases by 100% → use this sensitivity to plan for real-world variation.
03 · PATTERN
Avg xG per shot halved
avg_xg = 0.05 (from 0.1)
Keep every other input at its default and halve the avg xg per shot. See how expected goals responds.
01New Avg xG per shot: 0.05
02Baseline Expected goals: 1
03New Expected goals: 0.5
04Expected goals decreases by 50% → use this sensitivity to plan for real-world variation.
04 · PATTERN
Avg xG per shot doubled
avg_xg = 0.2 (from 0.1)
Keep every other input at its default and double the avg xg per shot. See how expected goals responds.
01New Avg xG per shot: 0.2
02Baseline Expected goals: 1
03New Expected goals: 2
04Expected goals increases by 100% → use this sensitivity to plan for real-world variation.
§05FAQ
Frequently asked questions
Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback
How useful was this calculator?
Your ratings stay in your browser — they help us learn which tools people actually rely on.