Why Two xG Models Disagree on the Same Match
By SportsDataLinks · Published · 5 min read
Say you check a match on two stats sites, and one shows the home team with 1.8 expected goals while the other shows 2.3. Both are measuring the same shots, so which one is right?
Usually neither is simply wrong. Each data company builds its own xG model, and the models differ in what they look at, what they learned from and even what data they start with. Here is where the gap comes from, based on how two of the best-known providers, Opta and Hudl Statsbomb, describe their own models.
What every xG model does
An expected goals (xG) model gives every shot a probability of becoming a goal, between 0 and 1. In Hudl Statsbomb's words, it uses “historical information from thousands of shots with similar characteristics to estimate the likelihood of a goal”. Add up the values of all a team's shots and you get its xG for the match.
That recipe is the same everywhere. The ingredients are not.
1. They look at different things
Hudl Statsbomb puts it plainly: “Not all xG models take into account the same factors.” It describes a standard model as one using distance to goal, angle to goal, the body part used, and the type of assist or previous action, such as a through ball, cross, set piece or dribble.
More detailed models add information about the other players:
- Hudl Statsbomb adds “goalkeeper position and status, the position of all attackers and defenders in frame, and shot impact height”.
- Opta says its model “evaluates how over 20 variables affect the likelihood of a goal being scored”. Among the most important it lists distance and angle, goalkeeper position, how clearly the shooter can see the goal given other players' positions, pressure from defenders, shot type, pattern of play (for example open play, fast break or corner) and the type of assist.
These extra details can change a shot's value a lot. Hudl Statsbomb gives its own example: a standard model might value a chance at 0.30 xG, but knowing that the goalkeeper was out of position, a more detailed model might give the same chance 0.65 xG. That is a gap of 0.35 goals from a single shot, enough on its own to explain most of the difference between 1.8 and 2.3 in a match.
2. They learned from different shots
A model only knows what its training data taught it. In its explainer (last updated in 2023), Opta says its xG model uses a machine-learning technique called XGBoost and was trained on nearly one million shots from 40 competitions between 2018-19 and 2021-22. For women's football it uses a separate version, re-trained on data from nine major women's competitions. Models are retrained from time to time, so these details can change.
Hudl Statsbomb's explainer doesn't give the size of its training data or the method. What matters for you is the principle: two models trained on different shots, from different leagues and seasons, will not put exactly the same number on the same chance, even if they use the same inputs.
3. They start from different match data
Before any model runs, someone has to record each shot: where it was taken from, with which body part, after what kind of pass. Opta's model was trained on Opta's own historical data, and Hudl Statsbomb describes its model as using “more contextual events and better quality data than any other provider”. In other words, each company collects its own records of the match.
So two sites can disagree before the model even starts: if their data comes from different providers, the shot locations and details fed into the models were recorded separately.
4. Penalties are valued differently
Penalties are usually not run through the main model. They get a fixed value based on how often penalties are scored, and providers pick slightly different numbers:
| Model | xG of a penalty | Source |
|---|---|---|
| Most xG models | 0.76 | Hudl Statsbomb |
| Hudl Statsbomb (since its 2022 update) | 0.78 | Hudl Statsbomb |
| Opta | 0.79 | Opta Analyst |
The difference is only a few hundredths per penalty, but it adds up in season totals. If you want to compare chance creation without this effect, use non-penalty xG (npxG), which leaves penalties out entirely.
5. It may not be the same metric
Sometimes two numbers differ because they measure different things. Ordinary xG rates a chance at the moment of the shot. Post-shot xG (PSxG, also called xGOT) rates shots on target after they are struck, using where the ball ends up in the goal. A well-placed shot can be worth more in xGOT than in xG, and a shot that misses the target has no xGOT at all.
Before comparing two figures, check the label: xG, npxG and xGOT are three different numbers.
How to compare xG from different sites
- Stick to one source when you compare players or teams. Numbers from one model are calculated the same way; numbers from two models are not.
- Check who provides the data. If a site credits its data provider, note it. Two sites showing the same provider's xG should be much closer than two using different providers.
- Check the label: xG, npxG or xGOT.
- Look at the shot map. When the totals differ, the gap usually comes from one or two big chances. Find them and you know where the models disagree.
- Trust long runs more than single matches. One match has only a handful of shots, so one shot valued differently moves the total a lot. Over a season, xG tells you much more.
A disagreement between two models is not a sign that xG is useless. It tells you a chance was hard to judge, often because of something a simpler model can't see, like where the goalkeeper was standing.
You can find xG, shot maps and match data on the sites listed on our football stats page, and free event data to build your own model in free sports datasets.
Sources
All accessed on 24 November 2026. Quotations are taken word for word from these pages.
Facts checked against each source's own website on 24 November 2026. Spotted something out of date? Write to contact@sportsdatalinks.com.