For Engineers · Expected Goals (xG)
Expected Goals (xG) for a race-car lap
Built for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed. Simulate a race-car lap live below — adjust the inputs and watch it respond, right in your browser.
Expected Goals (xG)Live
the quality of a chance
Controls
Expected goals rates every shot by the probability an average player would score from that spot, learned from thousands of historical shots. The two biggest drivers are distance and angle to goal — a tap-in near the six-yard box is worth 0.8 xG, a long-range effort barely 0.03. Summing xG over a match reveals who truly deserved to win, beyond the scoreline. Click to place a shot.
Data Inspector
Expected goals0.22
Distance30 m
Angle to goal24°
Ratingdecent
Governing equation
Reading this result: Long range dominates here: distance shrinks xG faster than anything else, so this is a low-probability effort.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Also for:StudentsResearchersEducatorsHobbyists & MakersK-12 StudentsFirst RespondersGeneral version →
More with Expected Goals (xG)
Expected Goals (xG) for a basketball free throwExpected Goals (xG) for a soccer penaltyExpected Goals (xG) for a baseball pitchExpected Goals (xG) for a golf puttExpected Goals (xG) for a tennis serveExpected Goals (xG) for a football field goalExpected Goals (xG) for a sprint raceExpected Goals (xG) for a marathon pace
Frequently asked questions
- Is this good for engineers?
- Yes — this version of "Expected Goals (xG) for a race-car lap" is framed for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.