All scores →
Loading…
Loading…
Loading…

Expected Goals: How Models Judge Shot Quality

By 4IceHockey Staff · · 7 min read

How expected goals models give every shot a probability of scoring, what goes into them, how to read xG totals and why even good models cannot predict a single puck.

Picture the video room on the road, a windowless box behind the visitors' dressing room. A projector, a laptop on a folding table, a screen pulled down over cinder block, and a bag of oranges that somebody always leaves behind. Say it is the night before a game, and an invented assistant coach, remote in hand, is working through clips of the other team's last three games.

He freezes a frame. A winger is wide open at the left faceoff dot, stick cocked, the goalie still sliding across. "That's a goal," the coach says to nobody in particular. He clicks forward. The shot goes in. Then he rewinds to a different clip, a defenseman winding up from the blue line through two bodies, and he lets the video roll. The puck bounces off a shin pad and dribbles out of play. "And that's nothing."

Anyone who has watched hockey knows the difference without being told. A shot from the slot is not the same as a shot from the point. What the sport did not have, for most of its history, was a way to put numbers on that difference. Expected goals is the attempt to do it. It takes the instinct in that video room and turns it into a probability.

The idea in one sentence

An expected goals model, usually written xG, assigns every shot a number between zero and one: the chance, based on past shots like it, that the shot becomes a goal. A shot with an xG of 0.10 is one that, historically, has gone in about one time in ten. Add up the numbers for every shot a team takes in a game and you get that team's expected goals.

Notice what this does. It measures the chances, not the results. A team can lose a game it dominated, and xG will say so: it will show that they created more and better chances than the other side. Over a long stretch, the totals tend to line up with what actually happens, which is why teams and fans have taken to it.

What goes into a model

No model is magic. It is a statistical recipe that learns from a large number of historical shots, and what it can learn depends on what was recorded about each one. Typical inputs include:

  • Distance from the net, since closer shots go in more often.
  • Angle, because a shot from the side boards has less net to see than one from the middle.
  • Shot type: wrist shot, slap shot, snap shot, backhand, tip or deflection.
  • Rebound: whether the shot followed another shot very quickly, when the goalie has not set.
  • Rush: whether the shot came off a fast transition instead of a settled offensive-zone possession.
  • What happened just before: a pass, a turnover, a faceoff win.
  • Game state: five-on-five, power play, penalty kill. Empty-net shots are often handled separately.

Models built on richer tracking data can add more, such as the movement of the puck before the shot, a pass across the middle of the ice, the goalie's position or whether a screen was in the way. Our piece on tracking data explains how that kind of information gets captured.

The model is then tested to see whether its probabilities match reality. If it says a certain type of shot should score 8 percent of the time, and in the test data such shots score 8 percent of the time, it is well calibrated. Different public and private models make different choices, which is why xG totals from two sources rarely match exactly.

An invented game

To see how it reads, here is a made-up example. The numbers below are illustrations, not from any real model.

Shot Description Invented xG
1 Wrist shot from the slot, no traffic 0.12
2 Point shot through a screen 0.04
3 Rebound tap-in from the crease 0.35
4 Wide-angle snap shot from the boards 0.02
5 Backhand off the rush, in close 0.18

A team that takes those five shots has an expected total of 0.71 goals. If it scored one goal, it did slightly better than expectation. If it scored none, it did slightly worse. Neither outcome tells you much from one night, because goals are rare and shots are noisy.

Over a game, a team might finish at 2.4 expected goals to its opponent's 1.7 and lose 3-1. The model's message is not "the score was wrong." It is "the team that lost created more than the team that won, so the result was probably more luck than ability, and if you replayed this game many times, the result would change." That's the useful part.

Back to the video room

Imagine the assistant coach, after the clips, writing numbers on a whiteboard. He does not have an xG model on his laptop. He has a feeling. But the club's analysts have run the same game through one, and a printout tells him what his eyes told him: the other team gets its goals off rebounds and the cross-ice pass, and almost never from the point.

