Read this before you trust the number
Think of this as a classroom model. Position on the pitch is its only input, and the coefficients come from a published fit in the Soccermatics course material that anyone can reproduce. Every step can be redone on a pocket calculator.
Don’t mistake it for Opta, StatsBomb or any other vendor’s model; the answers will differ. It knows nothing about defenders, the goalkeeper, how high the ball was or which foot struck it. Learn from it, compare shooting spots with it, but don’t use it to settle a pub debate about one particular chance.
Two measurements
Two distances fix any shot position. x runs straight out from the goal line to the ball, and c is the sideways offset from the middle of the goal.
The calculator turns them into the model’s two inputs. Distance is the straight line to the middle of the goal, √(x² + c²). The goal angle is the gap between the sight lines to the two posts, meaning how much goal the shooter can see:
Goals are 7.32 m wide, so each post is 3.66 m either side of centre. A negative result (ball level with the line, between the posts) needs π added, since the angle there is over 90°.
The model itself
A logistic regression takes a weighted sum of the inputs and squashes it into a probability from 0 to 1.
Angles go in as radians; d, x and c are metres. The coefficients are the four-decimal values printed in the source, used as they are. The fit used 8,451 shots from the Premier League’s 2017/18 season, drawn from the public Wyscout event set after taking out penalties and direct free kicks.
The same source offers two single-variable fits, displayed next to the main result:
If all three agree, trust the verdict. If they split, which mostly happens for wide positions, distance and angle are telling you different things about that spot.
Walking through a shot
The default shot is taken 11 m out and 6 m wide of centre: the penalty-spot line, shifted to the side.
Distance comes out as √(11² + 6²) = √157 = 12.53 m. For the angle, arctan(7.32 × 11 ÷ (121 + 36 − 13.40)) = arctan(0.5607) = 0.5110 rad, which is 29.3°. Plugging everything in gives z = 0.5103 + 0.3239 − 3.5059 + 1.3673 − 0.1800 + 0.1694 + 0.1476 − 0.7032 = −1.8706, and xG = 1 ÷ (1 + e^1.8706) = 0.13.
In plain terms, about 13 of every 100 shots from there go in, one goal per 7.5 attempts. On angle alone you’d get 0.11, on distance alone 0.15. Take five shots like that: 0.67 xG in total, and a 51% chance that at least one of them scores.
What common spots are worth
| Position | From goal line | From centre | Goal angle | xG |
|---|---|---|---|---|
| Centre of the six-yard line | 5.5 m | 0 m | 67.3° | 0.41 |
| Penalty spot, open play | 11 m | 0 m | 36.8° | 0.18 |
| Corner of the six-yard box | 5.5 m | 9.16 m | 21.8° | 0.15 |
| Edge of the box, central | 16.5 m | 0 m | 25.0° | 0.09 |
| Corner of the penalty area | 16.5 m | 20.16 m | 10.3° | 0.03 |
| 25 m out, central | 25 m | 0 m | 16.7° | 0.04 |
| 30 m out, central | 30 m | 0 m | 13.9° | 0.03 |
Two things jump out. First, a shot from the penalty spot is worth double one from the edge of the box. Second, a penalty, converted about 73% of the time in shoot-outs, equals four open-play efforts from that same mark.
Adding shots up
Values simply add. Ten shots at 0.10 equal 1.0 expected goals, the same as two at 0.50, yet they aren’t equivalent in every way. Chances of at least one goal are 65% from the ten small shots and 75% from the two big ones. For any number of identical shots, the calculator shows both figures.
Want win, draw and loss odds instead? Feed both teams’ totals to the match win probability calculator.
Where it breaks down
- Location is all it sees. An open header from six metres and a pressured volley from the same place share one value, and an average conceals a lot of spread.
- A single league and season. With 8,451 shots, the curve is steady inside the box and flimsy beyond 30 m. The calculator cuts off at 40 m, where the fitted curve has barely any shots behind it.
- Heads and feet are mixed. The data blends both. A header typically scores less often than a foot shot from the same place, so one average stands in for two different chances.
- Rounded coefficients. The source prints four decimals; any rounding shows up in the third decimal of the result.
On the shot map, the penalty area, goal area and arc follow the Law 1 dimensions. Scale is true, so what you measure on the diagram matches a real pitch.