Expected goals (xG) puts a number on every unblocked shot: the chance it goes in. A shot worth 0.20 xG scores about one time in five. Add up a team's shots and you get how many goals its chances were worth.
Our model is our own, built from the NHL's free play-by-play. It looks at each shot's distance and angle to the net, the shot type (wrist, slap, tip, backhand and so on), whether it was a rebound (within 3 seconds of the same team's saved shot) or off the rush, a quick shot off an offensive-zone faceoff win, power play or short-handed, and home ice. Shots on an empty net, penalty shots and shootouts are left out. It was fit on one season and tested on the next, on games it had never seen.
xG isn't a prediction of the final score. It's a measure of chance quality, and it's most useful over many games. Every site's model is different, so our xG won't match other sites' numbers exactly.