The coach uses it to make a choice. His defensemen will stay low, deny the middle, and let the opponent shoot from the outside if it wants to. It is not a revolution. It is the same game plan he has always liked, backed by a number he can show the players.

That is what xG usually does in a real team. It does not replace the coach. It gives him evidence for something he suspects, or a reason to doubt it.

What xG tells you, and what it does not

Here is the plain-talk list.

  • It describes chances, not talent. Most public models treat every shooter the same. A player who finishes better than the model expects might be skilled or lucky, and a single season cannot tell you which.
  • It does not include the goalie in the chance. Usually the model prices the shot, not the person stopping it. Compare goals with expected goals and you are partly measuring the goalie. Our piece on goals saved above expected takes that up.
  • It depends on the data. If shot location is recorded by hand in the arena, small errors creep in. Models are only as good as their inputs.
  • It cannot predict one shot. An xG of 0.30 means "a bit less than one time in three," not "it will probably go in."
  • Different models disagree. That is not a scandal. It is a sign the models are making different judgment calls.
  • It still needs a sample. The numbers are steadier than goals, but ten games is not forty.

If you remember one thing, make it this: xG is a better description of what a team did than the score, and a worse description of what happened on any given shot.

How it relates to what came before

If Corsi counts shot attempts, xG weighs them. The two are close cousins. Our explainer on Corsi and Fenwick covers the counting version, and a team that out-attempts and out-chances an opponent is almost certainly better. But when the two disagree, xG is usually the better guide to what is happening. A team with a poor Corsi and a strong xG likely takes fewer shots but takes the good ones.

It also changes how analysts talk about geography. The idea that the middle of the ice is worth more than the sides is old coaching wisdom, and xG puts it in numbers. See high-danger chances and the geography of scoring, and for a visual version, shot maps and heat maps. Coaches have debated the old question of shot quality versus shot quantity for decades, and xG is the best tool yet for putting evidence on it.

How to use xG as a fan

  1. Look at xG share, not just totals. Expected goals for divided by the sum of for and against tells you who controlled the chances.
  2. Compare it with actual goals. A big gap in either direction invites the question of whether the cause is goaltending, finishing or luck.
  3. Wait for the sample. A few games is a story; a season is a measurement.
  4. Know your source. Check how the model was built and what it includes.
  5. Pair it with the game. If a team's xG looks great, watch whether the shots really look dangerous.

One more habit is worth building: when you see a team's xG numbers, ask what kind of team it is. A club that lives on the rush will pile up chances in bursts and may look streaky. A grinding cycle team will generate steadier, lower-value chances. The total can be the same while the style behind it is very different, and style is what a coach actually tunes.

The short version

  • Expected goals gives each shot a probability of scoring based on past shots like it.
  • Inputs include distance, angle, shot type, rebounds, rush chances and game state; tracking data allows more.
  • Summing the numbers measures chances created, which is steadier than goals.
  • It generally ignores shooter skill and the goalie, depends on its data and varies by model.
  • Use it to ask better questions, not to settle them.

The assistant coach clicks off the projector and pulls the screen back up. The oranges are still on the table. Tomorrow night, a puck will find a skate and dribble somewhere nobody expected, and the model will have no opinion about that at all.

Search more on this

Keep reading

Game Score and Single-Game Ratings

How single-game ratings like Game Score fold goals, assists, shots, penalties and on-ice results into one number, what that number is good for, and why one night's score proves little.

4IceHockey Staff · Nov 3, 2026 · 7 min read

4IceHockey is an independent site and is not affiliated with, endorsed by or sponsored by the National Hockey League, the NHLPA, the PWHL, the NCAA, the IIHF, Hockey Canada, USA Hockey, or any team, league, conference or school. Team names, logos and marks are the property of their respective owners and are used here for identification only.