Soccer xG Helper (Expected Goals)

Estimate the xG value of a shot based on distance, angle, and shot type using a simplified logistic-regression model.

Shot Parameters

1 m 40 m
45°
0° (byline) 90° (straight on)
Expected Goals (xG)
Enter values above
0.00 (no chance) 0.50 1.00 (certain goal)
Factor Breakdown
Calculate a shot to see factor contributions.
Shot Location (top view)
GOAL

Summary

Estimate the xG value of a shot based on distance, angle, and shot type using a simplified logistic-regression model.

How it works

  1. Enter the shot distance from the center of the goal line in meters (or yards — toggle the unit).
  2. Set the shot angle: 90° is a straight-on shot from directly in front; 0° is from the byline.
  3. Choose the shot type: open play foot shot, header, or direct free kick.
  4. The model applies logistic regression coefficients to output an xG probability from 0 to 1.
  5. Read the xG value, its descriptive label, and the breakdown of each factor's contribution.

Use cases

  • Evaluate whether a player should have scored given the quality of the chance.
  • Compare xG across multiple shots to assess finishing efficiency over a season.
  • Teach football analytics concepts with a hands-on, interactive model.
  • Quickly estimate shot quality during match analysis without proprietary data.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu